GNOME Bugzilla – Bug 344852
gnome-panel crashes when attempting to add a custom launcher
Last modified: 2006-08-10 09:19:10 UTC
Steps to reproduce: 1. Right click on either edge of top panel and select 'Add to panel' 2. Click on 'Custom Application lanucher' 3. boom Stack trace: GnomeUI-CRITICAL **: gnome_icon_selection_clear: assertion `gis != NULL' failed aborting... (gdb) where
+ Trace 68835
Other information:
Using latest glib/gtk+ with --disable-debug compile option. % gnome-panel --version Gnome gnome-panel 2.14.1 % pkg-config --modversion glib-2.0 2.11.3 % pkg-config --modversion gtk+-2.0 2.9.3
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. I can't reproduce it with gnome-panel 2.14.1.
Created attachment 67333 [details] Full debug stack
It looks like this was due to possible incorrect values in the gconf entry: laptop ~% gconftool-2 --dump /apps/gnome-settings/gnome-panel <gconfentryfile> <entrylist base="/apps/gnome-settings/gnome-panel"> <entry> <key>history-command</key> <value> <list type="string"> <value> <string>gnome-calculator</string> </value> </list> </value> </entry> <entry> <key>history-desktop-icon</key> <value> <list type="string"> <value> <string>/usr/share/d4x/themes/bluecurve/toolbar</string> </value> <value> <string>/usr/share/d4x/themes/old_theme</string> </value> <value> <string>/usr/share/d4x/themes/</string> </value> <value> <string>/usr/share/icons/dlg-etiquette/scalable/apps/mozilla-firefox.svg</string> </value> <value> <string>/usr/share/icons/Lila/scalable/stock</string> </value> <value> <string>/usr/share/icons/dlg-etiquette/scalable/apps/mozilla-thunderbird.svg</string> </value> <value> <string>/usr/local/share/icons/Lila/scalable/stock</string> </value> <value> <string>/usr/local/share/icons/Wasp/scalable/apps</string> </value> <value> <string>/usr/local/share/icons/Nuvola/scalable/apps/mozilla.svg</string> </value> <value> <string>/usr/local/share/icons/Amaranth/scalable/apps/mozilla.svg</string> </value> </list> </value> </entry> <entry> <key>history-gnome-run</key> <value> <list type="string"> <value> <string>xterm</string> </value> <value> <string>gkrellm</string> </value> </list> </value> </entry> </entrylist> </gconfentryfile> If i clean the entry out, then it works just fine: gconftool-2 --set /apps/gnome-settings/gnome-panel/history-desktop-icon -t list --list-type=string '[]' If you now add a dummy entry: gconftool-2 --set /apps/gnome-settings/gnome-panel/history-desktop-icon -t list --list-type=string '[/usr/local/share/icons/Lila/scalable/stock]' Then try getting adding a custom launcher you get the crash. I believe this bug should be moved to libgnomeui as this is where the crash is happening !
*** Bug 345168 has been marked as a duplicate of this bug. ***
*** Bug 347279 has been marked as a duplicate of this bug. ***
*** Bug 347335 has been marked as a duplicate of this bug. ***
I had this happen when right-clicking on a panel launcher and choosing Properties. I'm running Gnome 2.15.4 with libgnomeui 2.15.2, gnome-panel 2.14.2, Gentoo. Here's a stack trace: Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 47301947798960 (LWP 3942)] 0x00002b05568991fc in IA__g_logv (log_domain=0x2b0551c6105f "GnomeUI", log_level=<value optimized out>, format=0x2b05568c1dd5 "%s: assertion `%s' failed", args1=0x7fff590dfb00) at gmessages.c:493 493 gmessages.c: No such file or directory. in gmessages.c (gdb) thread apply all bt
+ Trace 69491
Thread 1 (Thread 47301947798960 (LWP 3942))
This still happens with gnome-panel 2.15.91/libgnomeui 2.15.91.
Should be fixed now. *** This bug has been marked as a duplicate of 350425 ***