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 754590 - (plotXYZmatrix?) Segmentation fault in version 1.12.23-1
(plotXYZmatrix?) Segmentation fault in version 1.12.23-1
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2015-09-05 07:30 UTC by Kingsley G. Morse Jr.
Modified: 2015-09-05 07:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kingsley G. Morse Jr. 2015-09-05 07:30:00 UTC
Thanks for maintaining gnumeric.

I think its charts are great.

I happened to notice that a certain workbook works with version 1.12.18, but
gets a "Segmentation fault" on 1.12.23-1.

The following ends up in /var/log/syslog ...

kernel: [510407.133892] gnumeric[16905]: segfault at 0 ip b1895532 sp bfdc15c0 error 4 in surface.so[b1889000+1d000]

and gdb reports the following stack trace

(gdb) bt
  • #0 ??
    from /usr/lib/goffice/0.10.23/plugins/plot_surface/surface.so
  • #1 gog_xyz_plot_build_matrix
    from /usr/lib/goffice/0.10.23/plugins/plot_surface/surface.so
  • #2 ??
    from /usr/lib/goffice/0.10.23/plugins/plot_surface/surface.so
  • #3 gog_object_update
    from /usr/lib/libgoffice-0.10.so.10
  • #4 gog_object_update
    from /usr/lib/libgoffice-0.10.so.10
  • #5 gog_object_update
    from /usr/lib/libgoffice-0.10.so.10
  • #6 ??
    from /usr/lib/libgoffice-0.10.so.10
  • #7 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #8 g_main_context_dispatch
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #9 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #10 g_main_context_iteration
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #11 gtk_main_iteration_do
    from /usr/lib/i386-linux-gnu/libgtk-3.so.0
  • #12 go_io_progress_update
    from /usr/lib/libgoffice-0.10.so.10
  • #13 go_io_value_progress_update
    from /usr/lib/libgoffice-0.10.so.10
  • #14 ??
    from /usr/lib/libspreadsheet-1.12.23.so
  • #15 ??
    from /usr/lib/libspreadsheet-1.12.23.so
  • #16 ??
    from /usr/lib/i386-linux-gnu/libgsf-1.so.114
  • #17 ??
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #18 xmlParseElement
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #19 xmlParseContent
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #20 xmlParseElement
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #21 xmlParseContent
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #22 xmlParseElement
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #23 xmlParseContent
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #24 xmlParseElement
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #25 xmlParseContent
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #26 xmlParseElement
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #27 xmlParseDocument
    from /usr/lib/i386-linux-gnu/libxml2.so.2
  • #28 gsf_xml_in_doc_parse
    from /usr/lib/i386-linux-gnu/libgsf-1.so.114
  • #29 ??
    from /usr/lib/libspreadsheet-1.12.23.so
  • #30 ??
    from /usr/lib/libspreadsheet-1.12.23.so
  • #31 ??
    from /usr/lib/libgoffice-0.10.so.10
  • #32 go_file_opener_open
    from /usr/lib/libgoffice-0.10.so.10
  • #33 workbook_view_new_from_input
    from /usr/lib/libspreadsheet-1.12.23.so
  • #34 workbook_view_new_from_uri
    from /usr/lib/libspreadsheet-1.12.23.so
  • #35 main

I'm not sure, but I think a chart that combines about 10 XY graphs and a plotXYZmatrix graph elicits the bug.

On Sep 5, 2015, jean wrote on #gnumeric that he was able get a crash with

0x00007fffe2d1d270 in gog_xyz_matrix_plot_build_matrix (plot=0x9655e0, cardinality_changed=0x0) at gog-xyz-surface.c:170

Keep up the good work,
Kingsley
Comment 1 Jean Bréfort 2015-09-05 07:34:04 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.