#4752: list_plot3d crashes sage with some exact input
----------------------+-----------------------------------------------------
Reporter: mhampton | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: graphics | Keywords: list_plot3d, graphics
----------------------+-----------------------------------------------------
The following is an example of the problem (which was first noticed by
"Snark" on the IRC sage-devel channel):
{{{
sage: pts =[(-4/5, -2/5, -2/5), (-4/5, -2/5, 2/5), (-4/5, 2/5, -2/5),
(-4/5, 2/5, 2/5), (-2/5, -4/5, -2/5), (-2/5, -4/5, 2/5), (-2/5, -2/5,
-4/5), (-2/5, -2/5, 4/5), (-2/5, 2/5, -4/5), (-2/5, 2/5, 4/5), (-2/5, 4/5,
-2/5), (-2/5, 4/5, 2/5), (2/5, -4/5, -2/5), (2/5, -4/5, 2/5), (2/5, -2/5,
-4/5), (2/5, -2/5, 4/5), (2/5, 2/5, -4/5), (2/5, 2/5, 4/5), (2/5, 4/5,
-2/5), (2/5, 4/5, 2/5), (4/5, -2/5, -2/5), (4/5, -2/5, 2/5), (4/5, 2/5,
-2/5), (4/5, 2/5, 2/5)]
sage: show(list_plot3d(pts))
------------------------------------------------------------
Unhandled SIGBUS: A bus error occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run SAGE under gdb with 'sage -gdb' to debug this.
SAGE will now terminate (sorry).
------------------------------------------------------------
python(2829) malloc: *** error for object 0xed2f1f0: incorrect checksum
for freed object - object was probably modified after being freed, break
at szone_error to debug
python(2829) malloc: *** set a breakpoint in szone_error to debug
}}}
It doesn't crash if the pts are converted to numerical values, although
the interpolated surface looks bad no matter which interpolation setting
is used. The example points are on a sphere.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4752>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---