> OK, I did that, this is what I get:
>   [EMAIL PROTECTED]
>   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

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

Reply via email to