[Mono-bugs] [Bug 360375] New: Under certain, very specific conditions, strucs with modified FieldOffsets are incorrectly marshaled
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Feb 9 22:38:50 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=360375
Summary: Under certain, very specific conditions, strucs with
modified FieldOffsets are incorrectly marshaled
Product: Mono: Runtime
Version: 1.2.6
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: lunchtimemama at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Rather than try to describe the problem, I'll just refer you to some example
code:
http://homepages.nyu.edu/~stp225/testcase.tar.gz
This includes a native library and a managed program. The native library has
some structures and a method. The managed code re-creates the structures and
P/Invokes into the native library. The .NET VM correctly marshals the
structures (I've included a VS2005 solution for testing on Windows), Mono does
not (I've included a Makefile for testing on UNIX). I've also included a native
program which should be logically identical to the managed program so that you
can test the logic of the native library w/o having to boot Windows. See the
README for more details.
--
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