lua-users home
lua-l archive

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


This is quite amazing work.

Hope this is useful feedback: I've had consistent crashes with a rather large codebase, every time in lua_iscfunction() (sometimes but not always with negative indices). Hard to give specific code examples; this is spread throughout 1000's of LOC, about 40 or so instances of lua_iscfunction() regularly triggering the crash. In every case, replacing lua_iscfunction(L, idx) with lua_type(L, idx) == LUA_TFUNCTION fixes the crashes.

OSX 10.5.8 (LuaJIT and host application built against 10.4 sdk; LuaJIT built as static library and embedded, with the three recent patches applied)
2.66 GHz Intel Core 2 Duo