14.9 lgwam: Stack overflow

Prev Up Next Page 480 of 800 Search internet

Origin: lgwam. Landing-place: terminal.

lgwam uses two stacks: the 'C-stack' which handles recursion in the C-functions that implement lgwam and the 'Logiweb-stack' which handles recursion in lgs programs. Both stacks may overflow. 'lgwam: Stack overflow' indicates that the Logiweb-stack has overflowed.

The size of the Logiweb stack is fixed and quite large. If an overflow occurs, look for functions which loop indefinitely or which perform very deep recursion.

If you really need to increase the Logiweb stack, modify STACKSIZE in the beginning of lgwam.c and recompile.

Prev Up Next Page 480 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05