[Mono-bugs] [Bug 30338][Nor] Changed - (mono_cfg_new): assertion failed: (((MonoMethodNormal *)method)->header)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
25 Sep 2002 13:57:25 -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 martin@gnome.org.

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

--- shadow/30338	Sat Sep 14 16:34:24 2002
+++ shadow/30338.tmp.16287	Wed Sep 25 09:57:25 2002
@@ -69,6 +69,30 @@
 ====
 
 ------- Additional Comments From martin@gnome.org  2002-09-14 16:34 -------
 Btw. can someone please have a look at the MCS generated executable and tell what's wrong with it ?
 PEVerify reports a TypeLoad error and it also doesn't work with the ms runtime, but I don't see what the problem is.
 
+
+------- Additional Comments From martin@gnome.org  2002-09-25 09:57 -------
+This seems to be a runtime bug:
+
+CSC creates
+
+  .class public auto ansi beforefieldinit Y
+        extends X
+        implements J
+        implements I
+
+MCS creates
+
+  .class public auto ansi beforefieldinit Y
+        extends X
+        implements J
+
+However, I debugged MCS and it calls ModuleBuilder.DefineType with both I and J being listed as interfaces.
+
+When trying to run the csc-generated executable, I get
+
+** ERROR **: file jit.c: line 3663 (mono_cfg_new): assertion failed: (((MonoMethodNormal *)method)->header)
+
+