dentry edit, occasional trailing garbage, sigsegv



I noticed the dentry edit widget used by gmenu and the panel would
(more than) occasionally add trailing garbage characters. When saving
a dentry.

So I linked gmenu with Electric Fence, here is the backtrace:

bash$ gdb ./gmenu
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 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 "i386-redhat-linux"...
(gdb) run
Starting program: /devel/work/gmenu/./gmenu 

  Electric Fence 2.0.5 Copyright (C) 1987-1995 Bruce Perens.
Loading Theme /usr/lib/gtk/themes/engines/libthinice.so

Program received signal SIGSEGV, Segmentation fault.
0x40047257 in gnome_dentry_edit_split (text=0x43baaff8 "soffice", 
    argcp=0x431eefd8, argvp=0x431eefdc)
    at /root/devel/source/gnome/gnome-libs/libgnomeui/gnome-dentry-edit.c:377
377	  for (p = text; *p; ++p) {
(gdb) bt
#0  0x40047257 in gnome_dentry_edit_split (text=0x43baaff8 "soffice", 
    argcp=0x431eefd8, argvp=0x431eefdc)
    at /root/devel/source/gnome/gnome-libs/libgnomeui/gnome-dentry-edit.c:377
#1  0x40047437 in gnome_dentry_edit_sync_dentry (dee=0x42c16fc8, 
    dentry=0x431eefd0)
    at /root/devel/source/gnome/gnome-libs/libgnomeui/gnome-dentry-edit.c:432
#2  0x40047716 in gnome_dentry_get_dentry (dee=0x42c16fc8)
    at /root/devel/source/gnome/gnome-libs/libgnomeui/gnome-dentry-edit.c:503
#3  0x804e389 in update_edit_area (d=0x431f0fe0) at edit.c:106
#4  0x804d4b6 in tree_item_selected (ctree=0x42349ee0, event=0x43efeb70, 
    data=0x0) at tree.c:338
#5  0x40269ac9 in gtk_marshal_BOOL__POINTER ()
#6  0x4022d475 in gtk_handlers_run ()
#7  0x4022c9f3 in gtk_signal_real_emit ()
#8  0x4022a84f in gtk_signal_emit ()
#9  0x40260cb8 in gtk_widget_event ()
#10 0x401ff4f2 in gtk_propagate_event ()
#11 0x401fe668 in gtk_main_do_event ()
#12 0x402a4c88 in gdk_event_dispatch ()
#13 0x403c315f in g_main_dispatch ()
#14 0x403c35e3 in g_main_iterate ()
#15 0x403c36e5 in g_main_run ()
#16 0x401fe239 in gtk_main ()
#17 0x804c816 in main (argc=1, argv=0xbffffd78) at gmenu.c:413
(gdb)

ho hum, I can't seem to find the exact problem. The offending .desktop file
looks fine:
--------------

[Desktop Entry]
Name=Star Office
Exec=soffice
Icon=/opt/gnome/share/pixmaps/launcher-program.png
Terminal=false
MultipleArgs=false
Type=Application
--------------

-John
--
John Ellis <johne@bellatlantic.net>
http://lowrent.org/gqview



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]