我最近开始在 git svn fetch
或 git svn rebase
上收到以下 git 错误,但其他本地 git 命令工作正常:
以下是详细的错误信息:
C:\Git\bin\perl.exe: ** unable to remap C:\Git\bin\msys-ssl-0.9.8.dll to same address as parent -- 0x678F0000
0 [main] perl 1300 sync_with_child: child 7092(0x324) died before initialization with status code 0x1
567 [main] perl 1300 sync_with_child: *** child state child loading dlls
环境:
- git 版本 1.8.5.2.msysgit.0
- 操作系统:Windows7 64位
- SVN:1.8.4-SlikSvn-1.8.4-X64
- Cygwin:我的机器上没有安装 cygwin
- 路径:C:\Program Files (x86)\RSA SecurID Token Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files (x86)\1E\SMSNomad\;C:\Pro 克文件 (x86)\WinMerge;C:\work\tools\SlikSvn\bin;C:\Program Files\TortoiseSVN\bin;
我尝试了多种解决方案,包括将 mysysgit 从 1.8.2 升级到最新的 1.8.5.2,但还没有成功。
最佳答案
此问题及其任何变体的根本原因是两个 DLL 已映射到同一地址,从而导致冲突。可以使用 rebase 解决个别情况。
Msysgit 1.9.4-preview20140815 包含 a case of this issue with the libsvn_repos-1-0.dll and libneon-25.dll libraries .使用命令 git svn
会给出与问题中描述的类似的错误消息。
错误报告包含此解决方法:
Rebase to free regions via: (execute as Administrator)
rebase -b 0x64000000 bin/libsvn_repos-1-0.dll
rebase -b 0x64200000 bin/libneon-25.dll
在此之后 git svn
正常工作。
其他情况应该可以通过类似的方式解决,为出现问题的 DLL 选择空闲地址。
关于git svn fetch/rebase 错误 : unable to remap msys-ssl-0. 9.8.dll 与父地址相同——0x678F0000,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21051874/