[Mono-bugs] [Bug 71274][Nor] Changed - finalizer-... tests randomly crash on x86 (Environment.Exit race)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Feb 2005 12:08:25 -0500 (EST)
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 vargaz@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71274
--- shadow/71274 2005-02-24 12:07:54.000000000 -0500
+++ shadow/71274.tmp.7762 2005-02-24 12:08:25.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: mono-bugs@ximian.com
ReportedBy: vargaz@gmail.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: finalizer-... tests randomly crash on x86
+Summary: finalizer-... tests randomly crash on x86 (Environment.Exit race)
These tests crash because they call Environment.Exit from a subthread, and
the other threads are not aborted/suspended before shutting down the runtime.
The MS docs/blogs say they suspend all managed threads. I tried implementing
this, but call SuspendThread does not wait for the threads to really suspend,
so this doesn't work.