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

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=462016#c6


Steven Munroe <[email protected]> changed:

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




--- Comment #6 from Steven Munroe <[email protected]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to