crash at infinite recursion

Hans Aberg haberg at math.su.se
Tue Oct 14 21:12:45 EDT 2003


At 13:31 +0200 2003/10/14, Felix Hummel wrote:
>Hugs98 Version: Nov 2002 crashes when evaluating the following line
>
>    let x = x+1 in x
>
>Of course this line is quite stupid, but none the less the interpreter
>should not crash...

This is not a bug, but a feature: :-)

It is up to the each implementation, typically the OS to pick up memory
overflows.

The MacOS pre-X version Pablo and I made has some code installed that
resets it when memory overflows.

  Hans Aberg




More information about the Hugs-Bugs mailing list