Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git segmentation fault #23045

Closed
smcquay opened this issue Jan 19, 2018 · 5 comments
Closed

git segmentation fault #23045

smcquay opened this issue Jan 19, 2018 · 5 comments
Labels
bug Reproducible Homebrew/homebrew-core bug upstream issue An upstream issue report is needed

Comments

@smcquay
Copy link

smcquay commented Jan 19, 2018

Please always follow these steps:

  • [ x ] Confirmed this is a problem with brew installing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you run brew? If it's a general brew problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • [ x ] Ran brew update and retried your prior step?
  • [ x ] Ran brew doctor, fixed all issues and retried your prior step?
  • [ x ] Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • [ x ] If brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)

trying to clone a repository

  • What happened (include command output)
smcquay@smm:/tmp
 ⌘ rm -rf tcell; /usr/bin/git clone git@github.com:gdamore/tcell.git                                              
Cloning into 'tcell'...
remote: Counting objects: 4168, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 4168 (delta 3), reused 8 (delta 3), pack-reused 4157
Receiving objects: 100% (4168/4168), 1.68 MiB | 2.21 MiB/s, done.
Resolving deltas: 100% (779/779), done.
smcquay@smm:/tmp
 ⌘ rm -rf tcell; /usr/local/bin/git clone git@github.com:gdamore/tcell.git                                        
Cloning into 'tcell'...
remote: Counting objects: 4168, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 4168 (delta 3), reused 8 (delta 3), pack-reused 4157
Receiving objects: 100% (4168/4168), 1.68 MiB | 916.00 KiB/s, done.
Resolving deltas: 100% (779/779), done.
zsh: segmentation fault  /usr/local/bin/git clone git@github.com:gdamore/tcell.git
  • What you expected to happen

When I switch back it works:

smcquay@smm:/tmp
 ⌘ brew switch git 2.15.1_1                                                                                rc: 1  
Cleaning /usr/local/Cellar/git/2.14.1
Cleaning /usr/local/Cellar/git/2.15.1_1
Cleaning /usr/local/Cellar/git/2.14.2
Cleaning /usr/local/Cellar/git/2.14.3
Cleaning /usr/local/Cellar/git/2.16.0
Cleaning /usr/local/Cellar/git/2.15.1
Cleaning /usr/local/Cellar/git/2.15.0
208 links created for /usr/local/Cellar/git/2.15.1_1
smcquay@smm:/tmp
 ⌘ rm -rf tcell; /usr/local/bin/git clone git@github.com:gdamore/tcell.git                                        
Cloning into 'tcell'...
remote: Counting objects: 4168, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 4168 (delta 3), reused 8 (delta 3), pack-reused 4157
Receiving objects: 100% (4168/4168), 1.68 MiB | 2.09 MiB/s, done.
Resolving deltas: 100% (779/779), done.
  • Step-by-step reproduction instructions (by running brew install commands)
$ brew install git
$ /usr/local/bin/git clone git@github.com:gdamore/tcell.git
@ilovezfs
Copy link
Contributor

That's most likely a git issue. Please report it upstream and post the bug report link here.

@ilovezfs ilovezfs added bug Reproducible Homebrew/homebrew-core bug upstream issue An upstream issue report is needed labels Jan 19, 2018
@smcquay
Copy link
Author

smcquay commented Jan 19, 2018

I reported it and here's a link to the mail thread.

@ilovezfs
Copy link
Contributor

Thanks @smcquay!

@ilovezfs
Copy link
Contributor

@smcquay upstream fixed this in 2.16.1, which I have just shipped. If you brew update and brew upgrade the problem should be fixed.

@smcquay
Copy link
Author

smcquay commented Jan 22, 2018

\o/

Tested and works for me. Thanks!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug upstream issue An upstream issue report is needed
Projects
None yet
Development

No branches or pull requests

2 participants