! 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 in add items dialog (treeview)
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Jasper Huijsmans editbugs 2007-02-20 19:02:28 CET
Reported on the forum: http://forum.xfce.org/index.php?topic=3181.0 .

Apparently the crash is in the treeview code when nothing has yet been selected. There is a warning from the treeview filter, but that's not where the crash occurs:

(xfce4-panel:32744): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion `GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed

(xfce4-panel:32744): GLib-GObject-WARNING **: gtype.c:3312: type id `0' is invalid

(xfce4-panel:32744): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
Segmentation fault 

Backtrace:

(gdb) bt
#0  0xb7ddd6c8 in gtk_tree_model_get_valist ()
   from /usr/lib/libgtk-x11-2.0.so.0
#1  0xb7ddd8f6 in gtk_tree_model_get () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x08057668 in cursor_changed (tv=0x80a3db0, pid=0x8090aa0)
    at panel-dialogs.c:212
#3  0xb7864cb8 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#4  0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0xb7863678 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#6  0xb78645d4 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#7  0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0xb7dfcd48 in gtk_tree_view_scroll_to_cell ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb7e04142 in gtk_tree_view_set_cursor_on_cell ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7e0426c in gtk_tree_view_set_cursor () from 
/usr/lib/libgtk-x11-2.0.so.0
#11 0x08058607 in add_items_dialog (panels=0x80a59a0, active_item=0x0)
    at panel-dialogs.c:492
#12 0x08051ed2 in panel_app_customize_items (active_item=0x0)
    at panel-app.c:793
#13 0xb7864cb8 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb7863678 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#16 0xb78645d4 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#17 0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb7e19d6b in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7d30dc2 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7d31098 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7d265b9 in gtk_menu_reorder_child () from 
/usr/lib/libgtk-x11-2.0.so.0
#22 0xb7d203f0 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb784e119 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#24 0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0xb78631eb in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#26 0xb786431d in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#27 0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0xb7e19ef4 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7d1e857 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7d1eb8f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb7ba5841 in gdk_event_get_graphics_expose ()
   from /usr/lib/libgdk-x11-2.0.so.0
#32 0xb77db487 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#33 0xb77dce25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#34 0xb77dd14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#35 0xb7d1de33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x08051b8f in panel_app_run (argc=1, argv=0xbf95f1d4) at 
panel-app.c:735
#37 0x08051047 in main (argc=1, argv=0xbf95f1d4) at main.c:167
(gdb)
Comment 1 Jasper Huijsmans editbugs 2007-03-17 14:57:44 CET
Fixed according to original reporter.

Bug #2933

Reported by:
Jasper Huijsmans
Reported on: 2007-02-20
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information