[Mono-bugs] [Bug 30020][Maj] New - Assembly.GetTypes crashes mono.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Sep 2002 05:41:03 -0000


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=30020

--- shadow/30020	Sun Sep  8 01:41:03 2002
+++ shadow/30020.tmp.2945	Sun Sep  8 01:41:03 2002
@@ -0,0 +1,49 @@
+Bug#: 30020
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: lupus@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assembly.GetTypes crashes mono.
+
+The following program crashes Mono:
+
+using System;
+using System.Reflection;
+class X {
+        static void Main ()
+        {
+                Assembly a = Assembly.LoadWithPartialName ("mscorlib");
+
+                a.GetTypes ();
+        }
+
+}
+
+I get this:
+mono$ mcs a.cs
+Compilation succeeded
+mono$ mono a.exe 
+no implementation for interface method
+System.Runtime.Remoting.Contexts.IContextAttribute::GetPropertiesForNewContext(IConstructionCallMessage)
+in class System.Runtime.Remoting.Proxies.ProxyAttribute
+METHOD .ctor()
+METHOD CreateInstance(Type)
+METHOD CreateProxy(ObjRef,Type,object,Context)
+METHOD GetPropertiesForNewContext(IConstructionCallMessage)
+METHOD IsContextOK(Context,IConstructionCallMessage)
+
+** ERROR **: file class.c: line 666 (mono_class_setup_vtable): should not
+be reached
+aborting...
+Aborted