delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/07/14:03:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_20,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL
X-Spam-Check-By: sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=OMYyI/t4MlCg1akB/23vNNu3mEOfpq8w1B+LR4t+Vxs=; b=Ma0k5TC38Ui48jS4f7M5XfEg5UPWxHSwLnDHsxBBfT1ePw/7fBW/g4u4rVrdeHvJ6R 8kVpdCthDly3uHY3QLaku36oem9CvrRI9/6qS80tAjkr+FTU/M9HT326IvUF9Sj1R6gq fau/F34pVK3rLD+JyPNVxkM/03qRWGpKl/HB3Tgv4xSEaFvq4zEskax+8BI5zeFLcqkf 1QD/2YTDhDsKyglH7DXeSEiCCZhi5xQNCd1okgnIS8ZRypxlRVbLEOlggGUyBsFvYNiO f4ZdRZhcV2jKOowMPI4i4yyAmDDlx35Tx+FjULcfoSWz5kWKx03IpzQKpro7rXrvXLxi 9Abw==
Message-ID: <509AB02F.1000300@kitware.com>
Date: Wed, 07 Nov 2012 14:02:07 -0500
From: Bill Hoffman <bill DOT hoffman AT kitware DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: git fork failure on pull with a workaround (hopefully a clue for a fix)
X-Gm-Message-State: ALoCoQkyFYM8YHfmnN24OtBsldy1hw9mq0vKv4Q4p3DAqLZaTYixqg4pVKP12hGMgr4KXKx/+R3beetcnEjxGzmFX5OLK8/OGyX94oHHCV2gcFI9zA5zBiFo4pdJPvtJgXCRRNahSHJtkvmT5GYkzyj9gII2D6LclA==
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 DOT hoffman AT kitware DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019