lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Feb 17, 2012 at 08:36, Alexander Gladysh <agladysh@gmail.com> wrote:
> On Fri, Feb 17, 2012 at 07:50, Alexander Gladysh <agladysh@gmail.com> wrote:
>> On Fri, Feb 17, 2012 at 07:15, Alexander Gladysh <agladysh@gmail.com> wrote:

>>> I found that base_open() fails to set _G (i.e. lua_getglobal(L, "_G")
>>> returns nil). See the code and the output below.

Even fuller output:

https://gist.github.com/1850707
https://github.com/lua-alchemy/lua-alchemy/compare/ag/150/weird-bugs...ag/150/debug-output

The crash is due to the fact that getfreepos() receives NULL as an
argument... Not sure if that means anything.

Alexander.