我正在尝试解决以下问题:
$ 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).
我怎么想:
由于
答案 0 :(得分: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”中提出的方法)
答案 1 :(得分:0)
不确定git问题,但你的rebaseall命令应该有效。你很可能还有一些Cygwin进程仍在运行。