https://bugzilla.novell.com/show_bug.cgi?id=435259


           Summary: Mono hangs with threaded Assembly Resolves
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=245459)
 --> (https://bugzilla.novell.com/attachment.cgi?id=245459)
Files to reproduce.

With the attached file...

tar -xvf loader_lock.tar
cd loader_lock
sh build.sh
mono LockWhileLoading/LockWhileLoading.exe

Expected results... (order may vary)
Addin2::Run ()
Addin1::Run ()
Addin3::Run ()
Done

Actual Results...
The process will hang and has to be killed.
The threads are deadlocked waiting on either
mono_domain_lock (domain);
or 
mono_loader_lock

The script and exe also supports specifying the number of 'addins' as an
argument.
sh build.sh 20
mono LockWhileLoading/LockWhileLoading.exe 20


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to