[Mono-bugs] [Bug 462016] make check for pinvoke2.exe fails for PowerPC

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 29 18:02:47 EST 2008


User munroesj at us.ibm.com added comment

Steven Munroe <munroesj at us.ibm.com> changed:

           What    |Removed                                         |Added
 Attachment #262399|0                                               |1
        is obsolete|                                                |

--- Comment #6 from Steven Munroe <munroesj at us.ibm.com>  2008-12-29 16:02:45 MST ---
Created an attachment (id=262692)
 --> (https://bugzilla.novell.com/attachment.cgi?id=262692)
Updated log of pinvoke2.exe crash with debug print output

This trace shows that the struct passed from mono_allocate_stack_slots_full
down to mono_class_init is not a MonoClass but is instead a MonoGenericClass.
This seems like a problem as MonoGenericClass is much shorted then MonoClass
and does not contain a parent field. This implies that mono_class_init is
following a bogus pointer when it executes:

        if (class->parent && !class->parent->inited) {
                mono_class_init (class->parent);

This MonoGenericClass pointer is being stored in inst->inst_vtype by
mono_compile_create_var_for_vreg(), which is really odd since the value is a
parameter of type struct MonoType. MonoType is also different in shape and size
from either MonoClass or MonoGenericClass.

I must be very confused ...

Configure bugmail: https://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