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; } -- Shmuel