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 679992 - crash on file opening
crash on file opening
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-07-16 08:40 UTC by Frédéric Parrenin
Modified: 2012-07-18 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.gnumeric file to reproduce the problem (44.21 KB, application/vnd.ms-excel)
2012-07-18 09:03 UTC, Frédéric Parrenin
Details

Description Frédéric Parrenin 2012-07-16 08:40:41 UTC
The file is attached.
Comment 1 Morten Welinder 2012-07-16 12:33:43 UTC
No attachment found -- please retry.
Comment 2 Frédéric Parrenin 2012-07-18 09:03:16 UTC
Created attachment 219082 [details]
.gnumeric file to reproduce the problem
Comment 3 Morten Welinder 2012-07-18 13:16:38 UTC
Confirmed.  Lots of warnings starting with...

(/home/welinder/gnome-src/gnumeric/src/.libs/gnumeric:3626): gnumeric:read-WARNING **: File is most likely corrupted.
(Condition "q->length >= 3" failed in excel_read_FORMAT.)


Program received signal SIGSEGV, Segmentation fault.
excel_read_LABEL (q=0x7fffe8006f30, esheet=0x75cab0, has_markup=0) at ms-excel-read.c:6219
6219		fd = excel_font_get (esheet->container.importer, xf->font_idx);
(gdb) where
  • #0 excel_read_LABEL
    at ms-excel-read.c line 6219
  • #1 excel_read_sheet
    at ms-excel-read.c line 6524
  • #2 excel_read_BOF
    at ms-excel-read.c line 6955
  • #3 excel_read_workbook
    at ms-excel-read.c line 7027
  • #4 excel_enc_file_open
    at boot.c line 170
  • #5 go_plugin_file_opener_open
    at go-plugin-service.c line 648
  • #6 wb_view_new_from_input
    at workbook-view.c line 1244
  • #7 wb_view_new_from_uri
    at workbook-view.c line 1299
  • #8 main
    at main-application.c line 320

(gdb) p xf
$1 = (const BiffXFData *) 0x0
Comment 4 Morten Welinder 2012-07-18 15:39:49 UTC
Crash fixed, the warnings remain.

Where does this xls file come from, i.e., what software created it?
Comment 5 Morten Welinder 2012-07-18 19:20:08 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.