|
>With LUA_DEBUG defined, the output of luac was: >Assertion failed: --(*(*(((int * *)(D->L)) - 1))) == 0, file ldump.c, line 29 That's a slight oversight. Here's a patch for luac.c: < luaU_dump(L,f,writer,D); --- > lua_lock(L); > luaU_dump(L,f,writer,D); > lua_unlock(L); --lhf