GNOME Bugzilla – Bug 332012
Crash when a worksheet with a double plot is exported as xls.
Last modified: 2006-03-21 19:12:15 UTC
Steps to reproduce: 1. Create a worksheet with two XY Plots on one chart (see attached file) 2. save as Excel 97/2000/XP file 3. appication crashes with the following message on the console: peter@bonobo: ~$ /usr/local/bin/gnumeric Reading file:///home/peter/projekte/2006%2000V%20Durfzentrum%20V%C3%B6ls/Auswertungen/gnumeric_crash-when-exported-as-xls.gnumeric Writing file:///home/peter/projekte/2006%2000V%20Durfzentrum%20V%C3%B6ls/Auswertungen/gnumeric_crash-when-exported-as-xls.xls *** glibc detected *** free(): invalid pointer: 0xbfd1d7a8 *** Aborted Stack trace: peter@bonobo: ~$ gdb /usr/local/bin/gnumeric GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/gnumeric [Thread debugging using libthread_db enabled] [New Thread -1224001856 (LWP 4509)] [New Thread -1231660112 (LWP 4513)] [New Thread -1231938640 (LWP 4514)] [New Thread -1232204880 (LWP 4515)] Reading file:///home/peter/projekte/2006%2000V%20Durfzentrum%20V%C3%B6ls/Auswertungen/gnumeric_crash-when-exported-as-xls.gnumeric Writing file:///home/peter/projekte/2006%2000V%20Durfzentrum%20V%C3%B6ls/Auswertungen/gnumeric_crash-when-exported-as-xls.xls *** glibc detected *** free(): invalid pointer: 0xbf819c18 *** Program received signal SIGABRT, Aborted. [Switching to Thread -1224001856 (LWP 4509)] 0xffffe410 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 66375
Thread 1 (Thread -1224001856 (LWP 4509))
Other information:
Created attachment 59834 [details] Saving this as XLS crashes gnumeric 1.6.2
For the record, I see no such problem with cvs HEAD under purify.
It does not occur with 1.6.1 either
The same file hangs (but no crash) gnumeric on Ubuntu Dapper Drake as of today (2006/03/21). BTW: I compiled the GTK+-only version (no gnome dependencies) for the original bug report.
Which is the glib version? 2.10.0?
Created attachment 61691 [details] [review] the fix Oops, my fault. An uninitialized value :-(
commit commmit commit, 1.6.3 as soon as this lands. both trees please.
Aha! I seem to have fixed in this cvs HEAD a month ago. No wonder I didn't see the crash anymore.
Commited to 1-6 branch