Search code examples
gitsvngit-svnosx-yosemite

git svn clone died of signal 11 on OSX


I'm trying to migrate a project from svn to git. I was using the osx svn package, but I also tried installing with homebrew. I keep getting this same error.

git svn clone http://myserver/myrepo
error: git-svn died of signal 11

Version information:

git --version
git version 2.2.1

svn --version
svn, version 1.7.17 (r1591372)
   compiled Sep 18 2014, 13:06:44

I'm running Yosemite.


Solution

  • git svn executes git-svn which is a Perl program which uses bindings to libsvn and those bindings are touchy. If Perl changes, or SVN changes, that could cause a segfault. Both could happen in an OS upgrade.

    Find out which version of the SVN bindings your git is using. Here's what I get for OS X 10.10.1

    $ /usr/bin/git svn --version
    git-svn version 1.9.3 (Apple Git-50) (svn 1.7.17)
    

    Try brew upgrade git as suggested by @MykolaGurov in the comments. It seems there are fixes for 10.10 and git-svn. You might also try brew reinstall subversion --with-perl to reinstall the Perl bindings.

    Or use the OS X provided /usr/bin/git which will be built with the OS provided SVN and Perl.

    Or try MacPorts, I use it and its git-svn works. port install git +svn.