[Mono-bugs] [Bug 74663][Nor] New - _wapi_handle_new and _wapi_replace_handle assertions
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 19 Apr 2005 19:13:50 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=74663
--- shadow/74663 2005-04-19 19:13:50.000000000 -0400
+++ shadow/74663.tmp.1282 2005-04-19 19:13:50.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 74663
+Product: Mono: Runtime
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: io-layer
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: _wapi_handle_new and _wapi_replace_handle assertions
+
+With the following compiled to foo.exe:
+class X {
+ static void Main ()
+ {
+ }
+}
+
+I ran the following script:
+
+(while true; do
+ for i in $(seq 0 10); do
+ mono foo.exe && echo -n .
+ done
+ kill `pidof mono`
+done) &
+
+(while true; do
+
+ for i in $(seq 0 10); do
+ mono foo.exe && echo -n x
+ done
+ kill `pidof mono`
+
+done)
+
+Eventually, mono will get itself into ruts where it does:
+** ERROR **: file handles.c: line 372 (_wapi_handle_new): assertion failed:
+(offset != 0)
+
+or
+
+** ERROR **: file handles.c: line 684 (_wapi_replace_handle): assertion
+failed: (new_off != 0)
+
+for a while.
+
+Somehow it is able to get out of these cleanly after a little bit of being
+stuck.