[Mono-bugs] [Bug 65379][Nor] Changed - race condition in thread exit code

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 8 Sep 2004 05:55:51 -0400 (EDT)


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 gonzalo@ximian.com.

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

--- shadow/65379	2004-09-07 14:28:27.000000000 -0400
+++ shadow/65379.tmp.22649	2004-09-08 05:55:51.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 65379
 Product: Mono: Runtime
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: vargaz@freemail.hu               
@@ -36,6 +36,24 @@
 (IIRC, it was something to do with threads exiting without unwinding
 back to the start function, and Gonzalo wanting the active threads
 hash table to be updated immediately.  I explained at the time that
 the wait_for_tids() function should cope with signalled threads, and
 if it doesn't the bug is there instead...)
 
+
+------- Additional Comments From gonzalo@ximian.com  2004-09-08 05:55 -------
+I get this now:
+
+Thread 1 started
+ 
+Unhandled Exception: System.Exception: Exception of type
+System.Exception was thrown.
+Thread 2 started
+ 
+Unhandled Exception: System.Exception: Exception of type
+System.Exception was thrown.
+
+and the program does not exit.
+
+I removed the push/pop in start_wrapper.
+I'll commit to 1.0 branch next week if we have no other problems with
+this fix.