http://bugzilla.novell.com/show_bug.cgi?id=559600
http://bugzilla.novell.com/show_bug.cgi?id=559600#c0 Summary: DateTime -> DATE marshaling not working on 64 bit Linux. Classification: Mono Product: Mono: Runtime Version: SVN Platform: i686 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: interop AssignedTo: mono-bugs@lists.ximian.com ReportedBy: tom_hin...@sil.org QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) 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: https://bugzilla.novell.com/show_bug.cgi?id=322934 contains test cases that show the problem. (result will be 0.000000 on 64 bit - however if you change the test case from: MyFunction(new DateTime(2009, 12, 6)); to: 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: 1. 2. 3. -- 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. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs