[Mono-list] Mono-Glade program crashes

rolandpish rolandpish at netscape.net
Mon Feb 5 15:55:45 EST 2007


Hi!
I'm using mono version 1.2.2.1 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
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
-- 
View this message in context: http://www.nabble.com/Mono-Glade-program-crashes-tf3176809.html#a8814659
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list