[Mono-bugs] [Bug 76963][Nor] New - Cecil has trouble with
assemblies with embedded resources.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Dec 10 17:06:36 EST 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 roosmaa at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76963
--- shadow/76963 2005-12-10 17:06:36.000000000 -0500
+++ shadow/76963.tmp.11862 2005-12-10 17:06:36.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 76963
+Product: Mono: Class Libraries
+Version: 1.0
+OS:
+OS Details: From SVN: Cecil (r54182), Mono (r54182)
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Mono.Cecil
+AssignedTo: mono at evain.net
+ReportedBy: roosmaa at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Cecil has trouble with assemblies with embedded resources.
+
+Description of Problem:
+Reading an assembly which has some embedded resources works fine, but after
+saving it, Cecil can't read it anymore.
+
+Steps to reproduce the problem:
+1. touch Empty
+2. mcs -t:library -res:Empty -out:Library.dll
+3. mcs -r:Mono.Cecil.dll CecilTest.cs
+(CecilTest.cs should be attached to this report)
+4. mono CecilTest.cs
+5. mono CecilTest.cs
+
+Actual Results:
+Unhandled Exception: Mono.Cecil.ReflectionException: Can not disassemble
+assembly ---> System.NullReferenceException: Object reference not set to an
+instance of an object
+in <0x000e2> Mono.Cecil.StructureReader:VisitAssemblyNameDefinition
+(Mono.Cecil.AssemblyNameDefinition name)
+in <0x00017> Mono.Cecil.AssemblyNameDefinition:Accept
+(IReflectionStructureVisitor visitor)
+in <0x00026> Mono.Cecil.AssemblyDefinition:Accept
+(IReflectionStructureVisitor visitor)
+in <0x00095> Mono.Cecil.AssemblyFactory:GetAssembly (System.String file)---
+End of inner exception stack trace ---
+
+in <0x00154> Mono.Cecil.AssemblyFactory:GetAssembly (System.String file)
+in <0x0000f> CecilTest:Main ()
+
+
+Expected Results:
+No exception.
+
+How often does this happen?
+Every time.
+
+Additional Information:
+Also, some times it gets stuck in an infinate (memory consuming) loop.
More information about the mono-bugs
mailing list