我正在尝试解决以下问题:
$ 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 shell 运行 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).
好的,再次尝试使用: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).
我该怎么办:
- 解决我最初的问题
- 运行这个“rebaseall”东西?
谢谢
最佳答案
我在 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
不幸的是, rebase 对我的情况没有帮助(我遵循了文章“No more STATUS_ACCESS_VIOLATION on Cygwin under Windows7 ”中提出的方法)
关于git 8728 fork : child -1 - died waiting for longjmp before initial,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7767573/