Re: Tracking a EXC_BAD_ACCESS when zombies don't work
Re: Tracking a EXC_BAD_ACCESS when zombies don't work
- Subject: Re: Tracking a EXC_BAD_ACCESS when zombies don't work
- From: "Sean McBride" <email@hidden>
- Date: Tue, 15 Feb 2011 15:55:00 -0500
- Organization: Rogue Research Inc.
On Tue, 15 Feb 2011 12:41:51 -0800, Keith Blount said:
>I'm trying to debug an EXC_BAD_ACCESS crash in my application and am
>tearing my hair out trying to find the cause. I have NSZombieEnabled set
>to YES, but this isn't providing me with any information (using
>NSZombieEnabled is always one of the first things I try with crashes
>like this one, and usually it leads to the culprit after a bit of work).
>I've read that zombies don't always help find EXC_BAD_ACCESS (for
>instance if a variable hasn't been initialised or if it's a CF type,
>although I'm not sure if the latter is still true), so presumably this
>is why it's returning nothing for me.
>
>So, all I have to go on is an EXC_BAD_ACCESS, and a backtrace that seems
>to be different every time and usually contains none of my own methods.
>For instance:
Have you read:
<http://developer.apple.com/library/mac/#technotes/tn2004/tn2124.html>
specifically the CFZombie stuff?
and
<http://sealiesoftware.com/blog/archive/2008/09/22/
objc_explain_So_you_crashed_in_objc_msgSend.html>
Might help...
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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