Re: Why no crash reporter if I install some signal handler on Leopard
Re: Why no crash reporter if I install some signal handler on Leopard
- Subject: Re: Why no crash reporter if I install some signal handler on Leopard
- From: Jonas Maebe <email@hidden>
- Date: Tue, 27 Nov 2007 17:58:20 +0000
On 27 Nov 2007, at 17:28, Steve Sisak wrote:
On Nov 26, 2007, at 1:23 AM, zhanglin <email@hidden>
wrote:
If I want to install the signal handler and make the crash
reporter dialog to be shown too, what should I do? Pass the
exception in signal hander? How?
Is there a best practice for generating a crash report for a signal
that one partially handles?
Install the signal handler as SA_RESETHAND and let the signal be
triggered again by simply returning from the signal handler after
you've done what you want (should work at least for SIGFPE, SIGSEGV
and SIGBUS as long as you don't start modifying the signal context).
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden