Re: How to track down a double release?
Re: How to track down a double release?
- Subject: Re: How to track down a double release?
- From: publiclook <email@hidden>
- Date: Wed, 15 Oct 2003 22:52:48 -0400
Look in NSDebug.h and or the archives for this list:
http://cocoa.mamasam.com/
There are both environment variables and global variables that you can
set to enable and disable all manner of release and autorelease
debugging capabilities.
On Wednesday, October 15, 2003, at 08:48 PM, Brant Sears wrote:
I have a situation (totally repeatable) where my app blows up when an
autorelease pool gets cycled. It is a multi-threaded app (I don't know
that
it matters.)
It looks to me like some object is being released when it is already
in the
autorelease pool.
There's got to be an easy way to track this down. It happens when I
put my
app in a very specific state and press a certain button (which invokes
a
hell of a lot of code across multiple threads) and at the cycle of the
autorelease pool in the main thread, we die.
Is there some env variable I should be setting to track releases? Can
I set
something up post launch when I have the app in the right state?
Thanks.
Brant Sears
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.