https://bugzilla.novell.com/show_bug.cgi?id=386466
Summary: WebBrowser: wont startup. Product: Mono: Class Libraries Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- I tried running a tiny web browser: mono$ mono web.exe Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OverflowException: This isn't a 64bits machine. at System.IntPtr..ctor (long) <0x00084> at System.IntPtr.op_Explicit (long) <0x0001b> at GdiPlusStreamHelper.StreamGetHeaderImpl (intptr,int) <0x000f5> at (wrapper native-to-managed) GdiPlusStreamHelper.StreamGetHeaderImpl (intptr,int) <0x00044> 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&) <0x00004> at System.Drawing.Image.InitFromStream (System.IO.Stream) <0x00174> at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) <0x000fa> at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) <0x0004f> at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[],System.Exception&) <0x00004> at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000bd> --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000] at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type exp_type) [0x00000] at System.Resources.ResourceReader.ReadValueVer1 (System.Type type) [0x00000] at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000] at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00000] at System.Resources.ResourceSet.ReadResources () [0x00000] at System.Resources.ResourceSet.GetObjectInternal (System.String name, Boolean ignoreCase) [0x00000] at System.Resources.ResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] at System.Resources.RuntimeResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] at System.Windows.Forms.Locale.GetResource (System.String name) [0x00000] at System.Windows.Forms.Form..cctor () [0x00000] --- End of inner exception stack trace --- at WebHost..ctor () [0x00000] at (wrapper remoting-invoke-with-check) WebHost:.ctor () at SelfHostedDemo.Main () [0x00000] using System; using System.Windows.Forms; class SelfHostedDemo { static void Main () { Application.Run (new WebHost ()); } } public class WebHost : Form { WebBrowser webbrowser; public WebHost () { ClientSize = new System.Drawing.Size(545, 416); webbrowser = new WebBrowser (); this.Controls.Add (webbrowser); } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs