[Gtk-sharp-list] Random NullReferenceExceptions in GLib

Eric Butler eric@extremeboredom.net
Fri, 06 May 2005 17:00:26 -0700


--=-YLTtekupkNZUOP1OoeWw
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

My program is randomly throwing the following exception. Since it is in
unmanaged code (and in the Gtk mainloop), I have no idea how to even
begin debugging this. Can anyone please help? This is with Gtk# trunk.

Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in (unmanaged) 0x8ac9250
in <0x00004> (wrapper managed-to-native) GLib.Object:g_object_unref
(intptr)
in [0x00099] (at /home/brady/sources/gtk-sharp/glib/Object.cs:65)
GLib.Object:PerformQueuedUnrefs ()
in <0x00048> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_bool ()
in [0x0000d] (at /home/brady/sources/gtk-sharp/glib/Idle.cs:46)
IdleProxy:Handler ()
in <0x00036> (wrapper native-to-managed) IdleProxy:Handler ()
in (unmanaged) 0xb7f78a02
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in [0x00000] (at /home/brady/sources/gtk-sharp/gtk/Application.cs:99)
Gtk.Application:Run ()
in [0x002ce]
(at /home/brady/sources/FileFind.Meshwork.GtkClient/src/Main.cs:192)
gMeshwork:Go (string[])
in [0x00008]
(at /home/brady/sources/FileFind.Meshwork.GtkClient/src/Main.cs:72)
gMeshwork:Main (string[])

Thanks :(

--=-YLTtekupkNZUOP1OoeWw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCfAUZsSPwEOmqwCIRAlcfAJ9Zr4Iz2u+kV9swrYFAwEP4IJuTAACglGJk
FBnVfvdqMofWXmZgp/wcw+I=
=g8IO
-----END PGP SIGNATURE-----

--=-YLTtekupkNZUOP1OoeWw--