[Gtk-sharp-list] SIGABRT during TreeStore.Remove()

Draek draekz at gmail.com
Mon Dec 25 04:29:37 EST 2006


When I am doing a TreeStore.Remove() for an iter that I have had stored
in an array, I sometimes get this Gtk Error that totally aborts my
program and crashes.

I've tried to look on the net for some information, but am finding very
little. Could someone enlighten me on what this means?

Gtk-ERROR **: file gtktreemodelfilter.c: line 1584
(gtk_tree_model_filter_row_has_child_toggled): assertion failed:
(elt->visible)
aborting...

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native) Gtk.TreeStore.gtk_tree_store_remove
(intptr,Gtk.TreeIter&) <0x00004>
  at (wrapper managed-to-native) Gtk.TreeStore.gtk_tree_store_remove
(intptr,Gtk.TreeIter&) <0xffffffff>
  at Gtk.TreeStore.Remove (Gtk.TreeIter&) <0x00024>
  at Galaxium.Client.ContactListTree.Remove_Contact_From_Group
(Galaxium.Services.IContact,string) [0x000af]
in /home/draek/Projects/Galaxium/trunk/Galaxium.Client/Objects/ContactListTree.cs:728
  at Galaxium.Client.ContactListTree.Remove_Contact
(Galaxium.Services.IContact) [0x00052]
in /home/draek/Projects/Galaxium/trunk/Galaxium.Client/Objects/ContactListTree.cs:667
  at Galaxium.Client.ContactListTree.Refresh_Contact
(Galaxium.Services.IContact) [0x00000]
in /home/draek/Projects/Galaxium/trunk/Galaxium.Client/Objects/ContactListTree.cs:411
  at <>AnonHelp<5>.<#AnonymousMethod>3 (object,System.EventArgs)
<0x00027>
  at (wrapper delegate-invoke)
System.MulticastDelegate.invoke_void_object_EventArgs
(object,System.EventArgs) <0xffffffff>
  at InvokeCB.Invoke () <0x0001a>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool ()
<0xffffffff>
  at TimeoutProxy.Handler () <0x0002a>
  at (wrapper native-to-managed) TimeoutProxy.Handler () <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main ()
<0xffffffff>
  at Gtk.Application.Run () <0x00007>
  at Galaxium.Client.Galaxium..ctor (string[]) [0x000d4]
in /home/draek/Projects/Galaxium/trunk/Galaxium.Client/Galaxium.cs:107
  at MainClass.Main (string[]) [0x00000]
in /home/draek/Projects/Galaxium/trunk/Galaxium.Client/Galaxium.cs:40
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	mono(mono_handle_native_sigsegv+0xde) [0x815644e]
	[0xffffe440]
	/lib/tls/i686/cmov/libc.so.6(abort+0x103) [0xb7d97ef3]
	/usr/lib/libglib-2.0.so.0(g_logv+0x4c2) [0xb7f2e122]
	/usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f2e159]
	/usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7f2e1d6]
	/usr/lib/libgtk-x11-2.0.so.0 [0xb6d7dd4f]
	/usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_VOID__BOXED_BOXED+0x5d)
[0xb6c9f29d]
	/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0xb6ebd79b]
	/usr/lib/libgobject-2.0.so.0 [0xb6ecdb93]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0xb6ecf0b7]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ecf279]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_row_has_child_toggled+0x79)
[0xb6d77699]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_tree_store_remove+0x162) [0xb6d87b12]
	[0xb26e7c58]
	[0xb26e7bed]
	[0xb27c6164]
	[0xb27c5c10]
	[0xb27c5b26]
	[0xb27c5af8]
	[0xb623849a]
	[0xb5e90f7b]
	[0xb5e90438]
	[0xb5e903b3]
	[0xb5fa5cdf]
	/usr/lib/libglib-2.0.so.0 [0xb7f25dd6]
	/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182) [0xb7f25802]
	/usr/lib/libglib-2.0.so.0 [0xb7f287df]
	/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9) [0xb7f28b89]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0xb6c9b574]
	[0xb5e90369]
	[0xb5e90328]
	[0xb7426f76]
	[0xb7426b0a]
	[0xb7426a73]
	mono(mono_runtime_exec_main+0x62) [0x80996b2]
	mono(mono_runtime_run_main+0x1b9) [0x8099999]
	mono(mono_main+0xe47) [0x805d477]
	mono [0x805c122]
	/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7d828cc]
	mono [0x805c071]


Thanks guys,

Draek




More information about the Gtk-sharp-list mailing list