[Mono-bugs] [Bug 82840][Nor] Changed - Unhandled exception changes make xsp2 quit
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 15:43:16 EDT 2007
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 massi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82840
--- shadow/82840 2007-09-13 13:14:41.000000000 -0400
+++ shadow/82840.tmp.20538 2007-09-13 15:43:16.000000000 -0400
@@ -26,6 +26,21 @@
<runtime>
<legacyUnhandledExceptionPolicy enabled="1"/>
</runtime>
</configuration>
the problem is gone.
+
+------- Additional Comments From massi at ximian.com 2007-09-13 15:43 -------
+Thinking about it, this seems the intended behavior.
+
+In .NET 1.1, unhandled exceptions kill the thread and are ignored.
+In .NET 2.0 (xsp2), they kill the while process, unless you specify
+you want the legacy behavior.
+So, I'm almost sure there's an unhandled exception somewhere...
+
+Please add an "unhandled exception handler" to the root appdomain,
+and-or to the appdomain involved in the problem (the event is
+"UnhandledException", and the root appdomain would be better (its
+handler is called in any case).
+This will give you a chance to print the exception (inside the
+handler).
More information about the mono-bugs
mailing list