gnumeric crashes with attached file

Bug #26948 reported by Rui Matos
8
Affects Status Importance Assigned to Milestone
gnumeric (Ubuntu)
Fix Released
Medium
Daniel Holbach

Bug Description

in dapper, gnumeric 1.6.1-2ubuntu1 crashes while loading the attached file.

http://bugs.gnome.org/show_bug.cgi?id=323888: http://bugs.gnome.org/show_bug.cgi?id=323888

Revision history for this message
Rui Matos (tiagomatos) wrote :

Created an attachment (id=5266)
file makes gnumeric crash

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Do you remember, how you did obtain that .gnumeric
file? It's broken XML.

daniel@bert:~$ file latas.gnumeric
latas.gnumeric: gzip compressed data, from Unix
daniel@bert:~$ mv latas.gnumeric latas.gz
daniel@bert:~$ gunzip latas.gz
daniel@bert:~$ less latas
daniel@bert:~$ xmllint latas
latas:2336: parser error : Premature end of data in tag Sheets line 50

^
latas:2336: parser error : Premature end of data in tag Workbook line 2

^
daniel@bert:~$

Revision history for this message
Rui Matos (tiagomatos) wrote :

Sure. I created a very simple spreadsheet. And then ran the Solver from the
Tools menu. After the solver finished successfuly it reported several
statistical reports and then I saved the file and quit gnumeric. The file is
unchanged since then (confirmed by the modification date).

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. I forwarded the issue upstream: http://bugs.gnome.org/show_bug.cgi?id=323888

Revision history for this message
Daniel Holbach (dholbach) wrote :

The upstream authors say:
"cvs head has the load crash fixed and the sheet loads with a few warnings
on stderr.

If we can somehow get something concrete information as to what made the mess
in the first place, please open a new bug for that."

With one of the next uploads of gnumeric, broken XML files won't crash gnumeric
anymore. Could you please open another bug, either here or better at
http://bugs.gnome.org about how you managed to get the broken .gnumeric file?

Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnumeric (1.6.2-0ubuntu1) dapper; urgency=low
 .
   * New upstream release:
     - Fix Gdk-WARNING when cutting or copying cells.
     - No more debug command prompt. Error/warning messages will
     - go to an existing command prompt (if any).
     - Disable the IRC link in the help menu.
     - Use the cannonical web page in case of problems.
     - Silence some warnings in the ODS importer.
     - Fix COUNTBLANK.
     - Fix ATAN2(0,0).
     - Make AND, OR, and XOR ignore strings as claimed.
     - Fix TRIM for non-ASCII case with spaces at end.
     - Improve Excel compatibility of BIN2DEC, BIN2HEX, and BIN2OCT.
     - Fix crash on xml load. (Malone: #26948)
     - Fix file corruption on saving scenarios.
     - Fix a pile of leaks in solver and scenario saving and loading.
     - Fix leaks in solver dialog.
     - Fix parser leak.
     - Fix solver dialog crash.
     - Fix FMR in SUBSTITUTE.
     - Fix REPLACE and SEARCH for non-ASCII strings.
     - Fix division-by-zero problems in FIXED, ROUND, ROUNDUP, ROUNDDOWN,
       TRUNC.
     - Fix accuracy of ROUND, ROUNDUP, ROUNDDOWN, TRUNC.
     - Fix out-of-memory problem in REPT.
     - Fix lots of little XL compatibility problems in string functions.
     - Fix error on Search-and-replace.
     - Fix near-infinite loop in FACTDOUBLE.
     - Fix text-to-columns crash probably affecting stf import too.
     - Fix font preference crash.
     - Fix memory allocation problem for writing charts.
     - Fix loading of boolean constants from ods files.
     - Fix MID for out-of-bounds values.
     - Fix constructed-range parsing for OO.
     - Fix SECOND, MINUTE, HOUR compatibility problems.
     - Fix DATE compatibility for bizarre input.
     - Cleanup parameter handling in financial functions.
     - Hand clipboard off to clipboard manager when exiting.
     - Fix CONVERT crash.
   * Other bugs fixed:
     - Malone: #23112.
   * debian/control:
     - bumped Build-Dep on libgoffice.

Changed in gnumeric:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.