For several weeks now I could not remove panels using the panel configuration dialog. Today I fired up gdb to see what's going on and the problem is related to the panel selector combo box. It happens when calling gtk_combo_box_remove_text() in panel/panel-dialogs.c at line 1574: Program received signal SIGINT, Interrupt. 0xb7d5d864 in gtk_combo_box_remove_text () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt #0 0xb7d5d864 in gtk_combo_box_remove_text () from /usr/lib/libgtk-x11-2.0.so.0 #1 0x08057f8e in remove_panel (w=0x93ce960, pmd=0x9076cd8) at panel-dialogs.c:1574 #2 0xb7900f6d in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #3 0xb78f2fd3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #4 0xb7908218 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0 #5 0xb7909ff9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #6 0xb790a602 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #7 0xb7d2a472 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0 #8 0xb7d2bd65 in gtk_real_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #9 0xb7900f6d in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #10 0xb78f1331 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0 #11 0xb78f2fd3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #12 0xb7907e6c in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0 #13 0xb7909ff9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #14 0xb790a602 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #15 0xb7d2a4a7 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #16 0xb7d2a4ce in gtk_button_button_release () from /usr/lib/libgtk-x11-2.0.so.0 #17 0xb7deca1b in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #18 0xb78f1331 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0 #19 0xb78f2fd3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #20 0xb7908596 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0 #21 0xb7909d09 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0xb790a602 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0xb7ee5ef1 in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0 #24 0xb7de7aee in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #25 0xb7de8a66 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xb7c7a349 in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0 #27 0xb782d3a9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #28 0xb78305e1 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #29 0xb7830904 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #30 0xb7de8eb2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #31 0x08053475 in panel_app_run (client_id=0x0) at panel-app.c:751 #32 0x080502c3 in main (argc=1, argv=0xbf847d74) at main.c:154 Please note that it doesn't crash. It's just running into an endless loop inside gtk_combo_box_text_remove(). I cooked up a patch which simply uses the list store of the combo box to remove items from it. Works fine. Please consider applying it.
Created attachment 1826 Patch to replace the gtk_combo_box_remove_text() loop with a simple gtk_list_store_clear() call.
Please commit, looks good to me.
Okay, fixed in revision 27921.
*** Bug 4472 has been marked as a duplicate of this bug. ***