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 788437 - Segfault on chart type selection
Segfault on chart type selection
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2017-10-02 16:20 UTC by Andreas J. Guelzow
Modified: 2017-10-02 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample file (1.98 KB, application/x-gnumeric)
2017-10-02 16:20 UTC, Andreas J. Guelzow
  Details
Patch (592 bytes, patch)
2017-10-02 16:54 UTC, Jean Bréfort
none Details | Review

Description Andreas J. Guelzow 2017-10-02 16:20:53 UTC
Created attachment 360792 [details]
sample file

In the attached file select A1:F6
insert chart
specify "surface"
click on the third subtype...boom

the third subtype does not work with the selected datat but it should not crash!

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe4d6d250 in gog_xyz_surface_plot_build_matrix (plot=0xa25dc0, 
    cardinality_changed=0x0) at gog-xyz-surface.c:351
351			while (k < l && x_vals[sort[k]] < xmin)
Comment 1 Jean Bréfort 2017-10-02 16:30:29 UTC
The second subtype also crashes, btw.
Comment 2 Jean Bréfort 2017-10-02 16:54:48 UTC
Created attachment 360794 [details] [review]
Patch
Comment 3 Jean Bréfort 2017-10-02 17:06:17 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.