[Mono-bugs] [Bug 323696] Assembly load deadlock in multithreaded application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 9 12:42:24 EDT 2008


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

User skolima at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=323696#c11





--- Comment #11 from Leszek Ciesielski <skolima at gmail.com>  2008-06-09 10:42:24 MDT ---
System.AppDomain.CurrentDomain.GetAssemblies();

AppDomain.CurrentDomain.UnhandledException
                                += new
UnhandledExceptionEventHandler(UnhandledExceptionHandler);

Those two are the only AppDomain references I found in the code. We do not
create separate domains explicitly (we tried this before and the result was
extremely buggy). Also, SMP is not necessary (nevertheless, my test machine has
2 CPUs - it's the mono official VM), the code hangs on singlethreaded P3 500Mhz
(although probably rarer). I have about 40 assemblies loaded when the deadlock
happens (maybe a bit less). There's always a WindowsForm
loading/initializing/drawing itself when the deadlock happens. I attach a
current (105311) thread dump, it doesn't differ much from the previous one.
What more can I check to help?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list