[Mono-bugs] [Bug 74649][Min] Changed - NUnit test in corlib fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 08:05:32 -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 dick@ximian.com.

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

--- shadow/74649	2005-04-20 20:09:21.000000000 -0400
+++ shadow/74649.tmp.19428	2005-04-21 08:05:32.000000000 -0400
@@ -184,6 +184,14 @@
  * implement their own ways of finding out if a particular file is
  * open by a process.
  */
 void _wapi_handle_check_share (struct _WapiFileShare *share_info, int fd)
 
 
+
+------- Additional Comments From dick@ximian.com  2005-04-21 08:05 -------
+This shouldn't cause an assert, the function is trying to see if a
+particular entry in the share table is no longer required, even if it
+still has references.  It's there to short-circuit a handle collection.
+
+The assertion is failing because the release function is being entered
+with share data that already has refs==0.