[Mono-bugs] [Bug 58781][Wis] New - Process object for CLR processes has incorrect start time

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 20 May 2004 22:09:19 -0400 (EDT)


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 niel@bornstein.atlanta.ga.us.

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

--- shadow/58781	2004-05-20 22:09:19.000000000 -0400
+++ shadow/58781.tmp.26854	2004-05-20 22:09:19.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 58781
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details: Mac OS X 10.3, Debian, Red Hat
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: niel@bornstein.atlanta.ga.us               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Process object for CLR processes has incorrect start time
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+CLR processes returned from Process.GetProcesses() have an incorrect value
+in the StartTime property.
+
+Steps to reproduce the problem:
+1. Compile and run this code:
+using System;
+using System.Diagnostics;
+
+public class ListProcesses {
+	public static void Main(string [] args) {
+		foreach (Process process in Process.GetProcesses()) {
+			Console.WriteLine("Process {0}: {1} on {2} started at {3}", 
+				process.Id, process.ProcessName, process.MachineName, process.StartTime);
+		}
+	}
+}
+
+Actual Results:
+$ mono ListProcesses.exe 
+Process 17788: StartProcess on localhost started at Sunday, 31 December
+1600 19:00:00
+Process 17790: bash on localhost started at Thursday, 20 May 2004 21:32:19
+Process 17791: ListProcesses on localhost started at Sunday, 31 December
+1600 19:00:00
+
+
+Expected Results:
+Process 17788: StartProcess on localhost started at Thursday, 20 May 2004
+HH:MM:SS
+Process 17790: bash on localhost started at Thursday, 20 May 2004 21:32:19
+Process 17791: ListProcesses on localhost started at Thursday, 20 May 2004
+HH:MM:SS
+
+
+How often does this happen? 
+Always
+
+Additional Information: