[Mono-bugs] [Bug 74869][Wis] Changed - [PATCH] Signal handlers problem on os x.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 2 17:56:42 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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=74869
--- shadow/74869 2005-12-01 17:55:04.000000000 -0500
+++ shadow/74869.tmp.1371 2006-09-02 17:56:42.000000000 -0400
@@ -10,13 +10,13 @@
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: joe at otee.dk
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Summary: Signal handlers problem on os x.
+Summary: [PATCH] Signal handlers problem on os x.
When a null exception is thrown in mono on os x, it will invoke the crashreporter.
This is a known bug in os x, where the crashreporter is invoked although there is a null
exception signal handler. I filed a bug on this with Apple but they refuse to fix the issue.
http://developer.apple.com/technotes/tn2004/tn2123.html (CrashReporter Limitations)
@@ -59,6 +59,30 @@
------- Additional Comments From miguel at ximian.com 2005-12-01 17:55 -------
The link that you provided no longer works.
Could you provide a new link?
+
+------- Additional Comments From robertj at gmx.net 2006-09-02 17:56 -------
+The attached patch fixes the "problem" by installing a dummy
+mach exception handler.
+
+The logging in ~/Library/Logs/CrashReporter/ will be disabled
+together with the annoying 1-2 seconds delay.
+
+I didn't test it on x86, just on PPC.
+
+Test case: :-)
+
+class T
+{
+ static void Main ()
+ {
+ try {
+ null.Equals (null);
+ } catch {
+ System.Console.WriteLine ("ok");
+ }
+ }
+}
+
More information about the mono-bugs
mailing list