[Mono-bugs] [Bug 428217] New: Possible class marshalling error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 21 22:20:54 EDT 2008


           Summary: Possible class marshalling error
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Dax at daxxfiles.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=240774)
 --> (https://bugzilla.novell.com/attachment.cgi?id=240774)

Possibly mono does not marshal classes correctly in some cases. I attached a
project demonstrating this (you'll need libgmp to run it) - under Linux x64,
last four output lines are _never_ 2090 (the expected value for the 10,000th
fibonacci number), while under Windows x86 it is, hence I believe it to be a
bug (or some oddity in the MS runtime, I can't tell). You will notice that,
under windows, the displayed number increments every few lines, while under
mono, it sometimes does, or doesn't - for many hundreds to thousands of lines
at a time.

Sorry for the chunky demo, I tried to reproduce it at a smaller scale and
failed (which is another weird thing: in the attached files (actually belonging
to a library) it does not work, but as soon as I extract all the required stuff
into a new project, it works fine).

I rule out a compiler bug (of which there seem to be a few - every second
compile gmcs throws NullRefs, but that's another story), since the exact same
assembly runs fine under MS.NET.

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