Andy Ross wrote:

If it's not happening across a garbage collection, then I strongly
suspect a compiler bug.  Note that opTop is only modified when a new
reference (with valid reftag) has been pushed on the stack.

This section does look fushy to me (code.c setupFuncall()):
        naRef result = (*fp)(ctx, obj, nargs, frame + 1);
        ctx->opTop -= nargs + 1 + mcall;
        PUSH(result);

Is is certain that reftag is set in this case?

Have you tried turning off optimization in the Nasal code?  No need to
do it for the whole project; just hand-modifying the
simgear/nasal/Makefile should be sufficient.

Yep, to no avail.

Again: I've run fairly rigorous tests on both Sparc and PPC at this
point with no failures, so I think we've pretty much ruled out
endianness.

Did you use gcc on all those platforms?

Erik

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to