lua-users home
lua-l archive

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


> I narrowed it down to something going wrong with the value of nCcalls in a coroutine's lua_State. I managed to get it to underflow and wrap around, and once it has a value like 0xFFFFFFFF all sorts of interesting things go wrong (spurious warnings about yielding across a C boundary, out of stack errors, etc).

If it is not asking to much, do you think you could repeat your tests
with the current version in github? Commit 3cd9b56ae6 is titled
"Revamp around 'L->nCcalls' count". Maybe this bug has already been
fixed there.

-- Roberto