Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why no crash reporter if I install some signal handler on Leopard




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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Why no crash reporter if I install some signal handler on Leopard (From: zhanglin <email@hidden>)
 >Re: Why no crash reporter if I install some signal handler on Leopard (From: Terry Lambert <email@hidden>)
 >Re: Why no crash reporter if I install some signal handler on Leopard (From: Steve Sisak <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.