GNOME Bugzilla – Bug 605474
crash: sheet_row_get: assertion `pos >= 0' failed
Last modified: 2010-03-22 13:06:01 UTC
Created attachment 150400 [details] xls file When I try to open this file .xls (see attachment) gnumeric crashes. With terminal commands I obtain the following error: $ gnumeric /home/chart.xls ** (gnumeric:24033): CRITICAL **: sheet_row_get: assertion `pos >= 0' failed ** (gnumeric:24033): CRITICAL **: sheet_row_get: assertion `pos >= 0' failed ... (infinitely) $ gnumeric and I try to open the file from the GUI, gnumeric crashes and I obtain this error message: GLib-ERROR **: gmem.c:136: failed to allocate 4217641616 bytes aborting... Abandon gnumeric version: 1.9.14 OS: Mandriva 2010 Thank you for your help.
Hmm, would be nice if you could try with 1.9.17 or attach the file.
Jean: the file is attached (see the very beginning of the report). I cannot replicate with current git, so giving 1.9.17 a try would be a good idea.
This looks like bug 587428 but that one was supposedly fixed with 1.9.10.
Created attachment 150475 [details] file with removed macros
I tried to open this file (chart.xls) with oo-calc -I suspected that this file maybe corrupted - and it works. A oo-calc message inform me that this file contains some macros (in VBA) which were disabled. I removed the sheets containing these scripts and open the new file (please see attachment) with gnumeric and now it runs properly. So this bug is due to VBA macros compatibility which is not a very serious problem. Please pass the status from "critical" → "normal"
Any crash can lead to data loss, so we'll keep this at critical. The presence of macros (that we ignore anyways) should not lead to a crash. (And there is the possibility that something else on those sheets caused the crash.) Unfortunately I cannot replicate the crash.
I cannot reproduce with current sources. Jean?
No critical either. I supposed this was fixed somewhere between 19.14 and 1.9.17.
Believed fixed. Please reopen in case you still see it with a recent version of Gnumeric.