• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: catching EXC_BAD_ACCESS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: catching EXC_BAD_ACCESS?
      • From: Brad Parker <email@hidden>
  • Prev by Date: Re: How to find out if running on new dual core G5
  • Next by Date: Re: catching EXC_BAD_ACCESS?
  • Previous by thread: Re: How to find out if running on new dual core G5
  • Next by thread: Re: catching EXC_BAD_ACCESS?
  • Index(es):
    • Date
    • Thread