[Mono-bugs] [Bug 64419][Maj] New - System.IO.File.Open deadlocks
Fri, 27 Aug 2004 22:00:26 -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 firstname.lastname@example.org.
--- shadow/64419 2004-08-27 22:00:26.000000000 -0400
+++ shadow/64419.tmp.23947 2004-08-27 22:00:26.000000000 -0400
@@ -0,0 +1,45 @@
+Product: Mono: Class Libraries
+OS Details: NLD 1.6 (SLES9 core)
+Severity: 008 One day
+Summary: System.IO.File.Open deadlocks
+Description of Problem:
+The iFolder team implemented a shared mutex by opening a known file and
+setting the FileShare to "None". This mutex is hit by multiple threads
+within multiple processes. After running for 4-10 hours, all threads will
+deadlock on the file open method. Exactly three hours later Mono releases
+all threads. We have seen this time and time again in our log files (the
+three hour release). The open close sequence is surrounded by a Try
+Finally so we should never leave the sequence without closing the file.
+Once this happens we usually have to delete the .wapi file to get our
+server running again.
+Steps to reproduce the problem:
+How often does this happen?
+usually around 10 hours with three processes and 2-3 threads in each process.
+At this time, I don't have a test program to reproduce the problem.