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 s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com