Closed endelwar closed 6 years ago
Try to rm -rf /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby
and see if that fixes the issue.
That didn't work, but removing anything inside ~/Library/Caches/Homebrew
fixed this behaviour.
Can it be a corrupted cache?
Same issue here, and fixed with removing everything in ~/Library/Caches/Homebrew/
.
@lzhbrian can you also paste your brew config
?
Here:
HOMEBREW_VERSION: 1.7.0-35-gf16bff5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: f16bff5b959f28c4c2972beac4be4a860db39810
Last commit: 11 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c636ad8b275f2f0fa0d4a24b1560ca2d097d435f
Core tap last commit: 33 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 9.0 build 900
Git: 2.14.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_74
macOS: 10.13.4-x86_64
CLT: 9.3.0.0.1.1521514116
Xcode: 9.2
XQuartz: 2.7.11 => /opt/X11
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?brew doctor
, fixed all issues and can still reproduce the problem?After last 10.12.6 security update (2018-004 9 July) I encounter frequent segmentation fault running almost any of
brew
commands like:upgrade formulaname
/doctor
/cleanup
After getting a segfault on
brew upgrade formulaname
that formula is not present anymore in output ofbrew outdated
, but upgrade process doesn't complete.here is the output of
brew config
:This is segfault on
brew doctor
:Output of
brew upgrade
ran afterbrew update
:output of
brew upgrade imagemagick
:I'm attaching crash reports.zip that contains 3 reports found in
~/Library/Logs/DiagnosticReports