This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable"
On Mar 5 18:39, Corinna Vinschen wrote:
> On Mar 5 12:33, Charles Wilson wrote:
> > On 3/5/2012 11:31 AM, Corinna Vinschen wrote:
> > > Why this only fails when cygrunsrv has been built with gcc-4 but not with
> > > gcc-3 is most puzzeling.
> > $ cygcheck /usr/bin/cygrunsrv.exe
> > C:\cygwin\bin\cygrunsrv.exe
> > C:\cygwin\bin\cygwin1.dll
> > C:\WINDOWS\system32\KERNEL32.dll
> > C:\WINDOWS\system32\ntdll.dll
> > C:\WINDOWS\system32\ADVAPI32.DLL
> > C:\WINDOWS\system32\RPCRT4.dll
> > C:\WINDOWS\system32\Secur32.dll
> > C:\WINDOWS\system32\USER32.dll
> > C:\WINDOWS\system32\GDI32.dll
> > C:\cygwin\bin\cyggcc_s-1.dll <<<<<
> > C:\cygwin\bin\cygstdc++-6.dll <<<<<
> > When built with gcc3, we didn't have runtime dlls so everything was
> > static. Maybe just building cygrunsrv with -static-libgcc
> > -static-libstdc++ ?
> BTDT. That doesn't help at all, unfortunately. But thanks for your
> input. More ideas welcome :-}
I just released a new cygrunsrv which fixes the problem for me. What
it does is to fork in a separate pthread, for which the stack has been
set up in the application heap. This reduceds the chance for collision
a lot. Please give it a try.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple