[Mono-bugs] [Bug 75133][Nor] New - sharpreader crashes on startup due to 'unknown image format'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 21:31:42 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by matt.hargett at logiclibrary.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75133

--- shadow/75133	2005-06-02 21:31:42.000000000 -0400
+++ shadow/75133.tmp.17453	2005-06-02 21:31:42.000000000 -0400
@@ -0,0 +1,104 @@
+Bug#: 75133
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SLES 9
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: matt.hargett at logiclibrary.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: sharpreader crashes on startup due to 'unknown image format'
+
+Description of Problem:
+SharpReader is a .NET 1.1 application (http://sharpreader.net). It crashes
+on startup.
+
+
+Steps to reproduce the problem:
+1. download the sharpreader ZIP form sharpreader.net
+2. unzip it
+3. work around mono case sensitivity annoyance with: 
+mv lamarvin.windows.forms.autocomplete.dll
+LaMarvin.Windows.Forms.AutoComplete.dll
+4. with mono svn head
+mono SharpReader.exe
+
+Actual Results:
+--debug
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for MessageBoxForm ---> System.Refl
+ection.TargetInvocationException: Exception has been thrown by the target
+of an invocation. ---> System.NotSupportedException: Either image
+format is unknown or you don't have the required libraries for this format.
+in <0x00168> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x0023f> System.Drawing.Image:InitFromStream (System.IO.Stream stream)
+in (wrapper remoting-invoke-with-check) System.Drawing.Image:InitFromStream
+(System.IO.Stream)
+in <0x00136> System.Drawing.Bitmap:.ctor
+(System.Runtime.Serialization.SerializationInfo info, StreamingContext context)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
+(object,object[])
+in <0x000af> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Objec
+t[] parameters, System.Globalization.CultureInfo culture)--- End of inner
+exception stack trace ---
+
+in <0x00185> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Objec
+t[] parameters, System.Globalization.CultureInfo culture)
+in <0x00034> System.Reflection.MethodBase:Invoke (System.Object obj,
+System.Object[] parameters)
+in <0x00301> System.Runtime.Serialization.ObjectRecord:LoadData
+(System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector sele
+ctor, StreamingContext context)
+in <0x00167> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x0004d>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+(System.IO.BinaryReader reader)
+in <0x000e6>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
+(System.IO.BinaryReader reader, Boolean readHeaders
+, System.Object result, System.Runtime.Remoting.Messaging.Header[] headers)
+in <0x0014b>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+(System.IO.Stream serializationStream, System.Runtim
+e.Remoting.Messaging.HeaderHandler handler)
+in <0x00026>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+(System.IO.Stream serializationStream)
+in <0x0062a> System.Resources.ResourceReader:ResourceValue (Int32 index)
+in <0x0003c> System.Resources.ResourceReader+ResourceEnumerator:get_Value ()
+in <0x000b6> System.Resources.ResourceSet:ReadResources ()
+in <0x00057> System.Resources.ResourceSet:GetObject (System.String name,
+Boolean ignoreCase)
+in <0x00103> System.Resources.ResourceManager:GetObject (System.String
+name, System.Globalization.CultureInfo culture)
+in <0x00026> System.Resources.ResourceManager:GetObject (System.String name)
+in <0x00025> System.Windows.Forms.Locale:GetResource (System.String name)
+in <0x0001a> System.Windows.Forms.MessageBox+MessageBoxForm:.cctor ()---
+End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in <0x0004d> System.Windows.Forms.MessageBox:Show (System.String text,
+System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon
+)
+in <0x0004c> System.Windows.Forms.MessageBox:Show (System.String text,
+System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon
+)
+in <0x00300> SharpReader.UI.SharpReaderForm:Main (System.String[] args)
+
+Expected Results:
+Should work properly with SLES9
+
+How often does this happen? 
+Every time
+
+Additional Information:


More information about the mono-bugs mailing list