[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 04:32:18 -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 flashdict@gmail.com.


--- shadow/74713	2005-04-25 01:12:08.000000000 -0400
+++ shadow/74713.tmp.30232	2005-04-25 04:32:18.000000000 -0400
@@ -132,6 +132,19 @@
 ------- 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
+------- Additional Comments From flashdict@gmail.com  2005-04-25 04:32 -------
+Why not attach your patch, I'll test it out a bit and at least we'll
+know if it breaks anything else in the tests.  Even without seeing the
+patch, I still believe that it will fix both problems
+(System.IO.IOException and abort) - and these seem clearly to be a
+One can get the same behavior, for example, when trying to zip up all
+of the cs-error files for monodoc using assembler.exe, and that  only
+spawns a single thread, albeit a much harder-working thread.