How to track down a double release?
How to track down a double release?
- Subject: How to track down a double release?
- From: Brant Sears <email@hidden>
- Date: Wed, 15 Oct 2003 17:48:11 -0700
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.