[Mono-bugs] [Bug 60442][Cri] New - PrivateBinPath bug again...
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Jun 2004 16:35:17 -0400 (EDT)
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 vguzev@yandex.ru.
http://bugzilla.ximian.com/show_bug.cgi?id=60442
--- shadow/60442 2004-06-18 16:35:17.000000000 -0400
+++ shadow/60442.tmp.28296 2004-06-18 16:35:17.000000000 -0400
@@ -0,0 +1,98 @@
+Bug#: 60442
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: Linux skif 2.4.25 #2 SMP Fri Apr 23 14:03:00 MSD 2004 i686 athlon i386 GNU/Linux
+Status: NEW
+Resolution:
+Severity: 040 One week
+Priority: Critical
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vguzev@yandex.ru
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: PrivateBinPath bug again...
+
+It seems to me that the bug I submitted two months or more ago (it
+was actually resolved by Gonzalo in mono 0.91) appeared again in Beta 3 :-(
+Look at http://bugzilla.ximian.com/show_bug.cgi?id=53788 for more
+information.
+
+Steps to reproduce the problem:
+1. Unzip the attached archive.
+2. cd testdeserialization/object/;mcs obj.cs;mono obj.exe
+ This will create file "serializedobject.txt" with serialized object
+ inside.
+3. cd ../;
+ Change the path /home/vadim/archive/tests/testdeserialization/object
+ to the actual location of directory "object" in file "testload.cs"
+4. mcs testload.cs; mono testload.exe
+ This should read the file "object/serializedobject.txt" and
+ deserialize it, however it throws the following error:
+8<-----------------------------------------------------------
+Unhandled Exception: System.IO.FileNotFoundException: File 'obj,
+Version=0.0.0.0, Culture=neutral,
+PublicKeyToken=null' not found.
+in (unmanaged) (wrapper managed-to-native) System.AppDomain:LoadAssembly
+(string,System.Security.Policy.Evidence)
+in <0x00004> (wrapper managed-to-native) System.AppDomain:LoadAssembly
+(string,System.Security.Policy.Evidence)
+in <0x0006f> (wrapper remoting-invoke-with-check)
+System.AppDomain:LoadAssembly
+(string,System.Security.Policy.Evidence)
+in <0x0006b> System.AppDomain:Load (string)
+in <0x0005d> (wrapper remoting-invoke-with-check) System.AppDomain:Load
+(string)
+in <0x0001d> System.Reflection.Assembly:Load (string)
+in <0x00071>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:GetDeserializat
+ionType (long,string)
+in <0x0027a>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadTypeMetadat
+a
+(System.IO.BinaryReader,bool)
+in <0x00047>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectInsta
+nce
+(System.IO.BinaryReader,bool,long&,object&,System.Runtime.Serialization.Ser
+ializationInfo&)
+in <0x00088>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObject
+(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.Bin
+aryReader,long&,object&,System.Runtime.Serialization.SerializationInfo&)
+in <0x00167>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObject
+(System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.Bin
+aryReader,long&,object&,System.Runtime.Serialization.SerializationInfo&)
+in <0x0007d>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+(System.IO.BinaryReader)
+in <0x000b9>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
+(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Head
+er[]&)
+in <0x00192>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
+in <0x00017>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+(System.IO.Stream)
+in <0x000d5> A:Main (string[])
+8<-----------------------------------------------------------
+
+Here's my configuration:
+8<-----------------------------------------------------------
+[vadim@skif testdeserialization]$ uname -a
+Linux skif 2.4.25 #2 SMP Fri Apr 23 14:03:00 MSD 2004 i686 athlon i386
+GNU/Linux
+[vadim@skif testdeserialization]$ mono --version
+Mono JIT compiler version 0.96, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+ TLS: normal
+ GC: Included Boehm (with typed GC)
+ SIGSEGV : normal
+ Globalization: ICU
+8<-----------------------------------------------------------