[Mono-bugs] [Bug 425001] MarshalNativeToManaged and CleanUpManagedData Not Called When Using ICustomMarshaler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 10 02:34:54 EDT 2008


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

User martin_costello at talk21.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425001#c2





--- Comment #2 from Martin Costello <martin_costello at talk21.com>  2008-09-10 00:34:53 MDT ---
Under .NET 2.0 that causes the following exception:

FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error
was at 0x7a114cfc, on thread 0x15dc. The error code is 0xc0000005. This error
may be a bug in the CLR or in the unsafe or non-verifiable portions of user
code. Common sources of this bug include user marshaling errors for COM-interop
or PInvoke, which may corrupt the stack.

StringBuilders are usually marshaled as In & Out so I don't think that's
necessary.


-- 
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