On Sun, Dec 19, 2010 at 2:39 PM, pk pk <firstname.lastname@example.org
> While trying to implement LuaThread 1.1 (by Diego Nehab) to Lua 5.2 alpha
> under linux 2.6.x, I'm always getting segfault in function
> It arises when im launching lua like this: lua -e "print(123)"
> When I'm commenting parts, that locking/unlocking lua_State mutex,
> segfault disappears! I dont know why, need help!
> here is a patch file that implements only problem part:
> commenting this parts: lua_lock(L), lua_unlock(L)
> segfault appears here: LUAI_TRY(L, &lj, (*f)(L, ud); );