[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 18:45:20 -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 12:15:11 2002
+++ shadow/34263.tmp.32533	Tue Nov 19 13:45:20 2002
@@ -83,6 +83,19 @@
 Or you could make the main thread be the finalizer thread ;-)
 
 The issue about Mono for embedded systems is something that we can
 revisit later, but right now it is more important that we focus on
 desktop/server applications.  There is no compeling reason to go on
 the embeded space right now.
+
+------- Additional Comments From dick@ximian.com  2002-11-19 13:45 -------
+Just comparing pthread IDs wont help because you dont want to exit if
+the Main thread just falls off the end of Main(), but you do if it
+fails to catch an exception.
+
+However, the thread needn't be wasted - it can be doing all sorts of
+housekeeping: eg finalization, or threadpool management.  With those
+two integrated, the total thread count won't have increased.
+
+I'll knock up a proof of concept and send the patch to mono-hackers
+for comments.
+