After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 611163 - Crash in Natural cubic spline
Crash in Natural cubic spline
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.10.x
Other All
: Urgent critical
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-02-26 10:11 UTC by Vladimir Chukharev
Modified: 2010-02-26 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Just press Del to get a crash (2.48 KB, application/octet-stream)
2010-02-26 10:11 UTC, Vladimir Chukharev
Details

Description Vladimir Chukharev 2010-02-26 10:11:22 UTC
Created attachment 154738 [details]
Just press Del to get a crash

If some part of data used in plot of types 'Natural cubic spline' or 'Cubic spline with (any) extrapolation' is deleted, gnumeric crashes with a message as follows. 

GLib-ERROR **: gmem.c:136: failed to allocate 1024 bytes
aborting...

It does not crash if the line type is any of Bezier or clamped splines.

Attached is a file which shows tha crash when B3 cell is deleted.

Note also that the plot line is actually two overlapping lines in some of the spline types, not all, I guess that is not intended...

The crash is seen with gnumeric 1.10.0 under FreeBSD 8 and gnumeric 1.9.16 under WinXP.
Comment 1 Jean Bréfort 2010-02-26 10:26:08 UTC
Did not crash for me, just went out of memory and that killed my session.
Comment 2 Jean Bréfort 2010-02-26 10:33:21 UTC
Also I see two curves not one i the original file. Seems that cubic splines are broken when there are invalid data.
Comment 3 Jean Bréfort 2010-02-26 11:01:54 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.