Updating to homegrown git 2.11.1 fixed the problem for me.
Based on the output messages and the dialog, this stretch request for git-for-windows, which was subsequently upstream, and this mailing list thread , for some reason, the return value from refresh_cache_entry() is null, which causes a segmentation error ( in my case, the way I had a cherry pick on doesn't exist on the branch I'm on)
Here's what happened to me:
$ git cherry-pick d4c26fc1 Segmentation fault: 11 $ git cherry-pick --abort error: no cherry-pick or revert in progress fatal: cherry-pick failed $ rm .git/index.lock $ brew upgrade git Updating Homebrew... ... ==> Summary πΊ /usr/local/Cellar/git/2.11.1: 1,456 files, 32.4M $ git cherry-pick d4c26fc1 error: addinfo_cache failed for path 'foo/bar/baz' error: could not apply d4c26fc... Some commit subject hint: after resolving the conflicts, mark the corrected paths hint: with 'git add <paths>' or 'git rm <paths>' hint: and commit the result with 'git commit'
source share