[Mono-bugs] [Bug 74713][Maj] Changed - System.IO.IOException: Invalid handle to path "/tmp/tmp4d062ea3"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Apr 2005 01:12:08 -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=74713

--- shadow/74713	2005-04-24 20:32:48.000000000 -0400
+++ shadow/74713.tmp.27535	2005-04-25 01:12:08.000000000 -0400
@@ -125,6 +125,13 @@
 
 In this case, after about 180 executions of the loop by the five
 threads.  I have no idea if the problem I'm seeing can be related to
 the exception that is being seen on your platform, but it _feels_ like
 this may be a good case.  I wonder how OSX is handling this...
 
+
+------- Additional Comments From gonzalo@ximian.com  2005-04-25 01:12 -------
+The problem is that closing the file happens before all the structures
+are reset. In the meantime, another thread can open() and get the same
+file descriptor. I have a patch (a hack, not a real solution), that
+involves moving the actual call to close() after cleaning up the
+structures.