Re: catching EXC_BAD_ACCESS?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 31 okt 2005, at 02:50, Brad Parker wrote: Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... (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). This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe