Subject: Re: Cryptic Error Message

From: Jan Wielemaker <[email-masked]>
Date: Fri, 26 Nov 1999 09:51:57 +0100

On Fri, 26 Nov 1999, Douglas Miles (Volt Computer) wrote:
>what does error mean?
>
>[nobody@www library]$ ./mypl.runtime
>
>[WARNING: Out of local stack while not in Prolog!?]
>pl: pl-alloc.c:218: outOfStack: Assertion `0' failed.

In most cases this is a segmentation fault that is misinterpreded
as a stack-overflow.  What to do next?

For debugging this type of error, it is a good idea to make a
Prolog that does not handle stack-overflows using segmentation
faults using

	./configure <options> --disable-segv-handling

and next run prolog under the C-debugger.  If all functions
properly you can revert to the segv-handing based stack guarding.

	Regards --- Jan