git 8728 fork : child -1 - died waiting for longjmp before initial

标签 git cygwin

我正在尝试解决以下问题:

$ 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).

我该怎么办:

  1. 解决我最初的问题
  2. 运行这个“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 ”中提出的方法)

根据 issue 122 issue 122,问题肯定出在 msys-1.0.dll 上...

关于git 8728 fork : child -1 - died waiting for longjmp before initial,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7767573/

相关文章:

node.js - 如何在 Windows 7 上安装 Zombie JS? (node.js headless 浏览器)

windows - 用于与 Windows 命名管道通信的程序

cygwin - 如何使用 cygwin 创建联结?

Git Merge子目录分支到master的根目录

git - ssh 克隆不适用于 github

git - git svn fetch 错误 : svn-remote "svn" unknown

c++ - cygwin 上的 IPP 链接器错误

cygwin - 在 Cygwin 中启用 Postgresql

linux - 使用 Team Explorer Everywhere 命令行 Linux 在不下载所有项目的情况下在 TFS 中创建一个新的高级文件夹

Git - 从具有分离头的子模块提交?