Re: [code] BUG: crash after heap-use-after-free in lspawn

From: Mitchell <m.att.foicica.com>
Date: Thu, 18 Feb 2016 09:56:34 -0500 (EST)

Hi,

On Tue, 16 Feb 2016, Mitchell wrote:

> Hi Markus,
>
> On Mon, 15 Feb 2016, Markus F.X.J. Oberhumer wrote:
>
>> Mitchell,
>>
>> please have a look at this issue: it looks that ch_read() in
>> lspawn.c conflicts with lua_close().
>
> That's an interesting issue. It looks like if you quit Textadept fast enough
> after spawning a process (e.g. syntax checking after saving a file), you
> might catch GTK in a state where Lua has been closed, but a child process
> exit callback still needs to be called, and that callback makes use of Lua.
>
> I don't know if one can figure out if a Lua state is still "open", but I'll
> have to look into that. Thanks for the report.

Fixed[1]. This will be in the next nightly build.

Cheers,
Mitchell

[1]: http://foicica.com/hg/lspawn/rev/adfce835176e

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 18 Feb 2016 - 09:56:34 EST

This archive was generated by hypermail 2.2.0 : Fri 19 Feb 2016 - 06:29:53 EST