{"id":94,"date":"2007-10-29T13:41:04","date_gmt":"2007-10-29T12:41:04","guid":{"rendered":"https:\/\/www.dont-panic.cc\/capi\/2007\/10\/29\/git-svn-fails-with-fatal-error-unable-to-remap\/"},"modified":"2011-11-02T19:24:57","modified_gmt":"2011-11-02T18:24:57","slug":"git-svn-fails-with-fatal-error-unable-to-remap","status":"publish","type":"post","link":"https:\/\/www.dont-panic.cc\/capi\/2007\/10\/29\/git-svn-fails-with-fatal-error-unable-to-remap\/","title":{"rendered":"git-svn fails with fatal error: unable to remap"},"content":{"rendered":"<p><a href=\"http:\/\/git.or.cz\/\">Git<\/a>&#8216;s nice <a href=\"http:\/\/subversion.tigris.org\/\">Subversion<\/a> (SVN) integration is one of the reasons I switched to using it within our company for my own revision control besides our official repository. Unfortunately, upgrading <a href=\"http:\/\/www.cygwin.com\/\">cygwin<\/a> broke my system once again:<\/p>\n<blockquote style=\"text-align: left;\"><p><code>$ git svn dcommit<\/code><br \/>\n<code>6 [main] perl 4760 C:\\cygwin\\bin\\perl.exe: *** fatal error - unable to remap C:\\cygwin\\lib\\perl5\\site_perl\\5.8\\cygwin\\auto\\SVN\\_Core\\_ Core.dll to same address as parent(0x260000) != 0x990000 84 [main] perl 3224 fork: child 4760 - died waiting for dll loading, errno 11 panic: MUTEX_LOCK (45) [util.c:2331] at \/usr\/bin\/git-svn line 787. panic: MUTEX_LOCK (45) [op.c:352].<\/code><\/p><\/blockquote>\n<p>The reason behind this behavior is a huge difference in the way processes and threads and libraries are created\/handled on Windows and Linux. <code>git-svn<\/code> relies on perl within cygwin and several perl libraries that use the same base-address for libraries internally. Of course, no two libraries can be loaded to the same base-address at the same time.<\/p>\n<p>Long explanation, short way to fix the problem:<\/p>\n<ol>\n<li>Quit all cygwin processes<\/li>\n<li>Start <em>ash<\/em> (&lt;cygroot&gt;\\bin\\ash.exe) (&lt;edit&gt;Use &#8220;Run as Administrator&#8230;&#8221;&lt;\/edit&gt;)<\/li>\n<li>Execute <em>\/usr\/bin\/rebaseall<\/em><\/li>\n<\/ol>\n<p>Voilla, that&#8217;s all. git-svn should work again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git&#8216;s nice Subversion (SVN) integration is one of the reasons I switched to using it within our company for my own revision control besides our official repository. Unfortunately, upgrading cygwin broke my system once again: $ git svn dcommit 6 [main] perl 4760 C:\\cygwin\\bin\\perl.exe: *** fatal error &#8211; unable to remap C:\\cygwin\\lib\\perl5\\site_perl\\5.8\\cygwin\\auto\\SVN\\_Core\\_ Core.dll to same &hellip; <a href=\"https:\/\/www.dont-panic.cc\/capi\/2007\/10\/29\/git-svn-fails-with-fatal-error-unable-to-remap\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;git-svn fails with fatal error: unable to remap&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[171,131,102,56],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-development","category-software","tag-cygwin","tag-git","tag-subversion","tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":2,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/94\/revisions\/153"}],"wp:attachment":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}