[Mono-dev] SafeFileHandle

Zoltan Varga vargaz at gmail.com
Mon Jan 12 22:32:35 UTC 2015


Hi,

  This is a bug, it shouldn't happen. If you have some kind of reproducible
test case, please file a bug report with it.

            Zoltan

On Mon, Jan 12, 2015 at 5:28 PM, Greg Young <gregoryyoung1 at gmail.com> wrote:

> _wapi_handle_unref_full: Attempting to unref unused handle 0x8a
>
> I seem to be getting this message from the runtime not sure what could
> be causing it. From some googling this appears to happen when you
> close a file handle multiple times.
>
> The only place close is called is :
>
> protected override void Dispose(bool disposing)
>         {
>             if(_handle == null) return;
>             Flush();
>             _handle.Close();
>             _handle = null;
>            <snip>
>
> Not sure how it could be called multiple times. I don't get any issues
> on the CLR.
>
> Any ideas?
>
> Greg
>
> --
> Studying for the Turing test
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150112/1dba89b6/attachment.html>


More information about the Mono-devel-list mailing list