• 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: Leak Hunting and Object Alloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leak Hunting and Object Alloc


  • Subject: Re: Leak Hunting and Object Alloc
  • From: j o a r <email@hidden>
  • Date: Thu, 23 Nov 2006 19:26:28 +0100


On 23 nov 2006, at 15.33, Skip Haughay wrote:

I look in ObjectAlloc and find this object. I look at the chain of allocation events:
AllocationEvent
ObjectRetainedEvent
ObjectAutoreleasedEvent
ObjectRetainedEvent
ObjectReleasedEvent
ObjectReleasedEvent


Shouldn't this be released when the current autorelease pool is cleared?

Are you sure that one of the release events recorded above isn't the one triggered by the autorelease event?


If you instruct ObjectAlloc to keep the backtraces to the memory management events it should be really easy to find the problem.

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Leak Hunting and Object Alloc (From: Skip Haughay <email@hidden>)

  • Prev by Date: Re: Leak Hunting and Object Alloc
  • Next by Date: NSProgressIndicator drawing
  • Previous by thread: Re: Leak Hunting and Object Alloc
  • Next by thread: Re: Leak Hunting and Object Alloc
  • Index(es):
    • Date
    • Thread