[Mono-bugs] [Bug 75891][Nor] Changed - _wapi_handle_share_release: assertion failed: (info->handle_refs > 0)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 13 07:43:13 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 dick at ximian.com.


--- shadow/75891	2005-09-13 07:36:06.000000000 -0400
+++ shadow/75891.tmp.7678	2005-09-13 07:43:13.000000000 -0400
@@ -39,6 +39,18 @@
 ./bludgeon --cycles 1000 Basic:Create*,Basic:Delete*
 ------- Additional Comments From dick at ximian.com  2005-09-13 07:36 -------
 Created an attachment (id=15731)
 New proposed patch
+------- Additional Comments From dick at ximian.com  2005-09-13 07:43 -------
+How long is the bludgeon test supposed to take?  It's been running
+here since Thursday with the new patch (which incorporates the
+previous one too.)
+The problem this patch addresses is opening a file for a second time,
+when for some reason the file descriptor for the first time has been
+closed "behind the back" of io-layer.  It will now return a share
+violation because the file handle is still open, rather than wiping
+out the share info and crashing later when the handles are closed. 
+I'm not sure this is the best rememdy, but it fixes this particular case.

More information about the mono-bugs mailing list