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 108807 - crash after entering data and moving to a new cell
crash after entering data and moving to a new cell
Status: VERIFIED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.1.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-03-20 03:10 UTC by John Fleck
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Fleck 2003-03-20 03:10:40 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

Thread 1 (Thread 8192 (LWP 1394))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 646
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 gtk_label_new
    at gtklabel.c line 614
  • #7 gtk_list_item_new_with_label
    at gtklistitem.c line 393
  • #8 gtk_combo_stack_push_item
    at gtk-combo-stack.c line 226
  • #9 wb_control_undo_redo_push
    at workbook-control.c line 104
  • #10 command_register_undo
    at commands.c line 698
  • #11 command_push_undo
    at commands.c line 732
  • #12 cmd_set_text
    at commands.c line 880
  • #13 wbcg_edit_finish
    at workbook-edit.c line 183
  • #14 gnm_canvas_key_mode_sheet
    at gnumeric-canvas.c line 291
  • #15 gnm_canvas_key_press
    at gnumeric-canvas.c line 418
  • #16 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 82
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2860
  • #20 g_signal_emit_valist
    at gsignal.c line 2564

Comment 1 Jody Goldberg 2003-03-20 03:47:42 UTC
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.
Comment 2 John Fleck 2003-03-20 04:04:15 UTC
Sure. What should I be checking for?
Comment 3 Jody Goldberg 2003-03-20 04:12:24 UTC
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.
Comment 4 John Fleck 2003-03-20 04:15:11 UTC
 [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)
Comment 5 Morten Welinder 2003-03-20 21:52:14 UTC
Could you verify that you have CVS head gal, please?  (And please
make clean in there.)
Comment 6 John Fleck 2003-03-21 13:41:25 UTC
I have gal 1.99.1, which according to configure.in should be sufficient:

  gal-2.0		>= 1.99
Comment 7 Morten Welinder 2003-03-21 14:20:58 UTC
That ought to work, as long as you don't have half-half.
Are there any console messages, btw.?
Comment 8 John Fleck 2003-03-21 14:38:51 UTC
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
Comment 9 John Fleck 2003-03-26 04:15:24 UTC
Built from cvs head. Same result.
Comment 10 Jody Goldberg 2003-03-26 14:36:26 UTC
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 ?
Comment 11 Jody Goldberg 2003-03-26 16:03:57 UTC
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.
Comment 12 John Fleck 2003-03-27 02:18:19 UTC
Thanks.
Comment 13 Andreas J. Guelzow 2003-04-02 01:53:16 UTC
I think this bug is fixed, so it should be closed.