[Mono-bugs] [Bug 74649][Min] Changed - NUnit test in corlib fails
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 19 Apr 2005 19:53:18 -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 flashdict@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74649
--- shadow/74649 2005-04-19 18:49:35.000000000 -0400
+++ shadow/74649.tmp.2026 2005-04-19 19:53:18.000000000 -0400
@@ -3,13 +3,13 @@
Version: 1.1
OS: other
OS Details: FreeBSD 6.0
Status: REOPENED
Resolution:
Severity: Unknown
-Priority: Normal
+Priority: Minor
Component: io-layer
AssignedTo: mono-bugs@ximian.com
ReportedBy: flashdict@gmail.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
@@ -135,6 +135,30 @@
exception, this can be closed or downgraded. I have re-verified the
behavior under r43267 with FreeBSD, though - with the same io-layer
error on every other run.
Thanks.
+
+------- Additional Comments From flashdict@gmail.com 2005-04-19 19:53 -------
+As a final note, I've finally figured out why this behaves so oddly -
+with an IO exception followed by an io-layer error on successive runs.
+ The difference is that the IO exception I get is:
+
+Unhandled Exception: System.IO.IOException: Could not create file
+"ThisIsMyTestPathFor.Test". File already exists.
+
+When it core dumps, the finally block never executes, and the file
+doesn't get deleted, then on the next run the open with CreateNew
+throws the exception. Otherwise, I'd get
+
+** ERROR **: file ../../mono/io-layer/handles-private.h: line 392
+(_wapi_handle_share_release): assertion failed: (info->handle_refs > 0)
+aborting...
+Abort (core dumped)
+
+every time.
+
+FWIW. Setting to minor anyhow, since it seems FreeBSD-specific, and
+anyone who opens the same file twice in the same routine needs to get
+dumped on. Heh. If you leave it open though, I'll take a look at why
+it errors on FreeBSD in 4-7 years, after I grok mono a little better. :)