git svn fetch/rebase error: unable to remap msys-ssl-0.9.8.dll to same address as parent — 0x678F0000

git svn fetch/rebase error: unable to remap msys-ssl-0.9.8.dll to same address as parent — 0x678F0000

I recently started getting the following git error on git svn fetch or git svn rebase, but other local git commands are working fine:
Following is the detailed error message:
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

Environment:

git version 1.8.5.2.msysgit.0
OS: Windows7 64 bit
SVN: 1.8.4-SlikSvn-1.8.4-X64
Cygwin: I don’t have cygwin installed on my machine
Path: 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
gram Files (x86)\WinMerge;C:\work\tools\SlikSvn\bin;C:\Program Files\TortoiseSVN\bin;

I have tried multiple solutions including upgrading mysysgit from 1.8.2 to latest 1.8.5.2 but no luck yet.

Solutions/Answers:

Solution 1:

The root cause of this issue and any variants of it is two DLLs have been mapped to the same address, causing a conflict. Individual cases can be solved using rebase.

Msysgit 1.9.4-preview20140815 contains a case of this issue with the libsvn_repos-1-0.dll and libneon-25.dll libraries. Using the command git svn gives a similar error message as described in the question.

The bug report contains this workaround:

Rebase to free regions via: (execute as Administrator)

rebase -b 0x64000000 bin/libsvn_repos-1-0.dll
rebase -b 0x64200000 bin/libneon-25.dll

After this git svn works correctly.

Other cases should be solvable in a similar manner, choosing free addresses for the DLLs with which the issue occurs.

Solution 2:

Not the best answer, but a reboot fixed it for me.

Seems related to this issue, so probably address-space related.

Related:  What's the purpose of git-mv?

Solution 3:

I had a same problem with git 1.9.4-preview20140815 on Windows Server 2008 R2. Restarts didn’t help.

I have downgraded git to version 1.8.1.2-preview20130201 and it solved a problem.

Solution 4:

Just try to uninstall mysysgit and re-install it. For my case this resolved the issue.

Cheers

Solution 5:

I had the similar issue and i tried restarting my machine but it didn’t work. It worked when I downgraded GIT to 1.8.5.2.

Solution 6:

Same issue, all rebasing of dll-addresses did not work for me. Now ‘Git Svn’ works for me again. Following steps solved the problem (Git 1.9):

1) Deinstall

2) Reboot

3) Install of most recent git version (2.7)

References