catching EXC_BAD_ACCESS?
catching EXC_BAD_ACCESS?
- Subject: catching EXC_BAD_ACCESS?
- From: Brad Parker <email@hidden>
- Date: Sun, 30 Oct 2005 20:50:18 -0500
- Organization: Heeltoe Consulting
Is the only/best way to catch EXC_BAD_ACCESS to set up an thread which
listens on the exception port?
I (like others) tried using SIGSEGV but it doesn't seem to catch write
exceptions caused by pages marked read-only with mprotect.
(I also, believe it or not, want to catch EXC_ARITHMETIC, which doesn't
seem to get mapped to SIGFPE)
-brad
_______________________________________________
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