bash.exe: *** fatal error - add_item ("\??\C:\cygwin", "/", ...) failed, errno 1

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Mar 5 18:42:00 GMT 2015


On Mar  5 15:40, Vladimir Sakharuk wrote:
> Hi All,
> I have found similar issues, but did not find solution that worked for me. Looking for help.
> 
> I am trying to run applications on windows cluster.
> I am getting random crashes like bellow.
> However most of the times it works. I assume around 1% of starts fails. Starting it is again usually succeed.
> I suspected that it was forking issue, but cygwin's rebase did not help.
> I did rebase after server reboot with no Cygwin apps running. (BTW, Is there any way to check if rebase successful?)

That's not a rebase problem.  It's apparently a concurrency problem of
sorts.  While pulling up the per-user shared memory region, two or more
processes are trying to set up the same mount points.

This is not supposed to happen.  Only the first process actually
*creating* the per-user shared memory is supposed to create the mount
points.  The OS tells a process if it created or just opened a shared
memory region, but for some reason both processes seem to think they
created the shmem region and one of them then stumbles of the EPERM
condition trying to create the root mount point twice.

> Thank you for suggestions.

I don't have a sugggestion, in fact.  Again, this error condition was
supposed to be impossible, but somehow it isn't in your cluster setup.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150305/95e31156/attachment.sig>


More information about the Cygwin mailing list