Git 打开新bash选项卡时出现cmder错误

Git 打开新bash选项卡时出现cmder错误,git,git-bash,cmder,Git,Git Bash,Cmder,我在windows 10上使用cmder,当打开新的bash选项卡时,它会抛出此错误。我在google上搜索并卸载了下载的android sdk,但它不起作用。有人能帮我吗?在CMD会话中尝试相同的git bash,在该会话中将PATH环境变量设置为最小值: 0 [main] bash (1884) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatc

我在windows 10上使用cmder,当打开新的bash选项卡时,它会抛出此错误。我在google上搜索并卸载了下载的android sdk,但它不起作用。有人能帮我吗?

CMD
会话中尝试相同的git bash,在该会话中将
PATH
环境变量设置为最小值:

    0 [main] bash (1884) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x14C6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      0 [main] bash 11464 fork: child -1 - forked process 1884 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      0 [main] bash (3256) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x1386408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1074705 [main] bash 11464 fork: child -1 - forked process 3256 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      2 [main] bash (12572) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x14A6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
3147239 [main] bash 11464 fork: child -1 - forked process 12572 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      1 [main] bash (10236) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x12A6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
7224765 [main] bash 11464 fork: child -1 - forked process 10236 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      0 [main] bash (13684) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x10D6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
15488563 [main] bash 11464 fork: child -1 - forked process 13684 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: Resource temporarily unavailable
bash-4.3$
然后键入
bash
,查看错误是否仍然存在。
我已经在Windows10(最新补丁)上用GitVersion2.11.0.windows.1对它进行了测试。它确实有效

委员会确认:

我完全重新安装cmder,现在一切正常


在我的案例中,罪魁祸首是(我和)强制ASLR设置。当设置为“开”时,它会强制重新定位与/DYNAMICBASE不兼容的图像,这会破坏Git for windows二进制文件。

@ChenLee是的,但这是暂时的。若要最终避免该错误消息,请按所述设置路径。@VonC直到今天早上我都遇到了相同的错误,我尝试了您的建议,但没有成功。昨天工作正常,但我已经安装了Skype用于商务。不知道此安装是否与我的问题有关。@jmcollin92您的意思是说您正在从CMD启动git bash,其中路径设置如我上面所述,但您仍然看到问题?@jmcollin92您解决了问题吗?我按照这个答案中的建议设置了路径,并从Cmder中的同一个cmd启动了bash,但同样的问题出现了。@Alex我完全重新安装了Cmder,现在一切正常。
set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
set PATH=C:\path\to\Git\bin;C:\path\to\Git\cmd;C:\path\to\Git\usr\bin;%PATH%