[Mono-bugs] [Bug 77514][Maj] New - Orphaned pipes when redirecting stdout on a failed Process.Start()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 9 14:15:35 EST 2006


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 joeshaw at novell.com.

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

--- shadow/77514	2006-02-09 14:15:35.000000000 -0500
+++ shadow/77514.tmp.2020	2006-02-09 14:15:35.000000000 -0500
@@ -0,0 +1,29 @@
+Bug#: 77514
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: joeshaw at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Orphaned pipes when redirecting stdout on a failed Process.Start()
+
+Pipes are left around and uncloseable if you redirect standard output on a
+process and the file being executed doesn't exist.  If you do this enough
+times, you run out of file descriptors.
+
+ls /proc/<pid>/fd:
+lr-x------ 1 joe users 64 2006-02-09 13:59 6 -> pipe:[134503]
+...
+lr-x------ 1 joe users 64 2006-02-09 13:59 1022 -> pipe:[135935]
+
+
+I'm attaching a test case which shows this.


More information about the mono-bugs mailing list