[Mono-bugs] [Bug 325507] Unhandled exception changes make xsp2 quit
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Sep 18 07:46:29 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=325507#c1
--- Comment #1 from Daniel Nauck <dna at informatik.uni-kiel.de> 2007-09-18 05:46:29 MST ---
I applied Massi's patch to print out the exception:
Index: mono/metadata/object.c
===================================================================
--- mono/metadata/object.c (Revision 85796)
+++ mono/metadata/object.c (Arbeitskopie)
@@ -2754,6 +2754,14 @@
}
}
}
+ if (mono_thread_current () == mono_thread_get_main ()) {
+ printf ("mono_thread_current () == mono_thread_get_main ():
true\n");
+ } else {
+ printf ("mono_thread_current () == mono_thread_get_main ():
false\n");
+ }
+
+ printf ("Examining unhandled exception\n");
+ mono_print_unhandled_exception (exc);
}
/*
The Result is:
Hit Return to stop the server.
mono_thread_current () == mono_thread_get_main (): false
Examining unhandled exception
Unhandled Exception: System.Threading.ThreadAbortException: Thread was being
aborted
at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_thread_interruption_checkpoint ()
at (wrapper managed-to-native) System.Threading.WaitHandle:WaitOne_internal
(intptr,int,bool)
at System.Threading.WaitHandle.WaitOne (Int32 millisecondsTimeout, Boolean
exitContext) [0x00020] in
/home/dna/mono-svn/mcs/class/corlib/System.Threading/WaitHandle.cs:314
at System.Threading.Timer+Runner.Start () [0x0008b] in
/home/dna/mono-svn/mcs/class/corlib/System.Threading/Timer.cs:140
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list