|
|
||
|
Andreas Stenius wrote:
Kein-Hong Man skrev:[snip snip] Without a debugger, peppering lcode.c with printfs should be fine.Said and done :)After a few hours of peppering, I got this log file: http://kaos.explosive.se/files/Lua_5.1_060317.TXTNot inlined, due to it's quite long..I've not looked at it myself yet, am about to do so now, just want to get it out too, so you can have a look too.
Bingo. I've got a candidate:
Line 735, lcode.c:
e1->k = e2->k; e1->u.s.info = e2->u.s.info;
e1->u.s.aux = e2->u.s.aux; e1->t = e2->t;
Borks when int is 2 bytes and lua_Number is 8 bytes.
Looks like a bug.
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia