This looks like a GTK bug to me... but I'm still not sure
Debugging my gFiles program, I noticed if I do excessive clicking on the
GtkTree (each click causes my GtkCList on the right side to update, and GtkTree
clicks go through during that update because of a
while (gtk_events_pending())
        gtk_main_iteration();
loop), gtk_tree_item_deselect segfaults, due to being sent a GtkTreeItem that is
indeed not a GtkTreeItem:

Program received signal SIGSEGV, Segmentation fault.
0x40122dee in gtk_tree_item_deselect (tree_item=0x80fcab0) at gtktreeitem.c:356
356       g_return_if_fail (GTK_IS_TREE_ITEM (tree_item));
(gdb) print tree_item->subtree
$27 = (struct _GtkWidget *) 0x782d
(gdb) print tree_item->pixmaps_box
$28 = (struct _GtkWidget *) 0x0
(gdb) print tree_item->expanded
$29 = 0
(gdb) print tree_item->item    
$30 = {bin = {container = {widget = {object = {klass = 0x75306466, flags = 3158583, 
          ref_count = 16, object_data = 0x11}, private_flags = 25135, state = 105 'i', 
        saved_state = 110 'n', name = 0x756f6d2f "", style = 0x746e, requisition = {
          width = 25, height = 0}, allocation = {x = 25704, y = 13672, width = 19456, 
          height = 2065}, window = 0x30363375, parent = 0x0}, focus_child = 0x18, 
      border_width = 41, need_resize = 0, resize_mode = 0, reallocate_redraws = 0, 
      resize_widgets = 0x7877722d}, child = 0x72782d72}}
(gdb) print tree_item->item->bin->container->widget->object->klass->type
$31 = 0

^^^^^^^  GtkType = 0?

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to