[Gtk-sharp-list] Mono 1.1.5 and GTK# crash

tekhedd@byteheaven.net tekhedd@byteheaven.net
Wed, 30 Mar 2005 17:13:16 -0800

The following message was sent by Tom McLaughlin <tmclaugh@sdf.lonestar.org> 
on Tue, 29 Mar 2005 23:53:17 -0500.
> I'm getting the following crash when trying to start up any C# app that
> uses glade# such as Monodoc and Blam.

I am experiencing identical behavior (null ptr exception in Autoconnect()) 
with mono 1.1.5. 

As a bonus, I am also unable to catch this exception! The trace statements 
put it square in the middle of a try/catch block, and I recieve the "unhandled 
exception" message even if I add a catch-all block at the end.  Very odd.

tom (no, the other tom)

> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0x00000> <unknown method>
> in (wrapper managed-to-native)
> SignalConnector:glade_xml_signal_autoconnect_full
> (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
> in <0x00059> Glade.XML+SignalConnector:Autoconnect ()
> in <0x00048> Glade.XML:Autoconnect (System.Object handler)
> in <0x00062> Monodoc.Browser:.ctor ()
> in <0x002ee> Monodoc.Driver:Main (System.String[] args)
> This only happens when using Mono 1.1.5 and either GTK# 1.0.6 or 1.0.8.
> Mono 1.1.4 with either of these works just fine.  Not sure if GTK# 1.0.x
> is just no longer compatible with Mono 1.1.x and not intended to be?
> Thanks.