[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaJIT 2.0 bug
- From: "Lawrence E. Bakst" <ml@...>
- Date: Mon, 2 Nov 2009 06:01:09 -0400
Is below enough info to find the crash? Here is output run with -jdump=b. What else do you need?
---- TRACE 34 start ktest.lua:465
0019 KSHORT 16 0
0020 TSETV 16 3 14
0021 ITERC 14 3 3 ; next
---- TRACE 34 abort ktest.lua:465 -- NYI: FastFunc next
---- TRACE 34 start ktest.lua:477
[1] 95226 segmentation fault luajit -jdump=b ktest.lua
line 477 reads:
for k,v in pairs(fields) do res[v] = math.sqrt(res[v]) end;
Is line 477 likely to be the cause of the problem? It is in a function called std_dev that is called over and over again. The crash happens on the 64th iteration of a loop, but which time that function has been called 30*64 times.
The code runs fine with -joff
--
leb@iridescent.org