[Mono-bugs] [Bug 60412][Wis] New - bug with thread and mutex

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Jun 2004 07:00:35 -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 hannibalbundie@hotmail.com.

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

--- shadow/60412	2004-06-18 07:00:35.000000000 -0400
+++ shadow/60412.tmp.12957	2004-06-18 07:00:35.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 60412
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Red Hat 9.0 / kernel 2.4.22 with AC1 patch and nptl patch
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: packaging
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: hannibalbundie@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: bug with thread and mutex
+
+Description of Problem:
+Mutex.WaitOne freezes when it's called in a threaded process.
+Nevertheless, I have the impression that the bug is more complicated than
+that I say just before.
+Indeed, when I modify lignes which seem to have no bond with the bug, the
+test program runs normally.
+So, it is perhaps due to my computer and not to Mono.
+
+
+Steps to reproduce the problem:
+
+1. Save the 4 source files in a new directory
+
+2. Compile with mcs *.cs -o test.exe
+
+3. Run with mono test.exe
+
+
+Actual Results:
+The program freezes at the first call of ThreadProc method
+
+Expected Results:
+The program have to run infinitely. It's the case on Windows.
+
+
+How often does this happen?
+always (almost)
+
+
+Additional Information:
+Another odd thing is that the program doesn't run normally, but doesn't
+freeze. In fact, ThreadProc is oddly unused with mint.