Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#472 ctrl-D causes Maxima debugger to loop endlessly (clisp only)

None
closed
nobody
Lisp Core (472)
5
2012-12-18
2003-12-14
Robert Dodier
No

In the Maxima debugger, if ctrl-D is typed (say, in an
attempt to exit the debugger and get back to the Maxima
command prompt), then an endless stream of debugger
prompts is printed.

At that point, :q has no effect, and ctrl-C kills Maxima.

"ctrl-D" may seem like a pretty random thing to do --
however it is something a new user might expect to work
if they've worked in a Unix environment before.

This bug falls into the general category of "too easy
to get Maxima and/or Lisp confused, too hard to get
back to the command prompt". There are at least a few
other problems of this sort.

Maxima 5.9.0 cvs version of 20031128, clisp 2.31,
redhat linux 7.1 (kernel 2.4.2).

Example:

(C1) DEBUGMODE:TRUE$
(C2) SIN()$
Wrong number of arguments to SIN
-- an error. Entering the Maxima Debugger dbm
(dbm:1)
--------- now user types ctrl-D here ---------
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
:
:
:
--------- now user types ctrl-C here ---------
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
Maxima encountered a Lisp error:

PRINT: User break

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(C3)
[robert@localhost robert]$
--------- oops, Maxima is dead now ---------

Discussion

  • James Amundson
    James Amundson
    2005-04-04

    • status: open --> closed
     
  • James Amundson
    James Amundson
    2005-04-04

    Logged In: YES
    user_id=28457

    The reported bug is not present in the current version of cvs.

    Thank you for your report. If you see this bug in a later version
    of Maxima, please submit a new bug report.

     
  • Robert Dodier
    Robert Dodier
    2005-04-09

    Logged In: YES
    user_id=501686

    I'm reopening this bug as it is present in current
    (2005/04/09) cvs Maxima, built with clisp 2.33.2 on fedora
    linux.

    The bug is not present in current cvs Maxima built with gcl
    2.6.6, nor in Maxima 5.9.1 (official release) built with
    cmucl 19a.

     
  • Robert Dodier
    Robert Dodier
    2005-04-09

    • status: closed --> open
    • summary: ctrl-D causes Maxima debugger to loop endlessly --> ctrl-D causes Maxima debugger to loop endlessly (clisp only)
     
  • Robert Dodier
    Robert Dodier
    2006-07-19

    Logged In: YES
    user_id=501686

    Observed in 5.9.3cvs / clisp 2.38 on linux.

     
  • Robert Dodier
    Robert Dodier
    2012-12-18

    • status: open --> closed
    • milestone: --> None
     
  • Robert Dodier
    Robert Dodier
    2012-12-18

    Fixed by commit 58d7ce0: treat EOF as if :top were read. Closing this report.