14.16 Segmentation fault

Prev Up Next Page 487 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. A segmentation fault (probably) indicates that the C-stack has overflowed.

If you run bash try this: ulimit -s unlimited.

If you run csh try this: unlimit stacksize.

If you run Cygwin, add more RAM to your computer.

The messages 'Segmentation fault' and 'lgwam: Segmentation fault' are identical except that in the latter case lgwam managed to survive and print the message itself.

Prev Up Next Page 487 of 800 Search logiweb.eu

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