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

From: Mitchell <>
Date: Thu, 18 Feb 2016 09:56:34 -0500 (EST)


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.



You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
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