[Mono-bugs] [Bug 43905][Nor] New - Metadata loader crashes on .NET executable.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 30 May 2003 00:12:50 -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 miguel@ximian.com.

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

--- shadow/43905	Fri May 30 00:12:50 2003
+++ shadow/43905.tmp.28018	Fri May 30 00:12:50 2003
@@ -0,0 +1,50 @@
+Bug#: 43905
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Metadata loader crashes on .NET executable.
+
+The attached files, when compiled with CSC fail to run with Mono,
+the stack trace is:
+
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required
+in (unmanaged) /mono/lib/libmono.so.0 [0x40086877]
+in (unmanaged) /mono/lib/libmono.so.0(mono_custom_attrs_construct+0xb9)
+[0x400869dc]
+in (unmanaged)
+/mono/lib/libmono.so.0(mono_reflection_get_custom_attrs+0x264) [0x4008728e]
+in <0x0006a> 00 System.MonoCustomAttrs:from_cache
+(System.Reflection.ICustomAttributeProvider)
+in <0x0009a> 00 System.MonoCustomAttrs:GetCustomAttributes
+(System.Reflection.ICustomAttributeProvider,System.Type,bool)
+in <0x00015> 00 System.Reflection.MonoMethod:GetCustomAttributes
+(System.Type,bool)
+in <0x00019> 00
+System.Web.Services.Protocols.LogicalMethodInfo:GetCustomAttributes
+(System.Type)
+in <0x0001e> 00 System.Web.Services.Protocols.MethodStubInfo:Create
+(System.Web.Services.Protocols.TypeStubInfo,System.Web.Services.Protocols.LogicalMethodInfo,System.Xml.Serialization.XmlReflectionImporter)
+in <0x00093> 00 System.Web.Services.Protocols.TypeStubInfo:GetTypeMethods
+(System.Type,System.Xml.Serialization.XmlReflectionImporter)
+in <0x00088> 00 System.Web.Services.Protocols.TypeStubInfo:.ctor (System.Type)
+in <0x000ff> 00 System.Web.Services.Protocols.TypeStubManager:GetTypeStub
+(System.Type)
+in <0x00036> 00 System.Web.Services.Protocols.SoapHttpClientProtocol:.ctor ()
+in <0x0000a> 00 WindowsApplication1.localhost.Service1:.ctor ()
+in <0x00054> 08 WindowsApplication1.localhost.Service1:.ctor ()
+in <0x00025> 00 .X:Main ()
+
+If I rebuild with MCS it works.