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

From: Mitchell <m.att.foicica.com>
Date: Tue, 16 Feb 2016 20:57:32 -0500 (EST)

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.

Cheers,
Mitchell

-- 
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 Tue 16 Feb 2016 - 20:57:32 EST

This archive was generated by hypermail 2.2.0 : Wed 17 Feb 2016 - 06:33:51 EST