Crashing in thread yield

vernonvernon Join Date: 2008-10-16 Member: 65214Members
Using Lua 5.1.4
Decoda 1.10


The debugger crashes when we try to yield, ie. coroutine.yield()
It works fine outside of decoda, and the threads behave as expected.

The stack is as follows:

sp09.exe!lua_remove(lua_State * L=0x0205e7d4, int idx=3) Line 185 + 0x2e bytes C
LuaInject.dll!1000acb7()
LuaInject.dll!1000706d()
LuaInject.dll!1000e36a()
LuaInject.dll!1000e3b3()

Any help or ideas is appreciated.

--Vernon

Comments

  • LuaPineappleLuaPineapple Join Date: 2008-10-25 Member: 65296Members, Reinforced - Silver
    edited December 2008
    I'm not too sure this is because of Decoda, vanilla Lua has issues with yielding in general and it realllyyy doesn't like many threads using it, so that's a double No-No. If you really need it then I suggest you take a look at the Coco Lua patch, it fixes a bunch of issues with yielding across boundaries and such.
Sign In or Register to comment.