[Mono-bugs] [Bug 332163] Unloading AppDomain times out, then no more AppDomains ever unload

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 9 09:58:47 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=332163#c3


Paolo Molaro <lupus at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Major                                           |Normal




--- Comment #3 from Paolo Molaro <lupus at novell.com>  2007-10-09 07:58:47 MST ---
First you should try your setup with mono from svn: it should be more stable in
regards to appdomain unload.
Thanks for the repro, this updated versions uses Thread.Sleep() to trigger the
timeout instead of waiting for a possible long time for the appdomain to enter
into an unloadable state. The thing to notice with this one is that as we
increase the sleep time from 20 to 30, 40 etc seconds, the number of following
appdomain unloads that fail increases to 2, 3, 4 etc (correlated to the 10
seconds timeout presumably). After that the appdomains start to get unloaded
correctly again. It should also be noted that for the appdomains that timeout
after the first, the finalizer seems to be executed after the last timout.
So, for the case where an appdomain is timouting for some reason and it's not
going to do anything, all the subsequent appdomains will timeout as well.


-- 
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