! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel crash when opening launcher properties dialog
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Nikolas.Arend 2006-07-13 14:33:09 CEST
When right-clicking on a launcher and selecting "Properties" in order to configure the launcher, I get a crash, see backtrace below. I have a two-panel layout (one hidden, one normal). This seems to happen only with the launcher, there's no crash when opening the properties dialog of any plugin I have (menu, tasklist, clock, show-desktop, keyboard-switcher).

The svn revision is 22438 (panel and all other components, except xfdesktop, which doesn't compile here atm).

Best,  Nick.


DBG[panel-app.c:873] panel_app_set_current_panel(): Current panel: 1
DBG[panel-properties.c:393] panel_resize_function():
 + Position: 4
 + Offset: (0, 0)
DBG[panel-properties.c:309] _set_struts():
Struts: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DBG[xfce-panel-internal-plugin.c:547] xfce_internal_panel_plugin_register_menu(): register menu
DBG[panel-properties.c:893] panel_block_autohide(): block
DBG[panel-properties.c:909] panel_unblock_autohide(): unblock

(xfce4-panel:1723): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed

(xfce4-panel:1723): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed

(xfce4-panel:1723): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed

(xfce4-panel:1723): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208481504 (LWP 1723)]
0x0383d061 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) where
#0  0x0383d061 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x037381bd in gtk_image_menu_item_new_with_label ()
   from /usr/lib/libgtk-x11-2.0.so.0
#2  0x00e4d4c1 in add_entry_icon_options (ld=0x8e581f0, box=Variable "box" is not available.
)
    at launcher-dialog.c:523
#3  0x00e4de3c in launcher_dialog_add_entry_properties (ld=0x8e581f0, box=Variable "box" is not available.
)
    at launcher-dialog.c:775
#4  0x00e4f530 in launcher_properties_dialog (plugin=0x8b09d40, launcher=0x8e25f30)
    at launcher-dialog.c:1339
#5  0x00e4a7ee in launcher_configure (plugin=0x8b09d40, launcher=0x8e25f30)
    at launcher.c:124
#6  0x006b6233 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#7  0x006aaba8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x006b8fa5 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#9  0x006ba7d2 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x006bab43 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x00e1365b in xfce_panel_plugin_signal_configure (plugin=0x8b09d40)
    at xfce-panel-plugin-iface.c:414
#12 0x006b6233 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#13 0x006aaba8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x006b8fa5 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#15 0x006ba7d2 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x006bab43 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x03836fbd in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x03763d09 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x03763fdd in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0375a70e in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x0375501c in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x006aa575 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#23 0x006aaba8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#24 0x006b9687 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#25 0x006ba547 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x006bab43 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x0383719f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x03753757 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x03753b90 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x034c81f4 in gdk_screen_get_setting () from /usr/lib/libgdk-x11-2.0.so.0
#31 0x009953b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x009983a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#33 0x009986c8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0x03752e55 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x0804fd85 in panel_app_run (argc=1, argv=0xbfda2974) at panel-app.c:612
#36 0x0804f2c6 in main (argc=1, argv=0xbfda2974) at main.c:167
Comment 1 Jasper Huijsmans editbugs 2006-07-13 17:41:08 CEST
That looks very familiar... I'm sure I have fixed that bug before... I wonder if it has something to do with updates in xfce_themed_icon_* again.
Comment 2 Jasper Huijsmans editbugs 2006-07-13 18:48:44 CEST
Could you try rev 22440? That should fix it.
Comment 3 Nikolas.Arend 2006-07-13 20:24:49 CEST
Looks good, no more crash.

Thanks, Jasper!

Bug #2027

Reported by:
Nikolas.Arend
Reported on: 2006-07-13
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information