• 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: Problem with NSOperation exiting and crashing the app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSOperation exiting and crashing the app


  • Subject: Re: Problem with NSOperation exiting and crashing the app
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 24 Jun 2011 19:53:26 -0600

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 (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: 
 >Problem with NSOperation exiting and crashing the app (From: Laurent Daudelin <email@hidden>)
 >Re: Problem with NSOperation exiting and crashing the app (From: Jens Alfke <email@hidden>)
 >Re: Problem with NSOperation exiting and crashing the app (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Finder context menu behavior
  • Next by Date: Re: Animating handwriting
  • Previous by thread: Re: Problem with NSOperation exiting and crashing the app
  • Next by thread: Finder context menu behavior
  • Index(es):
    • Date
    • Thread