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 587171 - Hang in go_format_token
Hang in go_format_token
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: General
unspecified
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-06-28 05:00 UTC by sum1
Modified: 2009-06-28 18:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2009-06-28 05:00:56 UTC
Steps to reproduce:
- Download Attachment 19772 [details] (.gnumeric file from Bug 121560)
- ssconvert attachment.gnumeric /tmp/foo.ods


Backtrace:

  • #0 go_format_token2
    at go-format.c line 727
  • #1 go_format_token
    at go-format.c line 925
  • #2 go_format_output_date_to_odf
    at go-format.c line 5596
  • #3 go_format_output_to_odf
    at go-format.c line 6669
  • #4 odf_write_xl_style
    at openoffice-write.c line 2777
  • #5 odf_write_this_xl_style
    at openoffice-write.c line 2784
  • #6 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.20.1/glib/ghash.c line 1210
  • #7 odf_write_styles
    at openoffice-write.c line 2853
  • #8 openoffice_file_save_real
    at openoffice-write.c line 3021
  • #9 odf_file_save
    at openoffice-write.c line 3065
  • #10 go_plugin_loader_module_func_file_save
    at go-plugin-loader-module.c line 323
  • #11 go_plugin_file_saver_save
    at go-plugin-service.c line 749
  • #12 go_file_saver_save
    at file.c line 705
  • #13 wbv_save_to_output
    at workbook-view.c line 971
  • #14 wb_view_save_to_uri
    at workbook-view.c line 1008
  • #15 wb_view_save_as
    at workbook-view.c line 1044
  • #16 convert
    at ssconvert.c line 534
  • #17 main
    at ssconvert.c line 601

Comment 1 Andreas J. Guelzow 2009-06-28 07:05:43 UTC
"[>3][RED]0;0"

Doctor, when I hit my head against the wall, it hurts.

Comment 2 Andreas J. Guelzow 2009-06-28 18:26:26 UTC
Well, we do not get hang up in go_format_output_date_to_odf itself. It calls go_format_token, which never returns.
Comment 3 Andreas J. Guelzow 2009-06-28 18:46:01 UTC
I was mistaken. It returns, it just took longer than expected. go_format_output_date_to_odf then failed to act on the error.

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.
Comment 4 Andreas J. Guelzow 2009-06-28 18:49:23 UTC
I should have mentioned that the ods file created by gnumeric is valid with respect to the schema but causes Gnumeric to show a critical.