On Jun 24, 2011, at 4:38 PM, Laurent Daudelin wrote:

> On Jun 24, 2011, at 15:31, Jens Alfke wrote:
> 
>> 
>> On Jun 24, 2011, at 3:27 PM, Laurent Daudelin wrote:
>> 
>>> So, is there some way I could get more details from that mistake?
>> 
>> Use NSZombieEnabled so you can find out what the over-released object is. 
>> (Look up the name in the Xcode docs or google it, if you’re not familiar 
>> with that feature.)
>> 
>> —Jens
> 
> Hey Jens.
> 
> I forgot to mention that I did enable NSZombieEnabled with a bunch of breaks 
> in .gdbinit:
> 
> set env NSDeallocateZombies=NO
> set env MallocCheckHeapEach=100000
> set env MallocCheckHeapStart=100000
> set env MallocScribble=YES
> set env MallocGuardEdges=YES
> set env MallocCheckHeapAbort=1
> set env CFZombie 5
> fb -[_NSZombie init]
> fb -[_NSZombie retainCount]
> fb -[_NSZombie retain]
> fb -[_NSZombie release]
> fb -[_NSZombie autorelease]
> fb -[_NSZombie methodSignatureForSelector:]
> fb -[_NSZombie respondsToSelector:]
> fb -[_NSZombie forwardInvocation:]
> fb -[_NSZombie class]
> fb -[_NSZombie dealloc]

I don't see any NSZombieEnabled above, just a CFZombie. Try it again with 
NSZombieEnabled, or better yet, if you're using Snow Leopard or later, then use 
Instruments' zombie detection instrument.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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

Reply via email to