[Mono-dev] sharing violation on log4net

Carlos Solorzano carlos at applianz.com
Mon Nov 28 23:08:07 EST 2005


Something else that is weird is that XSP doesn't work at all if the  
log setup fails, I will quit using file base logs on XSP to get  
around it though.

--Carlos


On Nov 28, 2005, at 6:22 PM, Dick Porter wrote:

> 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 1.1.9.2
>
> 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.
>
> - Dick
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list