• 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: More autorelease pool strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More autorelease pool strangeness


  • Subject: Re: More autorelease pool strangeness
  • From: glenn andreas <email@hidden>
  • Date: Mon, 20 Nov 2006 10:06:37 -0600


On Nov 20, 2006, at 10:01 AM, Skip Haughay wrote:

That's what it sounds like to me as well. As I posted in my original note, the function within the framework that is getting called creates an autorelease pool. For whatever reason, these items that are added to it aren't being decremented when the pool is released. It is very strange. It is almost as if the stack of pools is messed up in some way, and the item is added to the wrong pool or something.

Skip

What does ObjectAlloc tell you about all of this? You can set it to record all the retain/release/autorelease calls with their call chains and then you'll be able to tell exactly where the things are retained/released/autoreleased...


Every time I've had a strange problem like this, a quick (or not so quick) session or two with ObjectAlloc have helped me track them down...




Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build, mutate, evolve, animate




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >More autorelease pool strangeness (From: Skip Haughay <email@hidden>)
 >Re: More autorelease pool strangeness (From: "Alan Smith" <email@hidden>)
 >Re: More autorelease pool strangeness (From: Skip Haughay <email@hidden>)
 >Re: Re: More autorelease pool strangeness (From: "Alan Smith" <email@hidden>)
 >Re: More autorelease pool strangeness (From: Skip Haughay <email@hidden>)

  • Prev by Date: Re: More autorelease pool strangeness
  • Next by Date: Re: Debugging complex autorelease/release/retain issue
  • Previous by thread: Re: More autorelease pool strangeness
  • Next by thread: Re: Re: More autorelease pool strangeness
  • Index(es):
    • Date
    • Thread