[Mono-bugs] [Bug 71274][Nor] Changed - finalizer-... tests randomly crash on x86 (Environment.Exit race)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 3 18:37:25 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer at users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=71274

--- shadow/71274	2005-07-03 18:05:29.000000000 -0400
+++ shadow/71274.tmp.18170	2005-07-03 18:37:25.000000000 -0400
@@ -520,6 +520,11 @@
 ------- Additional Comments From vargaz at gmail.com  2005-07-03 18:05 -------
 This has nothing to do with appdomain unloading, since exiting the
 application does not involve unloading the main appdomain. What is
 needed to prevent this problem is setting a shutdown flag somewhere in
 the runtime, and preventing the creation of new threads during shutdown.
 
+
+------- Additional Comments From bmaurer at users.sf.net  2005-07-03 18:37 -------
+We already have such a flag. There is a small race though between
+setting the flag and threads being created. We'd need to employ a lock
+there


More information about the mono-bugs mailing list