Re: How to suppress crash reporter?
Re: How to suppress crash reporter?
- Subject: Re: How to suppress crash reporter?
- From: "James W. Walker" <email@hidden>
- Date: Sat, 2 Jan 2010 09:01:16 -0800
On Jan 1, 2010, at 5:18 PM, James W. Walker wrote:
> If I run a command line tool that crashes, I don't get the crash report dialog, but a crash report file does get created, and a line appears in the console log saying so. Is there a way to disable all that? I tried the task_set_exception_ports technique described here <http://lists.apple.com/archives/unix-porting/2007/Mar/msg00009.html> but it didn't work. I also tried installing a signal handler for SIGSEGV, the particular kind of crash I tested, and that didn't make any difference either.
Never mind, I figured it out. I needed to set up an alternate stack with sigaltstack, and pass the SA_ONSTACK flag to sigaction. _______________________________________________
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