[Mono-dev] Mono Invalid handle to path

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Feb 1 18:03:42 EST 2006

On Wed, 2006-02-01 at 10:23 -0800, Jeremy Blawn wrote:
> After playing around with this for too many hours, I think I have
> narrowed it down to File not being thread-safe.  File.Exists() fails
> allbeit there is only 1 active thread in the application when this
> happens.  "IOException: Invalid handle to path" is thrown after the
> File.Exists() is called multiple times.
> A synchronized TextReader seems to work just fine, without the
> File.Exists().
> Any help would be appreciated.

A test case for this would be appreciated too, and would also help us
fixing the issue. Can you post it?



More information about the Mono-devel-list mailing list