[Mono-bugs] [Bug 72741][Wis] New - ** ERROR **: file handles.c: line 634 (_wapi_handle_ref): should not be reached
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Feb 2005 16:14:31 -0500 (EST)
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@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=72741
--- shadow/72741 2005-02-18 16:14:31.000000000 -0500
+++ shadow/72741.tmp.22712 2005-02-18 16:14:31.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 72741
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: io-layer
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ** ERROR **: file handles.c: line 634 (_wapi_handle_ref): should not be reached
+
+The above assertion happens after a bit of time on:
+
+using System;
+using System.Threading;
+
+class X {
+ static void Main ()
+ {
+ Thread [] threads = new Thread [10];
+ while (true) {
+
+ for (int i = 0; i < threads.Length; i ++) {
+ threads [i] = new Thread (Worker);
+ threads [i].Start ();
+ }
+
+ for (int i = 0; i < threads.Length; i ++) {
+ threads [i].Abort ();
+ }
+
+ Console.Write (".");
+
+ }
+ }
+
+ static void Worker ()
+ {
+ while (true)
+ Thread.Sleep (10);
+ }
+}