TreeView works bad



Hello,

My application crashes when I do the following:

1. Filling the treestore in a callback of a search.
2. Opening a subfolder in the treeview.
3. Select an Item in the subfolder, which does a callback with the TreeSelection. The callback doesn't do anything with the TreeModel.
4. Closing the Subfolder.

The last messages I get:

(gports:38264): Gtk-CRITICAL **: file gtktreestore.c: line 635 (gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE (tree_model)->stamp' failed
 (gports:38264): GLib-GObject-WARNING **: gtype.c:2967:
g_type_value_table_peek(): type id `0' is invalid
(gports:38264): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

gdb aborts with:

Program received signal SIGSEGV, Segmentation fault.
0x2842628d in gtk_tree_model_get_valist () from /usr/X11R6/lib/libgtk-
x11-2.0.so.200


and the backtrace is:

#0  0x2842628d in gtk_tree_model_get_valist () from /usr/X11R6/lib/
libgtk-x11-2.0.so.200
#1  0x2842612d in gtk_tree_model_get () from /usr/X11R6/lib/libgtk-x11-
2.0.so.200
#2 0x804c78b in show_ports_information (treeselection=0x81b1ba0, user_data=0x81b36e0) at ports-info.c:176
#3  0x288a01c5 in g_cclosure_marshal_VOID__VOID () from /usr/local/lib/
libgobject-2.0.so.200
#4  0x2888bb06 in g_closure_invoke () from /usr/local/lib/libgobject-
2.0.so.200
#5  0x2889f37d in signal_emit_unlocked_R () from /usr/local/lib/
libgobject-2.0.so.200
#6  0x2889dc03 in g_signal_emit_valist () from /usr/local/lib/
libgobject-2.0.so.200
#7  0x2889e63d in g_signal_emit_by_name () from /usr/local/lib/
libgobject-2.0.so.200
#8  0x284425a0 in gtk_tree_view_expand_row () from /usr/X11R6/lib/
libgtk-x11-2.0.so.200
#9  0x28436306 in gtk_tree_view_get_type () from /usr/X11R6/lib/libgtk-
x11-2.0.so.200
#10 0x28391517 in gtk_propagate_event () from /usr/X11R6/lib/libgtk-
x11-2.0.so.200
#11 0x2888bef7 in g_type_class_meta_marshal () from /usr/local/lib/
libgobject-2.0.so.200
#12 0x2888bb06 in g_closure_invoke () from /usr/local/lib/libgobject-
2.0.so.200
#13 0x2889f77f in signal_emit_unlocked_R () from /usr/local/lib/
libgobject-2.0.so.200
#14 0x2889dc5a in g_signal_emit_valist () from /usr/local/lib/
libgobject-2.0.so.200
#15 0x2889de94 in g_signal_emit () from /usr/local/lib/libgobject-2.0.
so.200
#16 0x28455115 in gtk_widget_send_expose () from /usr/X11R6/lib/libgtk-
x11-2.0.so.200
#17 0x28454d96 in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-
2.0.so.200
#18 0x283913c7 in gtk_propagate_event () from /usr/X11R6/lib/libgtk-
x11-2.0.so.200
#19 0x2839027e in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-
2.0.so.200
#20 0x2852bf36 in gdk_add_client_message_filter () from /usr/X11R6/lib/
libgdk-x11-2.0.so.200
#21 0x288df04d in g_main_dispatch () from /usr/local/lib/libglib-2.0.
so.200
#22 0x288dfe47 in g_main_context_dispatch () from /usr/local/lib/
libglib-2.0.so.200
#23 0x288e021a in g_main_context_iterate () from /usr/local/lib/
libglib-2.0.so.200
#24 0x288e091c in g_main_loop_run () from /usr/local/lib/libglib-2.0.
so.200
#25 0x2838f90e in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#26 0x804bdf8 in main (argc=1, argv=0xbfbffa8c) at main.c:35
#27 0x804ba46 in _start ()

Thanks for any idea.

Martin

--
If you've got an idea and need help,    ICQ: 72997139
or just need general encouragement,     MSN: kleinerdrache gmx at
write me a message. ;-)                 Yahoo-Messenger: walking2martin
                                        AIM: littlewizzard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]