[Mono-devel-list] Signal handlers problem on os x
Joe Ante
joe at otee.dk
Sun May 8 11:48:40 EDT 2005
Hi,
I just filed: http://bugzilla.ximian.com/show_bug.cgi?id=74869
I'd like to hear if anyone is going to work on this during the next month or
ever?
Joachim Ante
---
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)
The crashreporter will write the crashlog. In the case of a GUI application
it will also popup the
crashreporter application.
In a GUI application this makes people think the application crashed while
it actually is still
running because mono catched the null exception.
So for gui applications this is a real issue.
One way to solve this is to use mach-o exception handlers instead of
signals:
http://www.omnigroup.com/mailman/archive/macosx-dev/2000-June/002030.html
I asked Timothy J. Wood if this will make the crashreporter not popup. And
he confirmed that it will not pop it up and not write a crashlog.
More information about the Mono-devel-list
mailing list