Re: Double free invisible due to autorelease pool

Adam Fedor <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
On Feb 2, 2005, at 1:18 PM, Richard Frith-Macdonald wrote:

>
> On 2 Feb 2005, at 19:27, Sébastien Pierre wrote:
>
>> Hi all,
>>
>> I am currently in big trouble trying to find the cause of a "double 
>> free" which occurs when releasing an autorelease pool. Has anybody 
>> any idea to know how to identify where an autoreleased objects was 
>> freed (released, I guess) before being autoreleases ?
>
> [NSObject+enableDoubleReleaseCheck:] might well help you.
>

I think you could also try setting the env var

NSZombieEnabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.