[Mono-bugs] [Bug 72534][Wis] Changed - Mutex tests hanging

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 30 16:51:48 EDT 2005


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 bmaurer at users.sf.net.

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

--- shadow/72534	2005-06-30 15:50:40.000000000 -0400
+++ shadow/72534.tmp.30954	2005-06-30 16:51:48.000000000 -0400
@@ -22,6 +22,39 @@
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-28 16:59 -------
 Doesn't seem to happen any more, I reenabled.
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-30 15:50 -------
 Scratch that, they still cause hangs and failures.
+
+------- Additional Comments From bmaurer at users.sf.net  2005-06-30 16:51 -------
+The patch to reenable these tests is:
+
+Index: Test/System.Threading/MutexTest.cs
+===================================================================
+--- Test/System.Threading/MutexTest.cs  (revision 46785)
++++ Test/System.Threading/MutexTest.cs  (working copy)
+@@ -126,7 +126,7 @@
+ */
+
+                // Hangs #72534
+-               [Category("NotWorking")]
++               //[Category("NotWorking")]
+                public void TestWaitAndSignal1()
+                {
+                        Mutex Sem = new Mutex(false);
+@@ -143,7 +143,7 @@
+                }
+
+                // Hangs
+-               [Category("NotWorking")]
++               //[Category("NotWorking")]
+                public void TestWaitAndFoget1()
+                {
+                        Mutex Sem = new Mutex(false);
+
+
+They only hang when I run on the 2.0 profile. Also, when I enable
+them, they fail.
+
+Another important thing: if I use /fixture to run just teh S.Threading
+tests, both tests pass and the process does not hang.


More information about the mono-bugs mailing list