gtktree assertion failed



hi there,
i 've trouble with using an editable gtktree. i inserted the data correctly without getting glib or gtk warnings. but when i move over the visible part of the table, there shows up a long list of warnings:

----------------
te2 (pid:12435): Gtk-CRITICAL **: file gtktreestore.c: line 615 (gtk_tree_store_get_value): assertion `column < GTK_TREE_STORE (tree_model)->n_columns' failed

te2 (pid:12435): GLib-GObject-CRITICAL **: file gobject.c: line 989 (g_object_set_property): assertion `G_IS_VALUE (value)' failed

te2 (pid:12435): GLib-GObject-CRITICAL **: file gvalue.c: line 147 (g_value_unset): assertion `G_IS_VALUE (value)' failed

te2 (pid:12435): Gtk-CRITICAL **: file gtktreestore.c: line 615 (gtk_tree_store_get_value): assertion `column < GTK_TREE_STORE (tree_model)->n_columns' failed

te2 (pid:12435): GLib-GObject-CRITICAL **: file gobject.c: line 989 (g_object_set_property): assertion `G_IS_VALUE (value)' failed
----------------

i put a breakpoint at g_log to see where it comes from:

#0  g_log (log_domain=0x4020f2ce "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x4020f300 "file %s: line %d (%s): assertion `%s' failed")
    at gmessages.c:569
#1  0x4017865a in gtk_tree_store_get_value (tree_model=0x845fb08, iter=0xbfffeb50, column=138798464, value=0xbfffea30)
    at gtktreestore.c:615
#2  0x4016fa28 in gtk_tree_model_get_value (tree_model=0x845fb08, iter=0xbfffeb50, column=138798464, value=0xbfffea30)      //thats the point where the parameter column is wrong!!
    at gtktreemodel.c:758
#3  0x4018fce6 in gtk_tree_view_column_cell_set_cell_data (tree_column=0x846aaa0, tree_model=0x845fb08, iter=0xbfffeb50, is_expander=0,
    is_expanded=0) at gtktreeviewcolumn.c:2091
#4  0x4017fcb5 in gtk_tree_view_bin_expose (widget=0x8465318, event=0xbffff1f0) at gtktreeview.c:2698
#5  0x400db74d in _gtk_marshal_BOOLEAN__BOXED (closure=0x8349220, return_value=0xbfffed90, n_param_values=2, param_values=0xbfffeed0,
    invocation_hint=0xbfffedc8, marshal_data=0x40180368) at gtkmarshalers.c:37
#6  0x40490357 in g_type_class_meta_marshal (closure=0x8349220, return_value=0xbfffed90, n_param_values=2, param_values=0xbfffeed0,
    invocation_hint=0xbfffedc8, marshal_data=0xa8) at gclosure.c:514
---Type <return> to continue, or q <return> to quit---
#7  0x4048ff5e in g_closure_invoke (closure=0x8349220, return_value=0xbfffed90, n_param_values=2, param_values=0xbfffeed0,
    invocation_hint=0xbfffedc8) at gclosure.c:437
#8  0x404a426c in signal_emit_unlocked_R (node=0x8349260, detail=0, instance=0x8465318, emission_return=0xbfffee60,
    instance_and_params=0xbfffeed0) at gsignal.c:2378
#9  0x404a262c in g_signal_emit_valist (instance=0x8465318, signal_id=29, detail=0, var_args=0xbffff15c) at gsignal.c:2109
#10 0x401165b9 in gtk_signal_emit (object=0x8465318, signal_id=29) at gtksignal.c:355
#11 0x4019b106 in gtk_widget_event_internal (widget=0x8465318, event=0xbffff1f0) at gtkwidget.c:3061
#12 0x400da444 in gtk_main_do_event (event=0xbffff1f0) at gtkmain.c:1045
#13 0x4024eea6 in gdk_window_process_updates_internal (window=0x84a7da8) at gdkwindow.c:2019
#14 0x4024ef46 in gdk_window_process_all_updates () at gdkwindow.c:2052
#15 0x4024ef7e in gdk_window_update_idle (data="" at gdkwindow.c:2064
#16 0x404e8278 in g_idle_dispatch (source=0x84c9368, callback=0x4024ef68 <gdk_window_update_idle>, user_data=0x0) at gmain.c:3116
#17 0x404e5c92 in g_main_dispatch (context=0x832c6d8) at gmain.c:1616
---Type <return> to continue, or q <return> to quit---
#18 0x404e6a4d in g_main_context_dispatch (context=0x832c6d8) at gmain.c:2148
#19 0x404e6de4 in g_main_context_iterate (context=0x832c6d8, block=1, dispatch=1, self=0x8365c28) at gmain.c:2229
#20 0x404e6f5b in g_main_context_iteration (context=0x0, may_block=1) at gmain.c:2288
#21 0x400da091 in gtk_main_iteration () at gtkmain.c:890
#22 0x081b5444 in bisMainLoop (kontext=0x0, workProcStarten=1) at x11ereignis.c:99
#23 0x0804ea60 in main (argc=1, argv=0xbffff47c) at mainOG.c:129
#24 0x40a7b177 in __libc_start_main (main=0x804e8f0 <main>, argc=1, ubp_av=0xbffff47c, init=0x804d08c <_init>, fini=0x81cb290 <_fini>,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff46c) at ../sysdeps/generic/libc-start.c:129

i dont have any ideas where to search the error... any suggestions to this? what did i do wrong??
please help...

Milan Wölke


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