Example use of plot3d crashes maxima

Bug #304856 reported by vandyswa
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maxima (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: maxima

Using one of the "? plot3d" examples appears to crash Maxima. Notice that it ends up so messed up that the
last "? version" query actually segv's right out of the application. This is Maxima 5.13.0 under a fully updated Kubuntu Ibex.

(%i2) expr_1: 5*cos(x)*(cos(x/2)*cos(y) + sin(x/2)*sin(2*y)
                + 3.0) - 10.0$

(%i3) expr_2: -5*sin(x)*(cos(x/2)*cos(y) + sin(x/2)*sin(2*y)
                + 3.0)$

(%i4) expr_3: 5*(-sin(x/2)*cos(y) + cos(x/2)*sin(2*y))$

(%i5) plot3d ([expr_1, expr_2, expr_3], [x, -%pi, %pi],
                [y, -%pi, %pi], ['grid, 40, 40]);
Universal error handler called recursively (:ERROR NIL
                                                  CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
                                                  ""
                                                  "Couldn't protect")
Universal error handler called recursively (:ERROR NIL
                                            CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
                                            "" "Couldn't protect")
Maxima encountered a Lisp error:

 Error in CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER [or a callee]: Caught fatal error [memory may be damaged]

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i6) ? version
Segmentation fault
vandys@deepthought$

Revision history for this message
Timothy Pearson (kb9vqf) wrote :

Confirming on Jaunty 9.04:

(%i1) plot3d(atan(-x^2+y^3/4),[x,-4,4],[y,-4,4],[grid,50,50]);
Universal error handler called recursively (:ERROR NIL
                                                  CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
                                                  ""
                                                  "Couldn't protect")
Universal error handler called recursively (:ERROR NIL
                                            CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
                                            "" "Couldn't protect")
Maxima encountered a Lisp error:
 Error in CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER [or a callee]: Caught fatal error [memory may be damaged]
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

Changed in maxima (Ubuntu):
status: New → Confirmed
Revision history for this message
Timothy Pearson (kb9vqf) wrote :

WORKAROUND:
The Debian Sid package installs quite nicely, and does not have this bug:
http://packages.debian.org/sid/maxima

Revision history for this message
elrond (elrond.) wrote :

I've marked it as duplicate of bug #303587

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.