According to the changelog, this is in part fixed in gtk-sharp2 2.12.0-2ubuntu2:
gtk-sharp2 (2.12.0-2ubuntu2) hardy; urgency=low
* debian/patches/02_quit-prepare.dpatch:
+ Add Gtk.Application.QuitPrepare event that allows to execute a delegate
just before the GTK mainloop is stopped. Preparation of a fix for
LP #199496. Patch from Mike Kestner.
* debian/rules:
+ Update API_VERSION to 2.12.0-2ubuntu2 for the above change.
* debian/patches/02_program-dispose-before-quit.dpatch:
+ Dispose Gnome.Program before we quit the main loop and let us get rid of
our toggle ref. Otherwise libgnome will unref the global Gnome.Program
instance in an atexit() handler, calling back into managed code which
doesn't exist anymore after the call to exit(). This then causes
a segfault when exiting the application (LP: #199496).
Patch from Mike Kestner.
* debian/control:
+ Require libgtk2.0-cil (>= 2.12.0-2ubuntu2) for the above change.
According to the changelog, this is in part fixed in gtk-sharp2 2.12.0-2ubuntu2:
gtk-sharp2 (2.12.0-2ubuntu2) hardy; urgency=low
* debian/ patches/ 02_quit- prepare. dpatch: .QuitPrepare event that allows to execute a delegate
+ Add Gtk.Application
just before the GTK mainloop is stopped. Preparation of a fix for
LP #199496. Patch from Mike Kestner.
* debian/rules:
+ Update API_VERSION to 2.12.0-2ubuntu2 for the above change.
-- Sebastian Droege < <email address hidden>> Mon, 14 Apr 2008 18:29:58 +0200
And the rest of the fix happened in gnome-sharp2:
gnome-sharp2 (2.20.0-2ubuntu2) hardy; urgency=low
* debian/ patches/ 02_program- dispose- before- quit.dpatch:
+ Dispose Gnome.Program before we quit the main loop and let us get rid of
our toggle ref. Otherwise libgnome will unref the global Gnome.Program
instance in an atexit() handler, calling back into managed code which
doesn't exist anymore after the call to exit(). This then causes
a segfault when exiting the application (LP: #199496).
Patch from Mike Kestner.
* debian/control:
+ Require libgtk2.0-cil (>= 2.12.0-2ubuntu2) for the above change.
-- Sebastian Droege < <email address hidden>> Mon, 14 Apr 2008 18:33:58 +0200
so marking this bug as fix released now.