Hi guys, I'm attempting to get mono (esp WinForms) running on the Nokia N800, which requires armel binaries. I've built mono and libgdiplus from anonsvn using r93462, and I'm building and running the following:
using System; using System.Windows.Forms; class MessageBoxTestApp { public static void Main() { Console.WriteLine( "MessageBoxTestApp can write to Console." ); MessageBox.Show( "MessageBoxTestApp can show a MessageBox." ); } } On the N800: Nokia-N800-50-2:~/bin# mono messagebox.exe MessageBoxTestApp can write to Console. mono[4094]: GLIB ERROR ** default - file mini-arm.c: line 1932 (arm_patch): should not be reached aborting... The stacktrace is attached. I guess this is Zoltan's dept - let me know what help I can be in diagnosing this one. Cheers, Tim
Nokia-N800-50-2:~/bin# mono messagebox.exe MessageBoxTestApp can write to Console. mono[4540]: GLIB ERROR ** default - file mini-arm.c: line 1932 (arm_patch): should not be reached aborting... Stacktrace: at (wrapper native-to-managed) GdiPlusStreamHelper.StreamGetHeaderImpl (intptr,int) <0x0005c> at (wrapper native-to-managed) GdiPlusStreamHelper.StreamGetHeaderImpl (intptr,int) <0xffffffff> at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipLoadImageFromDelegate_linux (System.Drawing.GDIPlus/StreamGetHeaderDelegate,System.Drawing.GDIPlus/StreamGetBytesDelegate,System.Drawing.GDIPlus/StreamPutBytesDelegate,System.Drawing.GDIPlus/StreamSeekDelegate,System.Drawing.GDIPlus/StreamCloseDelegate,System.Drawing.GDIPlus/StreamSizeDelegate,intptr&) <0xffffffff> at System.Drawing.Image.InitFromStream (System.IO.Stream) <0x00204> at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) <0x00177> at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) <0x00033> at (wrapper runtime-invoke) System.Drawing.Bitmap.runtime_invoke_void_SerializationInfo_StreamingContext (object,intptr,intptr,intptr) <0xffffffff> at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[]) <0xffffffff> at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000d0> at System.Reflection.MethodBase.Invoke (object,object[]) <0x0004b> at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext) <0x002bb> at System.Runtime.Serialization.ObjectManager.DoFixups () <0x0018f> at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader) <0x0006f> at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&) <0x000f7> at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler) <0x00193> at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream) <0x00027> at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type) <0x00057> at System.Resources.ResourceReader.ReadValueVer1 (System.Type) <0x00587> at System.Resources.ResourceReader.ResourceValue (int) <0x00223> at ResourceEnumerator.get_Value () <0x00043> at System.Resources.ResourceSet.ReadResources () <0x000bf> at System.Resources.ResourceSet.GetObject (string,bool) <0x0006f> at System.Resources.ResourceManager.GetObject (string,System.Globalization.CultureInfo) <0x00097> at System.Resources.ResourceManager.GetObject (string) <0x00033> at System.Windows.Forms.Locale.GetResource (string) <0x0003f> at System.Windows.Forms.Form..cctor () <0x003e3> at (wrapper runtime-invoke) System.Windows.Forms.Form.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> at MessageBoxForm..ctor (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,bool) <0xffffffff> at MessageBoxForm..ctor (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,bool) <0x00064> Native stacktrace: mono [0x109e88] /usr/lib/libglib-2.0.so.0(g_logv+0x400) [0x41177010] /usr/lib/libglib-2.0.so.0(g_log+0x1c) [0x41177050] /usr/lib/libglib-2.0.so.0(g_assert_warning+0x6c) [0x4117744c] mono [0x29c10] [0x379f84] : : (repeats ~250 times) : [0x379f84] ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Aborted
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list