Bug? in Maxima 5.19.1 "Control stack guard page temporarily disabled"
Subject: Bug? in Maxima 5.19.1 "Control stack guard page temporarily disabled"
From: andre maute
Date: Mon, 24 Aug 2009 22:23:12 +0200
The following code snippet works flawlessly
in Maxima 5.17.1 under a recent Ubuntu installation,
but not in Maxima 5.19.1
----------------------------------------------------
display2d : false;
my_f(x) := block(
[res,t],
res : integrate(1,t,-1,x),
return(res)
)$
fy : my_f(y[2]);
----------------------------------------------------
here the output with maxima 5.17.1
----------------------------------------------------
$ maxima -b stackbug3.max
Maxima 5.17.1 http://maxima.sourceforge.net
Using Lisp SBCL 1.0.18.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) batch(stackbug3.max)
batching /home/user/tmp/stackbug3.max
(%i2) display2d : false
(%o2) false
(%i3) my_f(x):=block([res,t],res:integrate(1,t,-1,x),return(res))
(%i4) fy:my_f(y[2])
(%o4) y[2]+1
----------------------------------------------------
here the output with maxima 5.19.1
----------------------------------------------------
$ maxima -b stackbug3.max
http://maxima.sourceforge.net
Using Lisp SBCL 1.0.18.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) batch(stackbug3.max)
batching /home/user/tmp/stackbug3.max
(%i2) display2d : false
(%o2) false
(%i3) my_f(x):=block([res,t],res:integrate(1,t,-1,x),return(res))
(%i4) fy:my_f(y[2])
Control stack guard page temporarily disabled: proceed with caution
Maxima encountered a Lisp error:
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
Control stack guard page temporarily disabled: proceed with caution
Maxima encountered a Lisp error:
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
Control stack guard page temporarily disabled: proceed with caution
Maxima encountered a Lisp error:
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%o5) "/home/user/tmp/stackbug3.max"
----------------------------------------------------
I have updated after a suggestion from Dieter Kaiser,
who had mentioned that a bug I had encountered,
had been fixed in Maxima 5.19.1
Andre