Example use of plot3d crashes maxima
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)
+ 3.0) - 10.0$
(%i3) expr_2: -5*sin(
+ 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
Universal error handler called recursively (:ERROR NIL
Maxima encountered a Lisp error:
Error in CONDITIONS:
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i6) ? version
Segmentation fault
vandys@deepthought$
Confirming on Jaunty 9.04:
(%i1) plot3d( atan(-x^ 2+y^3/4) ,[x,-4, 4],[y,- 4,4],[grid, 50,50]) ;
CONDITIONS: :CLCS-UNIVERSAL -ERROR- HANDLER
""
"Couldn' t protect")
CONDITIONS: :CLCS-UNIVERSAL -ERROR- HANDLER
"" "Couldn't protect") :CLCS-UNIVERSAL -ERROR- HANDLER [or a callee]: Caught fatal error [memory may be damaged]
Universal error handler called recursively (:ERROR NIL
Universal error handler called recursively (:ERROR NIL
Maxima encountered a Lisp error:
Error in CONDITIONS:
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.