Re: [textadept] Textadept 5.0 alpha

From: Nils Nordman <>
Date: Tue, 10 Jan 2012 12:49:04 +0100


I got this as well with the regular build (it works fine with LuaJIT). I
had a quick look, and the problem seems to be in lL_init:

lL_cleartable(L, LUA_RIDX_GLOBALS);

I haven't worked with the Lua C API, but it would seem that the error is
that the code tries to clear the global environment from the stack using
LUA_RIDX_GLOBALS. The global environment has moved to the registry as of
5.2 (, so the global
environment thus needs to be cleared there (using LUA_RIDX_GLOBALS as the
index). That would also explain why it works with LuaJIT.



On Mon, Jan 9, 2012 at 10:52 PM, Brian Schott <>wrote:

> There seems to be a bug in the reset() function. I've been able to
> reproduce a crash on Windows (using the binary download) and Linux
> (64-bit binary as well as 64-bit compiled from hg). This happens with
> my custom scripts loaded as well as with a clean .textadept folder.
> --
> You received this message because you are subscribed to the Google Groups
> "textadept" group.
> To post to this group, send email to
> To unsubscribe from this group, send email to
> For more options, visit this group at
Received on Tue 10 Jan 2012 - 06:49:04 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:27:48 EST