[Mono-list] Mono-Glade program crashes

Miguel de Icaza miguel at novell.com
Sun Feb 11 08:34:28 EST 2007


> I'm using mono version under Windows XP in order to make some tests.
> I use glade and my compilation command is:
> mcs -pkg:glade-sharp -pkg:gtk-sharp -resource:gui.glade Main.cs

Maybe you need glade-sharp-2.0 and gtk-sharp-2.0


> When I run it, the window shows up for a bit of second and dissapears, and
> then shows the following error:
> (With verbose option it says something about System.OutOfMemoryException)
> (Note: if I go to Linux and let Monodevelop compile the solution the program
> works without errors)
> Stacktrace:
>   at (wrapper managed-to-native)
> SignalConnector.glade_xml_signal_autoconnect_fu
> ll (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0x00004>
>   at (wrapper managed-to-native)
> SignalConnector.glade_xml_signal_autoconnect_fu
> ll (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0xffffffff>
>   at SignalConnector.Autoconnect () <0x00059>
>   at Glade.XML.Autoconnect (object) <0x00042>
>   at GladeApp..ctor (string[]) <0x00044>
>   at GladeApp.Main (string[]) <0x00019>
>   at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
> (object
> ,intptr,intptr,intptr) <0xffffffff>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> What is the correct way to compile this?
> What is the compilation command that Monodevelop uses to build solutions?
> Thanks in advance

More information about the Mono-list mailing list