[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. :-)
Wolfgang
- Re: Emacs Anyone?, (continued)
- Re: Emacs Anyone?, Steven Nunez, 2017/03/01
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/01
- Re: Emacs Anyone?, Fred Kiefer, 2017/03/01
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/03
- Re: Emacs Anyone?, Richard Frith-Macdonald, 2017/03/03
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/03
- Re: Emacs Anyone?, Ivan Vučica, 2017/03/03
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/07
- Re: Emacs Anyone?,
Wolfgang Lux <=
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/07
- Re: Emacs Anyone?, Matt Rice, 2017/03/07
- Re: Emacs Anyone?, Fred Kiefer, 2017/03/07
- Re: Emacs Anyone?, Riccardo Mottola, 2017/03/08
- Re: Emacs Anyone?, Richard Frith-Macdonald, 2017/03/08
- Re: Emacs Anyone?, Wolfgang Lux, 2017/03/13
- Re: Emacs Anyone?, Steven Nunez, 2017/03/25
- Re: Emacs Anyone?, Ivan Vučica, 2017/03/07
Re: Emacs Anyone?, Michele Bert, 2017/03/06