lua-users home
lua-l archive

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


i compiled 5.0.1 with the following assertion checks enabled

    MYCFLAGS= -O2 -g -DLUA_USER_H='<assert.h>' -Dlua_assert=assert

and got an assertion violation when running test/trace-calls.lua

test> ./lua -ltrace-calls.lua bisect.lua
0 >>> trace-calls.lua:31 return sethook [C] 
0 >>> end trace-calls.lua
0 >>> return require [C] 
0 >>> begin bisect.lua
1 >>>  bisect.lua:27 call solve <15:bisect.lua>
lua: lvm.c:671: luaV_execute: Assertion `(ci->state & (1<<0)) || ci->u.l.pc != &pc' failed.

not sure if it's a real bug or just an invalid assertion.

running 5.0 with the same assertion checks enabled works ok.

-taj