Re: Segfault with luaL_getmetatable
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Segfault with luaL_getmetatable
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2010年1月18日 22:16:46 -0200
> Lua 5.2.0 (work2), built with MinGW on Windows XP.
>
> The following library invoked by "lua52 -ltest1" causes a segfault.
>
> #include <lua.h>
> #include <lauxlib.h>
>
> int luaopen_test1 (lua_State *L)
> {
> luaL_getmetatable(L, "abcde");
> return 0;
> }
It works for me (Linux 2.6, CentOS 5.3; also Mac OS X 10.5.8).