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 344852 - gnome-panel crashes when attempting to add a custom launcher
gnome-panel crashes when attempting to add a custom launcher
Status: RESOLVED DUPLICATE of bug 350425
Product: libgnomeui
Classification: Deprecated
Component: general
2.14.x
Other All
: High critical
: ---
Assigned To: libgnomeui maintainers
libgnomeui maintainers
: 345168 347279 347335 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-14 07:17 UTC by Mitch
Modified: 2006-08-10 09:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Full debug stack (24.78 KB, text/plain)
2006-06-14 09:42 UTC, Mitch
Details

Description Mitch 2006-06-14 07:17:53 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
  • #0 kill
    from /lib/libc.so.6
  • #1 pthread_kill
    from /lib/libpthread.so.0
  • #2 raise
    from /lib/libpthread.so.0
  • #3 raise
    from /lib/libc.so.6
  • #4 abort
    from /lib/libc.so.6
  • #5 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #6 g_log
    from /usr/lib/libglib-2.0.so.0
  • #7 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #8 gnome_icon_selection_clear
    at gnome-icon-sel.c line 500
  • #9 entry_activated
    at gnome-icon-entry.c line 396
  • #10 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #13 ??


Other information:
Comment 1 Mitch 2006-06-14 07:21:04 UTC
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
Comment 2 Fabio Bonelli 2006-06-14 08:46:38 UTC
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.
Comment 3 Mitch 2006-06-14 09:42:19 UTC
Created attachment 67333 [details]
Full debug stack
Comment 4 Mitch 2006-06-15 07:14:50 UTC
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 !
Comment 5 Elijah Newren 2006-06-17 15:53:15 UTC
*** Bug 345168 has been marked as a duplicate of this bug. ***
Comment 6 Fabio Bonelli 2006-07-12 09:39:43 UTC
*** Bug 347279 has been marked as a duplicate of this bug. ***
Comment 7 Fabio Bonelli 2006-07-12 22:30:18 UTC
*** Bug 347335 has been marked as a duplicate of this bug. ***
Comment 8 Jose M. daLuz 2006-07-21 04:58:30 UTC
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

Thread 1 (Thread 47301947798960 (LWP 3942))

  • #0 IA__g_logv
    at gmessages.c line 493
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 entry_activated
    at gnome-icon-entry.c line 395
  • #3 IA__g_closure_invoke
    at gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #5 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #6 IA__g_signal_emit
    at gsignal.c line 2241
  • #7 IA__gtk_widget_activate
    at gtkwidget.c line 3932
  • #8 IA__g_closure_invoke
    at gclosure.c line 490
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2508
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #11 IA__g_signal_emit_by_name
    at gsignal.c line 2265
  • #12 gtk_entry_real_insert_text
    at gtkentry.c line 2430
  • #13 IA__g_closure_invoke
    at gclosure.c line 490
  • #14 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #16 IA__g_signal_emit_by_name
    at gsignal.c line 2265
  • #17 gtk_entry_insert_text
    at gtkentry.c line 2130
  • #18 IA__gtk_entry_set_text
    at gtkentry.c line 4128
  • #19 gtk_combo_update_entry
    at gtkcombo.c line 695
  • #20 IA__g_closure_invoke
    at gclosure.c line 490
  • #21 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #22 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #23 gtk_signal_emit
    at gtksignal.c line 360
  • #24 IA__g_closure_invoke
    at gclosure.c line 490
  • #25 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #26 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #27 IA__g_signal_emit
    at gsignal.c line 2241
  • #28 IA__g_closure_invoke
    at gclosure.c line 490
  • #29 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #30 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #31 gtk_signal_emit
    at gtksignal.c line 360
  • #32 IA__g_closure_invoke
    at gclosure.c line 490
  • #33 signal_emit_unlocked_R
    at gsignal.c line 2368
  • #34 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #35 IA__g_signal_emit
    at gsignal.c line 2241
  • #36 gtk_combo_set_popdown_strings
    at gtkcombo.c line 1115
  • #37 set_combo_items
    at gnome-entry.c line 595
  • #38 gnome_entry_load_history
    at gnome-entry.c line 748
  • #39 IA__g_object_set_valist
    at gobject.c line 695
  • #40 IA__g_object_set
    at gobject.c line 1181
  • #41 gnome_icon_entry_construct
    at gnome-icon-entry.c line 1075
  • #42 gnome_icon_entry_new
    at gnome-icon-entry.c line 1095
  • #43 gnome_ditem_edit_instance_init
    at gnome-ditem-edit.c line 428
  • #44 IA__g_type_create_instance
    at gtype.c line 1567
  • #45 g_object_constructor
    at gobject.c line 1015
  • #46 IA__g_object_newv
    at gobject.c line 912
  • #47 IA__g_object_new_valist
    at gobject.c line 955
  • #48 IA__g_object_new
    at gobject.c line 793
  • #49 gnome_ditem_edit_new
    at gnome-ditem-edit.c line 843
  • #50 launcher_properties
    at launcher.c line 849
  • #51 IA__g_closure_invoke
    at gclosure.c line 490
  • #52 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #53 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #54 IA__g_signal_emit
    at gsignal.c line 2241
  • #55 IA__gtk_widget_activate
    at gtkwidget.c line 3932
  • #56 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1024
  • #57 gtk_menu_shell_button_release
    at gtkmenushell.c line 630
  • #58 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #59 IA__g_closure_invoke
    at gclosure.c line 490
  • #60 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #61 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #62 IA__g_signal_emit
    at gsignal.c line 2241
  • #63 gtk_widget_event_internal
    at gtkwidget.c line 3901
  • #64 IA__gtk_propagate_event
    at gtkmain.c line 2187
  • #65 IA__gtk_main_do_event
    at gtkmain.c line 1421
  • #66 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #67 IA__g_main_context_dispatch
    at gmain.c line 2043
  • #68 g_main_context_iterate
    at gmain.c line 2675
  • #69 IA__g_main_loop_run
    at gmain.c line 2879
  • #70 IA__gtk_main
    at gtkmain.c line 1000
  • #71 main
    at main.c line 92

Comment 9 Jose M. daLuz 2006-08-10 03:43:41 UTC
This still happens with gnome-panel 2.15.91/libgnomeui 2.15.91.
Comment 10 Kjartan Maraas 2006-08-10 09:19:10 UTC
Should be fixed now.

*** This bug has been marked as a duplicate of 350425 ***