[Mono-bugs] [Bug 34671][Maj] New - leaking file descriptors

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
27 Nov 2002 12:25:44 -0000

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 rodo@ximian.com.


--- shadow/34671	Wed Nov 27 07:25:44 2002
+++ shadow/34671.tmp.26613	Wed Nov 27 07:25:44 2002
@@ -0,0 +1,39 @@
+Bug#: 34671
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: misc
+AssignedTo: dick@ximian.com                            
+ReportedBy: rodo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: leaking file descriptors
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Steps to reproduce the problem:
+1. enable debug output in io-layers/handles.c (_wapi_handle_ref/unref)
+2. make clean all in gtk-sharp/api
+3. debug output shows hadles with ref count -1
+Actual Results:
+handles are leaked and you could fast get out of file handles
+Expected Results:
+handles should be released (closed), ref count shouldn't be 0 when entering
+unref - looks like ref count is not initialized to 1)
+How often does this happen? 
+Additional Information: