GNOME Bugzilla – Bug 108807
crash after entering data and moving to a new cell
Last modified: 2009-08-15 18:40:50 UTC
Repeatable crash every time I enter any data and then move to a new cell, either with tab, mouse click or arrow keys. Running GNOME 2.2.1 built with garnome, gnumeric 1.1.16. Backtrace was generated from '/home/jfleck/garnome/bin/gnumeric' [New Thread 8192 (LWP 1394)] 0x420ae169 in wait4 () from /lib/i686/libc.so.6
+ Trace 35086
Thread 1 (Thread 8192 (LWP 1394))
There is something funky going on. 1) I can not replicate that 2) The backtrace suggests that something is feeding a 'string' of 0xaaaaaaa to things, but the code in question is well exercised and clearly just uses sprintf Check your build please.
Sure. What should I be checking for?
Not a clue. Start with a list of all libraries you're linking against ldd `which gnumeric` Maybe we can spot an unexpected path or a strange version.
[jfleck@jelloiii emstories]$ ldd `which gnumeric` libgal-2.0.so.0 => /home/jfleck/garnome/lib/libgal-2.0.so.0 (0x40013000) libglade-2.0.so.0 => /home/jfleck/garnome/lib/libglade-2.0.so.0 (0x400e1 000) libgnomeui-2.so.0 => /home/jfleck/garnome/lib/libgnomeui-2.so.0 (0x400f4 000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4018a000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x401a8000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x401b1000) libgnomeprintui-2-2.so.0 => /home/jfleck/garnome/lib/libgnomeprintui-2-2 .so.0 (0x401c8000) libgnomeprint-2-2.so.0 => /home/jfleck/garnome/lib/libgnomeprint-2-2.so. 0 (0x401e9000) libfontconfig.so.1 => /home/jfleck/garnome/lib/libfontconfig.so.1 (0x406 21000) libfreetype.so.6 => /home/jfleck/garnome/lib/libfreetype.so.6 (0x4064400 0) libbonoboui-2.so.0 => /home/jfleck/garnome/lib/libbonoboui-2.so.0 (0x406 8d000) libgnomecanvas-2.so.0 => /home/jfleck/garnome/lib/libgnomecanvas-2.so.0 (0x406e5000) libgnome-2.so.0 => /home/jfleck/garnome/lib/libgnome-2.so.0 (0x4070d000) libesd.so.0 => /home/jfleck/garnome/lib/libesd.so.0 (0x40720000) libaudiofile.so.0 => /home/jfleck/garnome/lib/libaudiofile.so.0 (0x40727 000) libart_lgpl_2.so.2 => /home/jfleck/garnome/lib/libart_lgpl_2.so.2 (0x407 48000) libpangoft2-1.0.so.0 => /home/jfleck/garnome/lib/libpangoft2-1.0.so.0 (0 x4075d000) libgtk-x11-2.0.so.0 => /home/jfleck/garnome/lib/libgtk-x11-2.0.so.0 (0x4 077c000) libgdk-x11-2.0.so.0 => /home/jfleck/garnome/lib/libgdk-x11-2.0.so.0 (0x4 09b1000) libatk-1.0.so.0 => /home/jfleck/garnome/lib/libatk-1.0.so.0 (0x40a1d000) libgdk_pixbuf-2.0.so.0 => /home/jfleck/garnome/lib/libgdk_pixbuf-2.0.so. 0 (0x40a33000) libpangoxft-1.0.so.0 => /home/jfleck/garnome/lib/libpangoxft-1.0.so.0 (0 x40a44000) libpangox-1.0.so.0 => /home/jfleck/garnome/lib/libpangox-1.0.so.0 (0x40a 62000) libpango-1.0.so.0 => /home/jfleck/garnome/lib/libpango-1.0.so.0 (0x40a6e 000) libgsf-gnome-1.so.1 => /home/jfleck/garnome/lib/libgsf-gnome-1.so.1 (0x4 0a9d000) libbonobo-2.so.0 => /home/jfleck/garnome/lib/libbonobo-2.so.0 (0x40aa200 0) libORBitCosNaming-2.so.0 => /home/jfleck/garnome/lib/libORBitCosNaming-2 .so.0 (0x40af1000) libgnomevfs-2.so.0 => /home/jfleck/garnome/lib/libgnomevfs-2.so.0 (0x40a f5000) libgconf-2.so.4 => /home/jfleck/garnome/lib/libgconf-2.so.4 (0x40b28000) libssl.so.2 => /lib/libssl.so.2 (0x40b59000) libcrypto.so.2 => /lib/libcrypto.so.2 (0x40b89000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40c5e000) librt.so.1 => /lib/librt.so.1 (0x40c8e000) libbonobo-activation.so.4 => /home/jfleck/garnome/lib/libbonobo-activati on.so.4 (0x40c9f000) libORBit-2.so.0 => /home/jfleck/garnome/lib/libORBit-2.so.0 (0x40cb1000) libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40cf1000) liblinc.so.1 => /home/jfleck/garnome/lib/liblinc.so.1 (0x40cf9000) libgmodule-2.0.so.0 => /home/jfleck/garnome/lib/libgmodule-2.0.so.0 (0x4 0d01000) libdl.so.2 => /lib/libdl.so.2 (0x40d05000) libgthread-2.0.so.0 => /home/jfleck/garnome/lib/libgthread-2.0.so.0 (0x4 0d08000) libgsf-1.so.1 => /home/jfleck/garnome/lib/libgsf-1.so.1 (0x40d0d000) libgobject-2.0.so.0 => /home/jfleck/garnome/lib/libgobject-2.0.so.0 (0x4 0d28000) libxml2.so.2 => /home/jfleck/garnome/lib/libxml2.so.2 (0x40d59000) libz.so.1 => /usr/lib/libz.so.1 (0x40e35000) libm.so.6 => /lib/i686/libm.so.6 (0x40e43000) libglib-2.0.so.0 => /home/jfleck/garnome/lib/libglib-2.0.so.0 (0x40e6500 0) libc.so.6 => /lib/i686/libc.so.6 (0x42000000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40ec7000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40ee8000) libXft.so.2 => /home/jfleck/garnome/lib/libXft.so.2 (0x40ef6000) libXrender.so.1 => /home/jfleck/garnome/lib/libXrender.so.1 (0x40f06000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40f0e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Could you verify that you have CVS head gal, please? (And please make clean in there.)
I have gal 1.99.1, which according to configure.in should be sufficient: gal-2.0 >= 1.99
That ought to work, as long as you don't have half-half. Are there any console messages, btw.?
Here's the console. What do you mean by "half-half"? [jfleck@jelloiii jfleck]$ gnumeric ** (gnumeric:2117): WARNING **: Configured default font not available, trying fallback... ** (gnumeric:2117): WARNING **: font_name == NULL, Using Helvetica ** (gnumeric:2117): WARNING **: font_name == NULL, Using 9.000000 ** (gnumeric:2117): WARNING **: font_name == NULL, Using Helvetica ** (gnumeric:2117): WARNING **: font_name == NULL, Using 9.000000
Built from cvs head. Same result.
Hmm, those messages suggest some sort of gconf problem. The problem is likely caused by our not handling missing gconf properly somewhere. However, I have not been able to trick my gconf into failing in a while. Can you try to generate a new back trace with the cvs build ?
Got it. It took some kicking to make gconf fail (which is the real problem here) but once it was unhappy I could see the case causing the crash. Fixed in cvs.
Thanks.
I think this bug is fixed, so it should be closed.