[Mono-bugs] [Bug 389886] Boo test fixtures with generic delegates make runtime crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 19 23:14:46 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=389886

User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389886#c5





--- Comment #5 from Rodrigo Kumpera <rkumpera at novell.com>  2008-05-19 21:14:46 MST ---
I've investigated both BOO-983 and internal-generic-callable-type-2.boo.

The issue with BOO-983 is that FooBar vtable size is one less than it should.
This happens because IFoo generic instance never ends with methods on it so
vtable layout code just ignores it.

This happens because generic instantiations of typebuilder have a very very
hacky
lifecicle.

The issue with internal-generic-callable-type-2.boo is that for some reason
GenericDelegate`2 super type ends been Object and not MulticastDelegate. This
makes the runtime crash since mono_jit_compile_method_inner cannot find an
icall
for it's constructor.

To fix both issues we need to inflate generic classes again once the
typebuilder is finished.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list