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 567783 - xl_chart_read_axesused critical after multiple exports
xl_chart_read_axesused critical after multiple exports
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-01-14 19:19 UTC by sum1
Modified: 2009-01-16 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
my a.xls (63.50 KB, application/vnd.ms-excel)
2009-01-16 07:20 UTC, sum1
Details
my b.xls (62.00 KB, application/vnd.ms-excel)
2009-01-16 07:20 UTC, sum1
Details

Description sum1 2009-01-14 19:19:03 UTC
Version: r17067
OS: Ubuntu Intrepid

Steps to reproduce:
- ssconvert gnumeric/samples/chart-polar-unit-tests.gnumeric /tmp/a.xls
- ssconvert /tmp/a.xls /tmp/b.xls
- gnumeric /tmp/b.xls


Console output (after the last step):

CRITICAL **: xl_chart_read_axesused: assertion `1 <= num_axis && num_axis <= 2' failed
CRITICAL **: xl_chart_read_axesused: assertion `1 <= num_axis && num_axis <= 2' failed
CRITICAL **: xl_chart_read_axesused: assertion `1 <= num_axis && num_axis <= 2' failed


Backtrace:

Breakpoint 1, 0xb6fa6926 in g_log () from /usr/lib/libglib-2.0.so.0
(gdb) bt
  • #0 g_log
    from /usr/lib/libglib-2.0.so.0
  • #1 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #2 xl_chart_read_axesused
    at ms-chart.c line 557
  • #3 ms_excel_chart_read
    at ms-chart.c line 3551
  • #4 ms_excel_chart_read_BOF
    at ms-chart.c line 3770
  • #5 ms_read_OBJ
    at ms-obj.c line 1279
  • #6 ms_escher_read_ClientData
    at ms-escher.c line 1993
  • #7 ms_escher_read_container
    at ms-escher.c line 2099
  • #8 ms_escher_read_SpContainer
    at ms-escher.c line 507
  • #9 ms_escher_read_container
    at ms-escher.c line 2099
  • #10 ms_escher_read_SpgrContainer
    at ms-escher.c line 1933
  • #11 ms_escher_read_container
    at ms-escher.c line 2099
  • #12 ms_escher_read_DgContainer
    at ms-escher.c line 1938
  • #13 ms_escher_read_container
    at ms-escher.c line 2099
  • #14 ms_escher_parse
    at ms-escher.c line 2166
  • #15 excel_read_sheet
    at ms-excel-read.c line 6231
  • #16 excel_read_BOF
    at ms-excel-read.c line 6514
  • #17 excel_read_workbook
    at ms-excel-read.c line 6597
  • #18 excel_file_open
    at boot.c line 192
  • #19 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #20 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #21 go_file_opener_open
    at file.c line 299
  • #22 wb_view_new_from_input
    at workbook-view.c line 1230
  • #23 wb_view_new_from_uri
    at workbook-view.c line 1284
  • #24 main
    at main-application.c line 444
  • #2 xl_chart_read_axesused
    at ms-chart.c line 557
$1 = 0
Comment 1 Jean Bréfort 2009-01-15 12:19:36 UTC
Hmm, I'm not able to reproduce after a new compilation. We might replace this g_return by a XL_CHECK_CONDITION_VAL.
Comment 3 Jean Bréfort 2009-01-16 06:37:43 UTC
The critical is fixed, but this does not tell me how we could export a bad value.
Comment 4 sum1 2009-01-16 07:20:26 UTC
Created attachment 126560 [details]
my a.xls
Comment 5 sum1 2009-01-16 07:20:52 UTC
Created attachment 126561 [details]
my b.xls
Comment 6 Jean Bréfort 2009-01-16 14:14:46 UTC
gnumeric will not export invalid axesused fields :-)