Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 973
Hemant Avatar asked Jan 10 '14 18:01

Hemant


4 Answers

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.

like image 50
AronVanAmmers Avatar answered Sep 25 '22 16:09

AronVanAmmers


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

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

like image 28
David Avatar answered Sep 22 '22 16:09

David


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.

like image 20
msl Avatar answered Sep 25 '22 16:09

msl


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

Cheers

like image 34
Akshay Lokur Avatar answered Sep 22 '22 16:09

Akshay Lokur