Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: How to catch and log EXC_BAD_ACCESS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to catch and log EXC_BAD_ACCESS?




Le 27 janv. 09 à 06:03, Slava Pestov a écrit :

On Mon, Jan 26, 2009 at 10:43 PM, Michael Ash <email@hidden> wrote:
Actually it's pretty easy to avoid exiting due to EXC_BAD_ACCESS, just
install a signal handler for SIGSEGV.

In my experience, setting a handler for SIGSEGV is problematic because the crash reporter still starts up, so its best to handle the Mach exception directly instead of resorting to Unix signals (which seem to be emulated under Mach, rather than a native feature).


It was changed in 10.5 to not create report if you install an event handler.


http://developer.apple.com/technotes/tn2004/tn2123.html


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to catch and log EXC_BAD_ACCESS? (From: Oleg Krupnov <email@hidden>)
 >Re: How to catch and log EXC_BAD_ACCESS? (From: Scott Ribe <email@hidden>)
 >Re: How to catch and log EXC_BAD_ACCESS? (From: Michael Ash <email@hidden>)
 >Re: How to catch and log EXC_BAD_ACCESS? (From: Slava Pestov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.