[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Anyone?

From: Wolfgang Lux
Subject: Re: Emacs Anyone?
Date: Tue, 7 Mar 2017 15:39:16 +0100

> Am 07.03.2017 um 15:31 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> Hi Ivan,
> Ivan Vučica wrote:
>> Assuming this is an ObjC module, and assuming the warning did NOT come from 
>> GSInitializeProcess():
>> Below GSInitializeProcess() add [NSAutoreleasePool alloc].
>> If this is not an ObjC module, make it one or add a new .m file, and call 
>> the method from there. :)
>> The contraption will be leaky unless you occasionally drain it, but this is 
>> still a good first step.
> I think this is somehow dirty? If the same code on systems where no fake main 
> is required works and there are no issues with ARPs, my guess is that 
> GSInitializeProcess() is not enough for me, that something else is needed.
> Also, it doesn't work :) I inserted the AutoreleasePool alloc right after 
> process initialize.

Instead of speculating I would suggest getting definitive information by 
setting a breakpoint at the point where the missing autorelease pool is 
reported (line 368 in NSAutoreleasePool.m in the current svn version) and get a 
backtrace from gdb. :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]