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 662497 - Condition "ptr + n == end" failed in excel_read_LABEL_markup.
Condition "ptr + n == end" failed in excel_read_LABEL_markup.
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: 2011-10-23 04:05 UTC by Andreas J. Guelzow
Modified: 2014-02-26 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2011-10-23 04:05:11 UTC
The xls file attached to bug #425685 is supposed to have a subscript in A1. This fails to import and we have in current git as well as 1.10.13:

(gnumeric:20009): gnumeric:read-WARNING **: File is most likely corrupted.
(Condition "ptr + n == end" failed in excel_read_LABEL_markup.)
Comment 1 Andreas J. Guelzow 2011-10-23 04:32:45 UTC
Note that LibreOffice open this file fine.
Comment 2 Andreas J. Guelzow 2011-10-28 02:27:49 UTC
Breakpoint 1, excel_read_LABEL_markup (q=0xb5eae1a0, esheet=0xb5ebf0f8, 
    str=0x8837b00 "ldb (tension)", str_len=13) at ms-excel-read.c:1197
1197			XL_CHECK_CONDITION_VAL (ptr + n == end , NULL);
(gdb) p (void *)ptr
$3 = (void *) 0xb5eadeb1
(gdb) p (void *)end
$4 = (void *) 0xb5eadeb6
(gdb) p n
$5 = 1188
(gdb)
Comment 3 Morten Welinder 2013-12-23 01:31:39 UTC
This appears to be working now.  Agree?
Comment 4 Morten Welinder 2014-02-26 16:05:26 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.