Git一直给我报这个错误
0 [main] sh (47116) C:\Users\Marcus\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x11C7400/0x1297400.
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] sh 42052 fork: child -1 - forked process 47116 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
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] sh 42052 fork: child -1 - forked process 47116 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
我尝试过的事情包括:
- 从
C:\cygwin
和C:\cygwin64
中删除cygwin并重新安装。 - 使用卸载程序和安装程序重新安装GitHub。
- 卸载github并手动删除其本地和漫游AppData文件夹,然后重新安装。
- 重启电脑
- 对
C:\cygwin
进行了rebasing,它成功了,但没有解决任何问题。 - 对
%appdata%\Local\Github\PortableGit_c7e...\.
进行了rebasing,它再次返回原始错误。
参考一下,我正在运行Windows 10 64位。我找到的唯一另一个针对我遇到错误的问题从未得出解决方案:link here
除了完全重新安装Windows之外,我不确定还可以去哪里寻求帮助,非常感谢您提供的任何帮助。