luaL_traceback() calls findfield(), and it's a recursion function. It could consume much lua stack. (More than LUA_MINSTACK) I think adding luaL_checkstack in `findfield()` would be better. -- http://blog.codingnow.com