Force a crash on SIGABRT
Force a crash on SIGABRT
- Subject: Force a crash on SIGABRT
- From: James Walker <email@hidden>
- Date: Mon, 13 Apr 2009 15:14:02 -0700
When my app receives SIGABRT, I want to force some kind of crash that
will generate a crash report. I tried installing a SIGABRT signal
handler like this:
static void AbortHandler( int /* inSignal */ )
{
long* badAddr = 0;
*badAddr = 7;
}
On Tiger, it partly works: There is a crash log, but the app keeps
running in a hung state. On Leopard, there's just a hang, no crash report.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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