[Mono-bugs] [Bug 34263][Maj] Changed - mono hangs after an unhandled exception

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Nov 2002 16:16:17 -0000


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

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

--- shadow/34263	Tue Nov 19 09:37:58 2002
+++ shadow/34263.tmp.20825	Tue Nov 19 11:16:17 2002
@@ -2,13 +2,13 @@
 Product: Mono/Runtime
 Version: unspecified
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: misc
 AssignedTo: dick@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -42,6 +42,14 @@
 #10 0x400f708e in pthread_start_thread_event () from /lib/libpthread.so.0
 
 BTW: mono_gc_cleanup() is never used, I added it to mono_runtime_cleanup
 (), but I still get the hang.
 This makes running the regression tests harder, so it's major priority
 because we need to run the tests before the release.
+
+------- Additional Comments From dick@ximian.com  2002-11-19 11:16 -------
+The problem is caused by calling pthread_exit() in the main thread. 
+If there are any other threads still running, it will block.
+
+I can fix this and 34268 by running Main in its own thread, like I
+suggested ages ago, but you aren't going to like that :)
+