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:
I have tried multiple solutions including upgrading mysysgit from 1.8.2 to latest 1.8.5.2 but no luck yet.
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.
Not the best answer, but a reboot fixed it for me.
Seems related to this issue, so probably address-space related.
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.
Just try to uninstall mysysgit and re-install it. For my case this resolved the issue.
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With