[Mono-bugs] [Bug 52037][Nor] New - System.DateTime.get_Now fails on execution

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 05:46:20 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by piyush.garyali@honeywell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=52037

--- shadow/52037	2003-12-11 05:46:20.000000000 -0500
+++ shadow/52037.tmp.14143	2003-12-11 05:46:20.000000000 -0500
@@ -0,0 +1,64 @@
+Bug#: 52037
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: PowerPC
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: lupus@ximian.com                            
+ReportedBy: piyush.garyali@honeywell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: System.DateTime.get_Now fails on execution
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+System.DateTime.Ticks fails when executing JIT compiled code for 
+System.DateTime.get_Now when running the program below:
+
+Steps to reproduce the problem:
+1. Run the following program
+
+using System;
+
+namespace Foo
+{
+  class Test
+  {
+    static void Main()
+    {
+      long start = 0;
+      start =  DateTime.Now.Ticks;			
+    }
+  }
+}
+
+Actual Results:
+Access Voilation
+
+Expected Results:
+Should assign current tick to start.
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+The Call Stack looks the following:
+
+?? --> access voilation exception
+??
+mono_jit_runtime_invoke()
+mono_runtime_invoke()
+mono_runtime_class_init()
+mono_jit_compile_method_inner()
+mono_jit_compile_method()
+mono_compile_method()
+ppc_magic_trampoline()
+??
+??