So it's still that same line, vm/others.c:346. This time, however, the previous allocation apparently succeeds. It stills fails because the variable i turns out to be negative when it probably should be positive. I'm wondering if this has something to do with 32-bit assumptions somewhere.

Are you on a 64-bit system ? If so, then please have a look at the neko_stack_expand implementation. int_val should be a 64-bit int.

Please add prints of "size" and "i" and try to understand why "i" is negative, which of course it shouldn't be...

Best,
Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to