GNOME Bugzilla – Bug 127202
Recalc in the wrong order will overflow the stack
Last modified: 2004-12-22 21:47:04 UTC
I have a .gnumeric file that crashes gnumeric. This file is in fact a .xls file I have saved as .gnumeric file. The original .xls file is to large to attached it in bugzilla. You can find it at: ftp://lgge.obs.ujf-grenoble.fr/pub/depot/parrenin/test.xls
This loads fine for me, but it's clear that gnumeric uses an insane amount of memory for this. How much do you have? (With the experimental SAX loader, which requires much less memory, it does crash:) Program received signal SIGSEGV, Segmentation fault. 0xfb044 in workbook_sheet_by_name (wb=0x6d20bf, name=0x4ecb00 "Modèle") at workbook.c:903 903 g_return_val_if_fail (IS_WORKBOOK (wb), NULL);
xml_sax crash fixed in cvs.
Morten, Thanks for your quick reply and the quick fix in the sax importer. I have 512Mb of memory in the AthlonXP2000+ I am using now. I am surprised that you did not experienced a crash when loading the gnumeric file. Have you really saved the file as .gnumeric and reopened it ? I have putted the .gnumeric file that crashed my gnumeric-1.2.1 at the same place: ftp://lgge.obs.ujf-grenoble.fr/pub/depot/parrenin/test.gnumeric Please give a look at it. Anyway, this is a nice sheet to test performance issues :-) Frederic
I can replicate. The crash is a known problem which we can not solve for 1.2.x In certain cases gnumeric can run out of stack space when calculating poorly ordered expressions. For 1.2.x we are tuned so that things work for descending A2=A1+foo, not ascending which is what you have there.
*** This bug has been marked as a duplicate of 92131 ***