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 575600 - Null pointer crash in oo_filter_cond()
Null pointer crash in oo_filter_cond()
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export OOo / OASIS
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-03-16 20:57 UTC by sum1
Modified: 2009-03-18 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ods file (22.68 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-03-16 20:59 UTC, sum1
Details

Description sum1 2009-03-16 20:57:59 UTC
Version: r17213
OS: Ubuntu Intrepid

The upcoming attachment was created by converting Attachment 105468 [details] (fuzzed .xls file from Bug 517106) to .ods format with OpenOffice.org 3.0.1.


Steps to reproduce:
- Import the upcoming .ods attachment


Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread 3066582784 (LWP 13879)

  • #0 oo_filter_cond
    at openoffice-read.c line 1937
  • #1 push_child
    at gsf-libxml.c line 602
  • #2 lookup_child
    at gsf-libxml.c line 639
  • #3 gsf_xml_in_start_element
    at gsf-libxml.c line 709
  • #4 xmlParseStartTag__internal_alias
    at parser.c line 7715
  • #5 xmlParseElement__internal_alias
    at parser.c line 9041
  • #6 xmlParseContent__internal_alias
    at parser.c line 8952
  • #7 xmlParseElement__internal_alias
    at parser.c line 9122
  • #8 xmlParseContent__internal_alias
    at parser.c line 8952
  • #9 xmlParseElement__internal_alias
    at parser.c line 9122
  • #10 xmlParseContent__internal_alias
    at parser.c line 8952
  • #11 xmlParseElement__internal_alias
    at parser.c line 9122
  • #12 xmlParseContent__internal_alias
    at parser.c line 8952
  • #13 xmlParseElement__internal_alias
    at parser.c line 9122
  • #14 xmlParseContent__internal_alias
    at parser.c line 8952
  • #15 xmlParseElement__internal_alias
    at parser.c line 9122
  • #16 xmlParseContent__internal_alias
    at parser.c line 8952
  • #17 xmlParseElement__internal_alias
    at parser.c line 9122
  • #18 xmlParseDocument__internal_alias
    at parser.c line 9737
  • #19 gsf_xml_in_doc_parse
    at gsf-libxml.c line 1190
  • #20 openoffice_file_open
    at openoffice-read.c line 3005
  • #21 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #22 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #23 go_file_opener_open
    at file.c line 299
  • #24 wb_view_new_from_input
    at workbook-view.c line 1057
  • #25 wb_view_new_from_uri
    at workbook-view.c line 1111
  • #26 main
    at main-application.c line 445

Comment 1 sum1 2009-03-16 20:59:14 UTC
Created attachment 130783 [details]
ods file
Comment 2 Morten Welinder 2009-03-17 20:20:05 UTC
Crash fixed.  We're left with a critical:

...src/.libs/lt-gnumeric:24211): CRITICAL **: workbook_sheet_reorder: assertion `g_slist_length (new_order) == wb->sheets->len' failed

2 vs 3 in case you wonder.
Comment 3 Morten Welinder 2009-03-18 13:43:00 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.