Subject: How do you recover from a lisp stack overflow?
From: Raymond Toy
Date: Wed, 20 Dec 2006 08:43:56 -0500
Alasdair McAndrew wrote:
> I've been playing with recursive functions lately, and if I enter too
> large an input, what happens is that I get:
>
> *** - Lisp stack overflow. RESET
> [1]>
>
> What should I do now? Is there any way of getting back into maxima,
> or do I just have to kill the process (I'm using linux) and restart
> maxima fom scratch?
>
You might try either (to-maxima) or (cl-user::run).
I don't know, however, if this will be enough to restart maxima nicely,
since the stack has overflowed. This really depends on what your
underlying Lisp does when it encounters a stack overflow.
Ray