2011-10-14 62 views
3

我試圖解決以下問題:混帳8728叉:孩子-1 - 死了等待的longjmp前的初始

$ git pull 
     2 [main] git 8728 fork: child -1 - died waiting for longjmp before initial 
ization, retry 10, exit code 0xC0000135, errno 11 
error: cannot fork() for rev-list: Resource temporarily unavailable 
error: could not run rev-list 
remote: Counting objects: 43, done. 
remote: Compressing objects: 100% (31/31), done. 
remote: Total 31 (delta 22), reused 0 (delta 0) 
1301582 [main] git 8728 fork: child -1 - died waiting for longjmp before initial 
ization, retry 10, exit code 0xC0000135, errno 11 
error: cannot fork() for unpack-objects: Resource temporarily unavailable 
fatal: fetch-pack: unable to fork off unpack-objects 

據一些谷歌搜索,我需要以某種方式從我的cygwin外殼rebaseall運行。下面是我做的:

從Sytem32文件/ cmd.exe的( 「運行」 菜單,輸入 「CMD」)我執行:

cd \cygwin\bin 
dash 
PATH=. rebaseall -v 

我得到:

$ ./rebaseall -v 
rebaseall: only ash or dash processes are allowed during rebasing 
    Exit all Cygwin processes and stop all Cygwin services. 
    Execute ash (or dash) from Start/Run... or a cmd or command window. 
    Execute '/bin/rebaseall' from ash (or dash). 

OK,試圖再次使用:C:\ WINDOWS \ Syswow64資料\ cmd.exe的:

Microsoft Windows [version 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés. 

C:\Windows\SysWOW64>cd c:\ 

c:\>cd cygwin 

c:\cygwin>cd bin 

c:\cygwin\bin>ash 
$ ./rebaseall -v 
rebaseall: only ash or dash processes are allowed during rebasing 
    Exit all Cygwin processes and stop all Cygwin services. 
    Execute ash (or dash) from Start/Run... or a cmd or command window. 
    Execute '/bin/rebaseall' from ash (or dash). 

我怎麼之一:

  1. 解決我最初的問題
  2. 運行這個「rebaseall」thingy?

感謝

回答

0

不知道的git的問題,但你的rebaseall命令應該工作。你很可能有一些Cygwin進程仍在運行。

  • 是否關閉了X服務器?從任務欄(X圖標)關閉它 - 如果你沒有看到它,它可能已經崩潰,但仍然是一個陳舊的過程。在這種情況下,請從任務管理器中取消它(查找XWin.exe)。
  • 另外,如果您有後臺運行的服務,你需要停止這些 - 看如何列出http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service和阻止那些
2

我有類似的問題在Windows 7(32位)。它看起來像

$ git pull 
C:\PROGRA~1\Git\bin\sh.exe: *** 1. unable to allocate heap 0x10050000, heap_chunk_size 268435456, pid 4080, Win32 error 0 
     0 [main] sh 3964 sync_with_child: child 4080(0x174) died before initialization with status code 0x1 
    1064 [main] sh 3964 sync_with_child: *** child state waiting for longjmp 
/libexec/git-core/git-sh-setup: fork: Resource temporarily unavailable 

不幸墊底並沒有我的情況下幫助(我也跟着在文章「No more STATUS_ACCESS_VIOLATION on Cygwin under Windows7」提出的方法)

按照issue 122issue 122問題肯定是msys- 1.0.dll ...

+0

我在Windows 7(32位)有同樣的問題。你有沒有得到任何解決方案@AntonK?我只是安裝了用於Windows平臺的Git-1.9.5。 – med

+0

@med,我不再和Git一起工作,我不記得我是否以及如何解決了這個問題。根據對問題122的討論(可在web.archive.org中找到),問題可能是由於msysgit中的錯誤導致的。我預計它已經解決了。 – AntonK