Re: catching EXC_BAD_ACCESS?
Re: catching EXC_BAD_ACCESS?
- Subject: Re: catching EXC_BAD_ACCESS?
- From: Jonas Maebe <email@hidden>
- Date: Mon, 21 Nov 2005 14:44:53 +0100
On 31 okt 2005, at 02:50, Brad Parker wrote:
(I also, believe it or not, want to catch EXC_ARITHMETIC, which
doesn't
seem to get mapped to SIGFPE)
At least on Mac OS X, the init code of libc doesn't turn on (or
possibly explicitly turns off) all FPU exceptions. If you turn them
on, you can catch SIGFPE's as much as you like. Especially when you
have a GUI program and turn on "invalid fpu operation" exceptions,
since there's a bug in CoreGraphics since 10.4.0 that triggers this
exception on some systems when drawing certain font ligatures
(there's a radar on this somewhere, but not by me since it doesn't
happen on my systems).
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