Re: More autorelease pool strangeness
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