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 594041 - We should support XLSurfacePlot on ODF export
We should support XLSurfacePlot on ODF export
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export OOo / OASIS
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-09-03 14:38 UTC by Andreas J. Guelzow
Modified: 2009-09-04 00:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2009-09-03 14:38:51 UTC
When trying to save the file of bug 593937 as an odf file, Gnumeric crashes.

** (/home/aguelzow/gnumeric/bin/gnumeric:26607): CRITICAL **: gnm_go_data_get_expr: assertion `dep != NULL' failed

** (/home/aguelzow/gnumeric/bin/gnumeric:26607): CRITICAL **: gnm_expr_top_is_rangeref: assertion `IS_GNM_EXPR_TOP (texpr)' failed
[Thread 0xb44ffb90 (LWP 26614) exited]

Program received signal SIGSEGV, Segmentation fault.
0xb7a2137a in strcmp () from /lib/i686/cmov/libc.so.6
(gdb) bt
  • #0 strcmp
    from /lib/i686/cmov/libc.so.6
  • #1 odf_write_plot
    at openoffice-write.c line 3577
  • #2 odf_write_graph_content
    at openoffice-write.c line 3711
  • #3 odf_write_graphs
    at openoffice-write.c line 3735
  • #4 IA__g_hash_table_foreach
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/ghash.c line 1210
  • #5 openoffice_file_save_real
    at openoffice-write.c line 3862
  • #6 odf_file_save
    at openoffice-write.c line 3908
  • #7 go_plugin_loader_module_func_file_save
    at go-plugin-loader-module.c line 323
  • #8 go_plugin_file_saver_save
    at go-plugin-service.c line 752

Comment 1 Andreas J. Guelzow 2009-09-03 15:22:36 UTC
The first critical happens within gnm_go_data_get_expr where dat is a non-NULL GOData from one of the items in a list returned by gog_graph_get_data. That seems to be a charting issue.

The second critical is due to us not checking whetehr the return value of gnm_go_data_get_expr is non-null. (That's easy to fix but doesn't cause the crash.)
Comment 2 Andreas J. Guelzow 2009-09-03 18:55:28 UTC
The crash is fixed. We should still support the graph style: XLSurfacePlot

The first critical has been filed in bug 594068 against goffice.
Comment 3 Andreas J. Guelzow 2009-09-04 00:20:16 UTC
fixed