[Mono-dev] sharing violation on log4net
dick at ximian.com
Mon Nov 28 19:22:48 EST 2005
On Mon, 2005-11-28 at 17:22 -0600, Carlos Solorzano wrote:
> I am getting a sharing violation exception a lot since upgrading to mono
> 1.1.10, the code used to work a lot more often without that exception on
> mono 184.108.40.206
The file handling code should be the same between those two releases, as
far as I can remember.
> What its really bothering me now is that the sharing violation not only
> ocurrs after mono is completely closed and restarted but I am even
> getting it after system reboots, it makes no sense why that would happen.
The share data is stored in a file in ~/.wapi. If it finds a record for
the file you are trying to open, it tries to check /proc for mono
processes that have that file open. Look in
mono/io-layer/handles.c:_wapi_handle_check_share to see what it's doing,
and you might be able to watch it in gdb to see why it's failing.
More information about the Mono-devel-list