[Gtk-sharp-list] App crashes...

Nathan Clemons linux@windsofstorm.net
Thu, 26 Aug 2004 22:09:30 -0400

Converted an MPEG joining program that I'd previously written in Gtk to
Gtk#. (Still some things not implemented, but the core functionality

Only, I'm stuck on a bug that cropped up. After I go through and join
some files together (which does work), if I then go to the File menu to
quit the app gracefully, it crashes with the following error:

Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00056> gFuseMPEG.gFuseMPEGApp:Main (string[])

Not really sure where this is coming from... if anyone could take a look
over the code and suggest what I might be doing wrong, I'd appreciate


It's about 300 lines or so.

Nathan P. Clemons, Sun Microsystems CSA (2.6)