[Mono-bugs] [Bug 69869][Wis] Changed - Process.Kill crashes on closed process

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 6 May 2005 16:55:01 -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 gonzalo@ximian.com.

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

--- shadow/69869	2004-11-27 16:21:04.000000000 -0500
+++ shadow/69869.tmp.8842	2005-05-06 16:55:01.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 69869
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: dick@ximian.com                            
 ReportedBy: fawad@fawad.net               
 QAContact: mono-bugs@ximian.com
@@ -68,6 +68,20 @@
    at System.Diagnostics.Process.EnsureState(State state)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access,
 Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access)
    at System.Diagnostics.Process.Kill()
    at foo.Main()
+
+------- Additional Comments From gonzalo@ximian.com  2005-05-06 16:55 -------
+This works fine now.
+-----------
+gonzalo@lalo:/tmp $ mono kill.exe
+
+Unhandled Exception: System.SystemException: No process to kill.
+in <0x00058> System.Diagnostics.Process:Close (Int32 signo)
+in (wrapper remoting-invoke-with-check)
+System.Diagnostics.Process:Close (int)
+in <0x0000f> System.Diagnostics.Process:Kill ()
+in (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Kill ()
+in <0x0002a> Foo:Main ()
+