[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaJIT 2 crashes on lua_pcall ?
- From: "YangFan" <missdeer@...>
- Date: Sat, 14 Nov 2009 12:43:14 +0800
Hi,Lua list
I have a C++ program which embeds Lua interpreter and registers several classes, then replace the Lua interpreter dll with LuaJIT2's. I find that LuaJIT could not resolve userdata type index perfectly, if lua code attempts to call not exists methods in userdata, the C++ application just crashes, but the official Lua interpreter would return error message such as "No such operator define", "attempt to call method 'xxx' ( a nil value )" and so on.
Regards
YangFan
missdeer@gmail.com
2009-11-14