[Mono-bugs] [Bug 589940] Mono JIT invokes invalid vtable method on MeeGo

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 19 20:27:51 EDT 2010



--- Comment #5 from Miguel de Icaza <miguel at novell.com> 2010-03-20 00:27:51 UTC ---
Ok, more information on this:

The following calls take place in mono_magic_trampoline:

* MonoMethod = (EA.Add)
  -> Turned into EA.OnValidate

On MeeGo the FAKE_VTABLE_METHOD ends up being CollectionBase.OnValidate instead
of EA.OnValidate.

The method responsible for the problem seems to be mono_class_get_vtable_entry,
it does in both cases get the EA class, and the offset set to 20.   So the
vtable computation seems to be wrong.   This is despite the fact that when
running with --print-vtable we report:

VTable EA (Vtable entries = 29, interfaces = 3)
   slot assigned 020, slot index: 020, EA:OnValidate (object)

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

More information about the mono-bugs mailing list