[Neko] Compiling from CVS on AMD64 (was: Compiling from CVS on
AMD64 MacOS X)
Nicolas Cannasse
ncannasse at motion-twin.com
Fri Mar 31 16:23:56 CEST 2006
> OK, I did that, this is what I get:
> ERROR at 476
> Uncaught exception - load.c(351) : Invalid module : nekoc
>
> So it's around here:
> if( !neko_check_stack(m,stmp,itmp,f->nargs,f->nargs) )
> ERROR();
>
> I couldn't figure it out though.
>
> Nuno Cruces
Uhm that's problematic.
The neko_check_stack function is checking that the stack is not changed
in functions, and that the functions does not access outside their
stacks (for security reasons). It's an important part of the bytecode
validation.
Could you add printf's in neko_check_stack at the places where there is
"return 0" ?
Nicolas
More information about the Neko
mailing list