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

Hemant picture Hemant · Jan 10, 2014 · Viewed 9k times · Source

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.

Answer

AronVanAmmers picture AronVanAmmers · Aug 21, 2014

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.