#278 Infinite recursion kills process (gcl)

closed
nobody
Lisp Core (471)
5
2012-12-04
2003-03-28
No

('sum)(x,i,1,3),simpsum,simp:false;

causes Maxima to crash ("The exception unknown
software exception (0xc00000fd) occurred in the
application at location 0x00406a08.") This appears to
be a stack overflow in compiled code.

Can't we catch a stack overflow without the process
dying?

It would of course also be nice if Maxima didn't have an
infinite recursion in this case, but simp:false breaks a lot
of things....

Maxima 5.9.0 GCL 2.5.0 mingw32 Windows 2000

Discussion

  • Robert Dodier

    Robert Dodier - 2006-05-06

    Logged In: YES
    user_id=501686

    I'm not seeing an error for the given expression (returns 3
    x for Maxima 5.9.3cvs with clisp, sbcl, and gcl on Linux,
    and 5.9.1 / cmucl on Linux).

    Let's retest on Windows and if it has gone away then we can
    close this report.

     
  • Robert Dodier

    Robert Dodier - 2006-05-06
    • labels: --> Lisp Core
    • milestone: --> To_be_reviewed
     
  • Robert Dodier

    Robert Dodier - 2006-07-14

    Logged In: YES
    user_id=501686

    Not observed in 5.9.2 / gcl 2.6.7, nor 5.9.3 / gcl 2.6.7.
    Closing this report as "works for me".

     
  • Robert Dodier

    Robert Dodier - 2006-07-14
    • status: open --> closed
     

Log in to post a comment.