[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
Fri Jul 1 16:21:57 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 sebastien at ximian.com.

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

--- shadow/71274	2005-07-01 15:48:10.000000000 -0400
+++ shadow/71274.tmp.22200	2005-07-01 16:21:57.000000000 -0400
@@ -476,6 +476,11 @@
 }
 
 When Environment.Exit is called, it first suspends all threads. Then
 it runs the finalizer. However, when the finalizer creates another
 therad, Exit does not know about that. So, when all the finalizers are
 run, it goes on its merry way and destroys the domain.
+
+------- Additional Comments From sebastien at ximian.com  2005-07-01 16:21 -------
+Maybe "some" code should check Environment.HasShutdownStarted before
+taking action. The property doesn't seem to be used anywhere inside
+corlib. m2c


More information about the mono-bugs mailing list