[Mono-bugs] [Bug 79194][Nor] Changed - NullReferenceException crashes embedded Mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 30 02:52:08 EDT 2006


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 janne.rantala at gmail.com.

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

--- shadow/79194	2006-08-29 15:22:13.000000000 -0400
+++ shadow/79194.tmp.11719	2006-08-30 02:52:08.000000000 -0400
@@ -133,6 +133,24 @@
 and the same switches.
 
 Another reason might be some other component of your app
 (or another DLL your load) which installs a new SEH exception
 handler.
 
+
+------- Additional Comments From janne.rantala at gmail.com  2006-08-30 02:52 -------
+How do you actually call the Mono API functions?
+I mean, since you're using LoadLibrary, you probably
+have to first GetProcAdress () the function pointers.
+Are you sure that this error-prone part is okay?
+
+- Yes, GetProcAddress is used to get pointers to Mono functions. That
+error-prone part works ok at least in every other occasion than this.
+It even works when exception is other than NullReferenceException, so
+I assume that it's ok.
+
+Another reason might be some other component of your app
+(or another DLL your load) which installs a new SEH exception
+handler.
+
+- The main thread has it's own thread exception handler, could it be
+causing this? 


More information about the mono-bugs mailing list