[Mono-bugs] [Bug 655674] Got exception and program crashes when LayoutKind.Auto is used during P/Invoke

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 12 18:04:55 EST 2011



Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |robertj at gmx.net
         Resolution|                            |INVALID

--- Comment #3 from Robert Jordan <robertj at gmx.net> 2011-02-12 23:04:54 UTC ---
MS.NET 1.1, 2.0 are failing, too.

When p/invoke signatures are actually declared with such a struct type (Zoltan
only used StructureToPtr), MS.NET (all versions) are crashing with a

Mono is crashing with a trappable MarshalDirectiveException later at runtime
when the p/invoke method is invoked. This is acceptable, IMHO :)

Please reopen if you have a test case.

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