[Mono-bugs] [Bug 75733][Nor] Changed - The io-layer sometimes creates handles with a value of NULL

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 23 13:35:59 EDT 2005


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 miguel at ximian.com.

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

--- shadow/75733	2005-08-06 14:05:36.000000000 -0400
+++ shadow/75733.tmp.31648	2005-08-23 13:35:59.000000000 -0400
@@ -2,16 +2,16 @@
 Product: Mono: Runtime
 Version: 1.1
 OS: NLD 9
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: io-layer
-AssignedTo: mono-bugs at ximian.com                            
+AssignedTo: dick at ximian.com                            
 ReportedBy: lluis at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: The io-layer sometimes creates handles with a value of NULL
@@ -32,6 +32,14 @@
 to CloseHandle(procinfo.hThread), and procinfo.hThread happens to be
 initialized to NULL, and this accidentally closes the pipe.
 
 My particular problem can be solved by removing that CloseHandle call
 (which is useless right now), although I think something must be done to
 avoid returning null handles.
+
+------- Additional Comments From miguel at ximian.com  2005-08-23 13:35 -------
+Alternatively, we could check if the return is zero, if so we dup the
+fd and close the zero fd.
+
+A hack
+
+


More information about the mono-bugs mailing list