git fork failure on pull with a workaround (hopefully a clue for a fix)

Bill Hoffman bill.hoffman@kitware.com
Wed Nov 7 19:02:00 GMT 2012


I have seen others post about this, but have not seen a solution.

For git pull operations, and some other git commands, I get fork 
failures like this: (happens with any repository, this is just an example)

$ git pull 2 [main] git 7384 fork: child -1 - forked process 7420 died 
unexpectedly, retry 0, exit code -1073741515, errno 11 error: cannot 
fork() for rev-list: Resource temporarily unavailable error: Could not 
run 'git rev-list' remote: Counting objects: 728, done. remote: 
Compressing objects: 100% (456/456), done. 907550 [main] git 7384 fork: 
child -1 - forked process 7436 died unexpectedly, retry 0, exit code 
-1073741515, errno 11 error: cannot fork() for index-pack: Resource 
temporarily unavailable fatal: fetch-pack: unable to fork off index-pack

However, if I set the PATH to something really small before running git, 
it works:

$ PATH=/usr/bin git pull remote: Counting objects: 728, done. remote: 
Compressing objects: 100% (456/456), done. remote: Total 464 (delta 
337), reused 9 (delta 6) Receiving objects: 100% (464/464), 153.36 KiB, 
done. Resolving deltas: 100% (337/337), completed with 107 local 
objects. From git://cmake.org/cmake


Here is the PATH:
$ echo $PATH
/usr/bin:/cygdrive/c/emacs-23.3/bin:/usr/local/bin:/usr/bin:/cygdrive/c/app/hoffman/product/11.2.0/client_2:/cygdrive/c/app/hoffman/product/11.2.0/client_2/bin:/cygdrive/c/app/hoffman/product/11.2.0/client_1:/cygdrive/c/app/hoffman/product/11.2.0/client_1/bin:/cygdrive/c/Program 
Files (x86)/MiKTeX 2.9/miktex/bin:/cygdrive/c/Program Files 
(x86)/Intel/ics/2011.0.014/bin:/cygdrive/c/Program Files 
(x86)/Intel/ics/2011.0.014/mpi/em64t/bin:/cygdrive/c/Program Files 
(x86)/Intel/ics/2011.0.014/mpi/ia32/bin:/cygdrive/c/Program Files 
(x86)/Intel/ComposerXE-2011/redist/intel64/mkl:/cygdrive/c/Program Files 
(x86)/Intel/ComposerXE-2011/redist/ia32/mkl:/cygdrive/c/Program Files 
(x86)/Intel/ComposerXE-2011/redist/intel64/mpirt:/cygdrive/c/Program 
Files 
(x86)/Intel/ComposerXE-2011/redist/intel64/compiler:/cygdrive/c/Program 
Files (x86)/Intel/ComposerXE-2011/redist/ia32/mpirt:/cygdrive/c/Program 
Files 
(x86)/Intel/ComposerXE-2011/redist/ia32/compiler:/cygdrive/c/Program 
Files (x86)/Intel/ComposerXE-2011/compiler/lib:/cygdrive/c/Program Files 
(x86)/Intel/ComposerXE-2011/redist/intel64/compiler:/cygdrive/c/Program 
Files 
(x86)/Intel/ComposerXE-2011/redist/ia32/compiler:/cygdrive/c/Program 
Files 
(x86)/Intel/ComposerXE-2011/compiler/lib:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program 
Files/Dell/Dell Data Protection/Access/Advanced/Wave/Gemalto/Access 
Client/v5:/cygdrive/c/Program Files (x86)/NTRU Cryptosystems/NTRU TCG 
Software Stack/bin:/cygdrive/c/Program Files/NTRU Cryptosystems/NTRU TCG 
Software Stack/bin:/cygdrive/c/Program Files/WIDCOMM/Bluetooth 
Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth 
Software/syswow64:/cygdrive/c/Program 
Files/Intel/DMIX:/cygdrive/c/Program 
Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
Files/Intel/WirelessCommon:/cygdrive/c/Program Files 
(x86)/Intel/ics/2011.0.014/itac/bin:/cygdrive/c/Program Files 
(x86)/Intel/ics/2011.0.014/itac/dll/impi64


I have made it significantly smaller and it still crashes.  Is there a 
way to debug this?

Thanks.


-Bill



-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list