[Mono-bugs] [Bug 559600] New: DateTime -> DATE marshaling not working on 64 bit Linux.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 1 12:09:36 EST 2009



           Summary: DateTime -> DATE marshaling not working on 64 bit
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

This is a 64 bit only problem.

DATE* in native code points to uninitialized data.

Bug Entry:
contains test cases that show the problem. (result will be 0.000000 on 64 bit -
however if you change the test case 


MyFunction(new DateTime(2009, 12, 6));


var v = new DateTime(2009, 12, 6).ToOADate();
MyFunction(new DateTime(2009, 12, 6));

its display 40153.000000 (or whatever the value you assign to v - which
shouldn't make any difference)

It seems that in emit_marshal_vtype (t->data->klass->blittable == 1) for the
DateTime klass.

causing (if klass == date_time_class) not to be evaluated. 

Reproducible: Always

Steps to Reproduce:

Configure bugmail: http://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