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@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to