[Mono-bugs] [Bug 77701][Nor] New - unhandled exception during deserialization

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 4 08:37:57 EST 2006


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 maurits.rijk at philips.com.

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

--- shadow/77701	2006-03-04 08:37:57.000000000 -0500
+++ shadow/77701.tmp.29060	2006-03-04 08:37:57.000000000 -0500
@@ -0,0 +1,81 @@
+Bug#: 77701
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: maurits.rijk at philips.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: unhandled exception during deserialization
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+During a deserialize of a Paint.NET image, Mono complains about a missing
+field "m_compareInfo" in the class System.Collections.CaseInsensitiveComparer
+
+Steps to reproduce the problem:
+1. Using the Paint.NET .dll's I try to deserialize an image. I'll try to
+add a simple testcase next.
+
+Actual Results:
+
+Unhandled Exception: System.Runtime.Serialization.SerializationException:
+Field "m_compareInfo" not found in class
+System.Collections.CaseInsensitiveComparer
+in <0x00597>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadTypeMetadata
+(System.IO.BinaryReader,bool,bool)
+in <0x00040>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectInstance
+(System.IO.BinaryReader,bool,bool,long&,object&,System.Runtime.Serialization.SerializationInfo&)
+in <0x00097>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObject
+(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader,long&,object&,System.Runtime.Serialization.SerializationInfo&)
+in <0x00072>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+(System.IO.BinaryReader)
+in <0x000b4>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
+(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&)
+in <0x0011f>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:NoCheckDeserialize
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
+in <0x00010>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:UnsafeDeserialize
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
+in <0x0037c> PaintDotNet.Document:FromStream (System.IO.Stream)
+in <0x00124> Gimp.Pdn.Pdn:Load (string)
+in <0x00119> Gimp.FilePlugin:Run (string,Gimp.ParamDefList,Gimp.ParamDefList&)
+in <0x0006e> Gimp.Plugin:Run (string,int,intptr,int&,intptr&)
+in <0x0004f> (wrapper native-to-managed) Gimp.Plugin:Run
+(intptr,int,intptr,int&,intptr&)
+in (unmanaged) 0xb73845d7
+in <0x00004> (wrapper managed-to-native) Gimp.Plugin:gimp_main
+(Gimp.Plugin/GimpPlugInInfo&,int,string[])
+in <0x00176> Gimp.Plugin:.ctor (string[])
+in <0x0000d> Gimp.FilePlugin:.ctor (string[])
+in <0x0000d> Gimp.Pdn.Pdn:.ctor (string[])
+in <0x00019> Gimp.Pdn.Pdn:Main (string[])
+
+Expected Results:
+
+A correctly deserialized image.
+
+How often does this happen? 
+
+On Linux (using Mono) always. On win32 (with .NET 2.0) this works as expected.
+
+Additional Information:
+
+Googling for m_compareInfo gives a few pages with more info. This issue
+seem to have surfaced before.


More information about the mono-bugs mailing list