[Mono-bugs] [Bug 75296][Blo] Changed - [GMCS] context from type instead of method is used when parsing generic method invocation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 20 11:43:54 EDT 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 nazgul at omega.pl.


--- shadow/75296	2005-06-17 16:30:19.000000000 -0400
+++ shadow/75296.tmp.16604	2005-06-20 11:43:54.000000000 -0400
@@ -64,6 +64,20 @@
 ------- Additional Comments From malekith at pld-linux.org  2005-06-17 13:36 -------
 It's a blocker.
 It is caused by
 that I guess fixed something else :-)
+------- Additional Comments From nazgul at omega.pl  2005-06-20 11:43 -------
+I did some debugging and it seem that in
+loader.c:504 the 'context' contains:
+(gdb) p *context
+$2 = {container = 0x8274d68, gclass = 0x82770f0, gmethod = 0x8277700}
+Which probably isn't valid. Even if it is valid, the contex should
+actually point to context -> gmethod -> container, which is a correct
+context at this place.
+I attach a little hack, which allowed me to go forward and workaround
+the bug in some sense.

More information about the mono-bugs mailing list