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 663216 - Crash on chart import
Crash on chart import
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal critical
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2011-11-02 03:07 UTC by Andreas J. Guelzow
Modified: 2011-11-02 06:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
size-reduced sample file (126.44 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-11-02 03:40 UTC, Andreas J. Guelzow
Details

Description Andreas J. Guelzow 2011-11-02 03:07:25 UTC
Opening the attached ods file used to work fine with Gnumeric 1.10.13. Opening the same file in current git leads to a crash in the charting code:

Program received signal SIGSEGV, Segmentation fault.
0xb72a15a7 in pango_attr_list_copy ()
   from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
(gdb) bt
  • #0 pango_attr_list_copy
    from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
  • #1 gnm_go_data_vector_get_markup
    at graph.c line 907
  • #2 go_data_vector_get_markup
    at go-data.c line 808
  • #3 _data_vector_get_markup
    at go-data.c line 710
  • #4 go_data_get_markup
    at go-data.c line 539
  • #5 go_data_get_vector_markup
    at go-data.c line 551
  • #6 map_discrete_calc_ticks
    at gog-axis.c line 395
  • #7 gog_axis_calc_ticks
    at gog-axis.c line 1866
  • #8 gog_axis_update
    at gog-axis.c line 2309
  • #9 gog_object_update
    at gog-object.c line 1408
  • #10 gog_object_update
    at gog-object.c line 1401
  • #11 gog_object_update
    at gog-object.c line 1401
  • #12 gog_graph_force_update
    at gog-graph.c line 758
  • #13 gog_renderer_update
    at gog-renderer.c line 1324
  • #14 goc_graph_update_bounds
    at goc-graph.c line 222
  • #15 _goc_item_update_bounds
    at goc-item.c line 303
  • #16 goc_item_maybe_invalidate
    at goc-item.c line 461
  • #17 goc_item_invalidate
    at goc-item.c line 481
  • #18 goc_item_set
    at goc-item.c line 373
  • #19 so_graph_view_set_bounds
    at sheet-object-graph.c line 66
  • #20 sheet_object_view_set_bounds
    at sheet-object.c line 1246
  • #21 cb_bounds_changed
    at gnm-pane.c line 3023
  • #22 g_cclosure_marshal_VOID__VOID
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #24 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #27 sheet_object_update_bounds
    at sheet-object.c line 464

Comment 1 Andreas J. Guelzow 2011-11-02 03:23:41 UTC
The sample file is too large to be attached. It can be created by saving samples/chart-tests.gnumeric as an ods file with foreign elements.
Comment 2 Andreas J. Guelzow 2011-11-02 03:40:17 UTC
Created attachment 200477 [details]
size-reduced sample file

a size-reduced sample file showing the same crash
Comment 3 Jean Bréfort 2011-11-02 06:28:37 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.