lua-users home
lua-l archive

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


> 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).