[Mono-bugs] [Bug 82840][Nor] Changed - Unhandled exception changes make xsp2 quit

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 14 05:30:58 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.


--- shadow/82840	2007-09-14 04:14:29.000000000 -0400
+++ shadow/82840.tmp.2606	2007-09-14 05:30:58.000000000 -0400
@@ -64,6 +64,23 @@
 happens every time i'm using:
 Activator.CreateInstance("Npgsql", "Npgsql.NpgsqlConnection").Unwrap()
 (the latest logentry is short before that instruction)
 As far as i can say i dont had this problem on tuesday with r85628.
+------- Additional Comments From massi at ximian.com  2007-09-14 05:30 -------
+Could it be that this statement:
+Activator.CreateInstance("Npgsql", "Npgsql.NpgsqlConnection").Unwrap()
+actually causes the execution of code in a different thread, which in
+turn throws an unhandled exception?
+Try invoking xsp2 under gdb, and give Mono the --breakonex argument.
+See here "http://www.mono-project.com/Debugging" for help on gdb
+usage with Mono.
+Or try --trace, but expect a *huge* log!
+Ideally, you should see where the exception is thrown... if other
+exceptions are thrown before, just "cont"...
+Otherwise, post the smallest app which shows the problem, and let
+me see if that's the issue.

More information about the mono-bugs mailing list