Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.44k stars 9.75k forks source link

Poor performance or infinite loop on `brew upgrade` dependent checking #6671

Closed ngocphamm closed 5 years ago

ngocphamm commented 5 years ago

I've released 2.1.16 which disables this functionality entirely until I rewrite it. If you hit this bug: brew update before posting anything here please and don't post any "thanks" or "fixed for me" here, thanks. (@MikeMcQuaid)


I am not sure about the "reproducible" part because it does not happen every single time I do brew upgrade but a handful of times alread.

I also notice this seems to start happening since the portable ruby is being downloaded, and used by brew.

What you were trying to do (and why)

I ran brew upgrade to upgrade all (unpinned) packages and noticed a huge spikes in both CPU and RAM usage for ruby task, and the brew process did not seem to finish until I do Ctrl + C (in the terminal). I did not wait for long this time (probably around 30 seconds) but it happened before so I know it won't stop until I do Ctrl + C.

It looks like it hung trying to remove old packages or something.

What happened (include command output)

2019-11-01 at 9 08 AM

2019-11-01 at 9 08 AM

I'm not sure if this might caused by one (or more) packages I tried to upgrade.

Command output

~ Β»  brewug
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
balena-cli

Error: Not upgrading 1 pinned package:
dnscrypt-proxy 2.0.31
==> Upgrading 5 outdated packages:
python 3.7.4_1 -> 3.7.5
shared-mime-info 1.14 -> 1.15
ruby-build 20191030 -> 20191031
vagrant-completion 2.2.5 -> 2.2.6
imagemagick 7.0.9-1 -> 7.0.9-2
==> Upgrading python
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bc/bcbdc3612a10d06facca7ec9499265731d530c8273b1a2dc28f16258d4410552?__gda__=exp=157261
######################################################################## 100.0%
==> Pouring python-3.7.5.mojave.bottle.tar.gz
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar
==> /usr/local/Cellar/python/3.7.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install 
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
πŸŽ‰  /usr/local/Cellar/python/3.7.5: 3,972 files, 60.7MB
Removing: /usr/local/Cellar/python/3.7.4_1... (3,875 files, 60.2MB)
==> Upgrading shared-mime-info
==> Downloading https://homebrew.bintray.com/bottles/shared-mime-info-1.15.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/1b/1be57687d8aef14d6bc95be0a02a5dfdbce4bf859ea057c93e3ff8545c700fcd?__gda__=exp=157261
######################################################################## 100.0%
==> Pouring shared-mime-info-1.15.mojave.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall shared-mime-info`
==> Summary
πŸŽ‰  /usr/local/Cellar/shared-mime-info/1.15: 85 files, 4.7MB
Removing: /usr/local/Cellar/shared-mime-info/1.14... (85 files, 4.7MB)
Removing: /Users/ngoc/Library/Caches/Homebrew/shared-mime-info--1.14.mojave.bottle.tar.gz... (1.2MB)
==> Upgrading ruby-build
==> Downloading https://github.com/rbenv/ruby-build/archive/v20191031.tar.gz
==> Downloading from https://codeload.github.com/rbenv/ruby-build/tar.gz/v20191031
######################################################################## 100.0%
==> ./install.sh
πŸŽ‰  /usr/local/Cellar/ruby-build/20191031: 460 files, 230.4KB, built in 7 seconds
Removing: /usr/local/Cellar/ruby-build/20191030... (460 files, 230.6KB)
Removing: /Users/ngoc/Library/Caches/Homebrew/ruby-build--20191030.tar.gz... (62.1KB)
==> Upgrading vagrant-completion
==> Downloading https://github.com/hashicorp/vagrant/archive/v2.2.6.tar.gz
==> Downloading from https://codeload.github.com/hashicorp/vagrant/tar.gz/v2.2.6
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
πŸŽ‰  /usr/local/Cellar/vagrant-completion/2.2.6: 6 files, 211.9KB, built in 5 seconds
Removing: /usr/local/Cellar/vagrant-completion/2.2.5... (6 files, 209.6KB)
==> Upgrading imagemagick
==> Downloading https://homebrew.bintray.com/bottles/imagemagick-7.0.9-2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/89/899550e6673673865683c1896a0e63d49b1034ef738d67a479d58bd8da9be7e8?__gda__=exp=157261
######################################################################## 100.0%
==> Pouring imagemagick-7.0.9-2.mojave.bottle.tar.gz
πŸŽ‰  /usr/local/Cellar/imagemagick/7.0.9-2: 1,479 files, 23.9MB
Removing: /usr/local/Cellar/imagemagick/7.0.9-1... (1,479 files, 23.9MB)
Removing: /Users/ngoc/Library/Caches/Homebrew/imagemagick--7.0.9-1.mojave.bottle.tar.gz... (9.5MB)
^C
~ Β»  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/python3.6m/greenlet/greenlet.h
~ Β»  brew config
HOMEBREW_VERSION: 2.1.15-99-gdc32ab3
ORIGIN: https://github.com/Homebrew/brew
HEAD: dc32ab3554c7060aff9e0889ca8a15121a41f738
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 70cbfd72dbdfe9ad134d6b89a28bbcd1b7769368
Core tap last commit: 12 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_INSTALL_BADGE: πŸŽ‰
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_VISUAL: vim
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: N/A
CLT headers: 10.3.0.0.1.1562985497
~ Β»

  

What you expected to happen

The brew upgrade process successfully upgrades the packages, and stops executing, leaving no ruby process behind taking CPU and RAM resources.

Step-by-step reproduction instructions (by running brew commands)

  1. Run brew update
  2. See there are some updates to installed packages
  3. Run brew upgrade to upgrade the packages (brewug is my alias)
  4. Wait to see if it happens...
lamarqua commented 5 years ago

Interestingly I was about to post about the same problem. It's been a regular occurrence for me in the past weeks; CPU and memory usage go high during the "removing" part. If I cancel via ctrl+c then do a brew cleanup, it also takes much longer than it used to, although it does not spike as badly as the brew upgrade.

ngocphamm commented 5 years ago

"Good" that I'm not the only one so it might be somewhat reproducible πŸ˜„

MikeMcQuaid commented 5 years ago

I ran brew upgrade to upgrade all (unpinned) packages and noticed a huge spikes in both CPU and RAM usage for ruby task, and the brew process did not seem to finish until I do Ctrl + C (in the terminal). I did not wait for long this time (probably around 30 seconds) but it happened before so I know it won't stop until I do Ctrl + C.

It looks like it hung trying to remove old packages or something.

You only waited 30s so I don't see any evidence that it hung. It's searching for packages that need to be upgraded.

We'll accept pull requests to improve the performance on this but this is not a bug.

ngocphamm commented 5 years ago

I ran brew upgrade to upgrade all (unpinned) packages and noticed a huge spikes in both CPU and RAM usage for ruby task, and the brew process did not seem to finish until I do Ctrl + C (in the terminal). I did not wait for long this time (probably around 30 seconds) but it happened before so I know it won't stop until I do Ctrl + C. It looks like it hung trying to remove old packages or something.

You only waited 30s so I don't see any evidence that it hung. It's searching for packages that need to be upgraded.

I probably should have been more clear. I only waited 30s this time, because I knew it's not gonna finish. I waited for a much longer time before (10-15 minutes) and it didn't finish either. If that's still not a bug, then okay.

But I guess I should let it try next time and maybe capture a better screenshot of it taking longer than a minute. I noticed this just because I have never seen it before the whole time I've been using homebrew (years now).

MikeMcQuaid commented 5 years ago

Do you have an SSD? How many packages do you have installed $(brew list | wc -l)? If you can reproduce this with --verbose --debug before killing: that would be useful.

ngocphamm commented 5 years ago

Yes MBP 2015 with SSD. Not the fastest one in market (I wish) but it should not be "that" slow I would think.

brew list | wc -l returns 155.

I will try to do --verbose --debug next time and see. As I said before, it didn't happen every single time so I know it's kinda annoying to debug, and I wasn't sure if it fits the "reproducible" requirement but I was glad someone else had it too. I might have something in the next few days. I run brew upgrade a lot (just really want to keep things updated πŸ˜„ ).

MikeMcQuaid commented 5 years ago

Is everything related to Homebrew on your SSD? I'm sure the answer is probably "yes".

ngocphamm commented 5 years ago

Yes because I don't have any external HDD/SDD attached to the mac.

arbelt commented 5 years ago

I've been getting this too, and the last one hung for about 30 min β€” didn't realize that it was still going until I was trying to figure out why my machine slowed to a crawl. But I did get the traceback info on Ctrl-C in case it's helpful. I've cut out the middle because it's all the same. Recursive call gone amuck, or cyclic graph somewhere?

Traceback (most recent call last):
    6251: from /usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
    6250: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:114:in `upgrade'
    6249: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:367:in `check_dependents'
    6248: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
    6247: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
    6246: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
[...]
      55: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      54: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      53: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      52: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      51: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      50: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      49: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      48: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      47: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      46: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      45: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      44: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      43: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      42: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      41: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      40: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      39: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      38: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      37: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      36: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      35: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      34: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      33: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      32: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      31: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      30: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      29: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      28: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      27: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      26: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      25: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      24: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      23: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      22: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      21: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      20: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      19: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      18: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      17: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      16: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
      15: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
      14: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
      13: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
      12: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
      11: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
      10: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `block (2 levels) in broken_dependents'
       9: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `each'
       8: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `block (3 levels) in broken_dependents'
       7: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `new'
       6: from /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27:in `initialize'
       5: from /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:86:in `check_dylibs'
       4: from /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:53:in `fetch'
       3: from /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:23:in `keg_exists?'
       2: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:31:in `get'
       1: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:88:in `db'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/json/common.rb:157:in `parse': Interrupt
    2: from /usr/local/Homebrew/Library/Homebrew/brew.rb:38:in `<main>'
    1: from /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `rescue in <main>'
/usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `exit': exit (SystemExit)
/usr/local/Homebrew/Library/Homebrew/brew.rb: Interrupt
MikeMcQuaid commented 5 years ago

@arbelt Please provide your brew config output.

ngocphamm commented 5 years ago

Okay so it just happened again. And it actually stopped (after about 5 minutes), so I apologize for saying that it didn't stop earlier. I clearly just didn't wait long enough. Not too sure about the time when I felt like I waited 10-15 minutes.

==> Upgrading 3 outdated packages:
libheif 1.5.1_1 -> 1.5.1_2
ffmpeg 4.2.1_1 -> 4.2.1_2
x265 3.2 -> 3.2.1

.... A LOT MORE VERBOSE, DEBUG MESSAGES...

Removing: /usr/local/Cellar/ffmpeg/4.2.1_1... (287 files, 56.5MB)
Removing: /usr/local/Cellar/x265/3.2... (11 files, 35.2MB)
Removing: /Users/ngoc/Library/Caches/Homebrew/x265--3.2.mojave.bottle.tar.gz... (4.8MB)
==> Checking dependents for outdated formulae
==> No dependents to upgrade
==> Checking dependents for broken library links
Error: stack level too deep
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/pathname.rb:350:in `initialize'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/pathname.rb:350:in `new'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/pathname.rb:350:in `+'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:452:in `core_path'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:409:in `loader_for'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:317:in `factory'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:37:in `to_formula'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/delegate.rb:349:in `each'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1518:in `recursive_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1775:in `declared_runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1553:in `runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1561:in `runtime_formula_dependencies'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:168:in `check_formula_deps'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:145:in `check_dylibs'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `new'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `block (3 levels) in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `block (2 levels) in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each_key'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'

...ANOTHER ~3000 LINES SIMILAR TO THESE

It did NOT happen the time before that

==> Upgrading 1 outdated package:
composer 1.9.0 -> 1.9.1
==> Upgrading composer

.... A LOT MORE VERBOSE, DEBUG MESSAGES...

Removing: /usr/local/Cellar/composer/1.9.0... (3 files, 1.8MB)
Removing: /Users/ngoc/Library/Caches/Homebrew/composer--1.9.0.phar... (1.8MB)
==> Checking dependents for outdated formulae
==> No dependents to upgrade
==> Checking dependents for broken library links
==> No broken dependents to reinstall
LERUfic commented 5 years ago

This is also happened to me

brew upgrade
==> Upgrading 1 outdated package:
sqlite 3.29.0 -> 3.30.1

[...]

==> Summary
🍺  /usr/local/Cellar/sqlite/3.30.1: 11 files, 3.9MB
Removing: /usr/local/Cellar/sqlite/3.29.0... (11 files, 3.9MB)
Error: stack level too deep
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `initialize_dup'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `+'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:452:in `core_path'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:409:in `loader_for'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:317:in `factory'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:37:in `to_formula'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1518:in `recursive_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1775:in `declared_runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1553:in `runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1561:in `runtime_formula_dependencies'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:168:in `check_formula_deps'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:145:in `check_dylibs'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `new'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `block (3 levels) in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
[brew_upgrade_output.txt](https://github.com/Homebrew/brew/files/3801179/brew_upgrade_output.txt)

[... +- 9000 similar lines ...]

/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:367:in `check_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:114:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'

and this is my brew config if you need

HOMEBREW_VERSION: 2.1.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2bf8015bc44878d432fb9da4f11e1d8abcef8f32
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a45b186f5d00b5c3c32aad5001ad07e35af804da
Core tap last commit: 29 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.21.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 11.0.1
macOS: 10.15.1-x86_64
CLT: 1100.0.33.8
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11
pbregener commented 5 years ago

Same problem here. Also, for me this is not just a problem of "poor performance", but breaks brew upgrade. I had to kill the process after 15 minutes. By that time it used 16 GB of memory and began swapping.

brew config:

HOMEBREW_VERSION: 2.1.15-107-g5da322d
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 5da322d6be314e5f8b1729e91e60be743a1e7d8e
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 18e37e02262fb31723ef265d3ac1aa36555a63a8
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: quad-core 64-bit sandybridge
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1000
Git: 2.23.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.13.6-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11
nchammas commented 5 years ago

I'm having a similar issue. brew upgrade is failing with the Error: stack level too deep that others have posted above, followed by a very lengthy trace. During this process, I'm also seeing Ruby use several gigabytes of memory (8+ GB in my case) before failing with this error.

brew doctor:

Warning: Putting non-prefixed coreutils in your path can cause gmp builds to fail.

brew config:

HOMEBREW_VERSION: 2.1.15-109-g5f3302b
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 5f3302b3f7b85a308289cc62a9cd7a00ffe527d4
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 9fc6eaac4c4cc7e3d76c30ee8cfe098fd8fc4177
Core tap last commit: 41 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.23.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_92, 1.7.0_65
macOS: 10.15.1-x86_64
CLT: N/A
Xcode: 11.1
skunkworker commented 5 years ago

Linking in this Issue thread from homebrew-core, myself and others have been experiencing this since the last 12 days.

https://github.com/Homebrew/homebrew-core/issues/45723

skunkworker commented 5 years ago

Is there any reason why some debug lines couldn't be added to upgrade.rb#check_dependents that check for the stack trace depth and print off debug info why there is an infinite loop?

Feliix42 commented 5 years ago

I can confirm this. I have the same issue when running brew upgrade. The stack trace also looks similar. Posting my brew config as I seem to be the only one on macOS 10.14 to be affected:

HOMEBREW_VERSION: 2.1.15-109-g5f3302b
ORIGIN: https://github.com/Homebrew/brew
HEAD: 5f3302b3f7b85a308289cc62a9cd7a00ffe527d4
Last commit: 9 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 89bf3a54383d884f8b8511c6237325dd5b5ae6ba
Core tap last commit: 42 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_112
macOS: 10.14.6-x86_64
CLT: 11.0.0.0.1.1559496560
Xcode: 11.2
CLT headers: 11.0.0.0.1.1559496560
XQuartz: 2.7.11 => /opt/X11
sashkab commented 5 years ago

Seeing similar behavior during brew upgrade.

$ brew config
HOMEBREW_VERSION: 2.1.15-109-g5f3302b
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 5f3302b3f7b85a308289cc62a9cd7a00ffe527d4
Last commit: 12 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 40d7edfb0548493ddf9871fbd879095d36167978
Core tap last commit: 11 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_ANALYTICS: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.23.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: N/A
CLT headers: 10.3.0.0.1.1562985497
XQuartz: 2.7.11 => /opt/X11
jtsom commented 5 years ago

Still seeing it here too on almost any update it does:

-> % brew config
HOMEBREW_VERSION: 2.1.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2bf8015bc44878d432fb9da4f11e1d8abcef8f32
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 115d708582c957638622eff95e461bffc02dc74d
Core tap last commit: 37 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.1-x86_64
CLT: N/A
Xcode: 11.1
Upgrading ruby-build
==> Downloading https://github.com/rbenv/ruby-build/archive/v20191102.tar.gz
==> Downloading from https://codeload.github.com/rbenv/ruby-build/tar.gz/v20191102
######################################################################## 100.0%
==> ./install.sh
🍺  /usr/local/Cellar/ruby-build/20191102: 461 files, 231KB, built in 5 seconds
Removing: /usr/local/Cellar/ruby-build/20191024... (460 files, 230.2KB)
Removing: /Users/john/Library/Caches/Homebrew/ruby-build--20191024.tar.gz... (62.1KB)
Removing: /usr/local/Cellar/x265/3.2... (11 files, 35.2MB)
Removing: /Users/john/Library/Caches/Homebrew/x265--3.2.catalina.bottle.tar.gz... (4.8MB)
^[[A^[[B

Error: stack level too deep
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `initialize_dup'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb:350:in `+'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:452:in `core_path'
/usr/local/Homebrew/Library/Homebrew/formula.rb:185:in `initialize'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:114:in `new'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:114:in `get_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:317:in `factory'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:37:in `to_formula'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:105:in `block in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:87:in `expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1518:in `recursive_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1775:in `declared_runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1553:in `runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1561:in `runtime_formula_dependencies'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:168:in `check_formula_deps'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:145:in `check_dylibs'
/usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `new'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `block (3 levels) in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
/usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
BrettDong commented 5 years ago

Can confirm this on macOS Catalina 10.15 on MacBook Air Early 2015, 4GB RAM and 128GB SSD. Process ruby ate like 11 GiB of RAM in Activity Monitor. The hang happened in the end of a brew upgrade session while seemingly cleaning old packages:

brett@brettdeMacBook-Air ~ % brew update
Updated 3 taps (homebrew/core, homebrew/cask and homebrew/cask-drivers).
==> New Formulae
manticoresearch
==> Updated Formulae
cmake βœ”           ack               flake8            gmt               itk               kyma-cli          nvm               qt                tile38            yq
git βœ”             dcmtk             flyway            gtk-gnutella      jfrog-cli-go      libssh            offlineimap       siril             ucloud
harfbuzz βœ”        deark             git-delta         hydra             jsvc              mercurial         php-cs-fixer      sourcedocs        yafc
==> Deleted Formulae
gmtl
brett@brettdeMacBook-Air ~ % brew upgrade
Updating Homebrew...
==> Upgrading 3 outdated packages:
cmake 3.15.4 -> 3.15.5
harfbuzz 2.6.2 -> 2.6.4
git 2.23.0_1 -> 2.24.0
==> Upgrading cmake 
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.15.5.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/46/46b47f448f7690bbed70526a42f27bea54aa7562c9eefb86955102fc83d1366d?__gda__=exp=1572872894~hmac=c816357ca95721844f93b11ed5b3bfe2a4
######################################################################## 100.0%
==> Pouring cmake-3.15.5.catalina.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.15.5: 5,801 files, 53.4MB
Removing: /usr/local/Cellar/cmake/3.15.4... (5,800 files, 53.4MB)
Removing: /Users/brett/Library/Caches/Homebrew/cmake--3.15.4.mojave.bottle.tar.gz... (15.0MB)
==> Upgrading harfbuzz 
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-2.6.4.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/fe/feed99de447de882a40417ee9b0739faf8827d01d3dfb25f01d89e73aa1f2444?__gda__=exp=1572872947~hmac=fb99662388a212688b2c9548193a7d5fb2
######################################################################## 100.0%
==> Pouring harfbuzz-2.6.4.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/2.6.4: 158 files, 10.8MB
Removing: /usr/local/Cellar/harfbuzz/2.6.2... (158 files, 10.6MB)
Removing: /Users/brett/Library/Caches/Homebrew/harfbuzz--2.6.2.mojave.bottle.tar.gz... (2.5MB)
==> Upgrading git 
==> Downloading https://homebrew.bintray.com/bottles/git-2.24.0.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/fa/fa754c684673a191b999528995c1dc4b0d597a95ed6a2b1dd213c8e7018885ab?__gda__=exp=1572872975~hmac=ff56453a9f40531c2800478e78eb2498b2
######################################################################## 100.0%
==> Pouring git-2.24.0.catalina.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
==> Summary
🍺  /usr/local/Cellar/git/2.24.0: 1,547 files, 45.5MB
Removing: /usr/local/Cellar/git/2.23.0_1... (1,543 files, 44.9MB)
Removing: /Users/brett/Library/Caches/Homebrew/git--2.23.0.mojave.bottle.tar.gz... (17.1MB)
Removing: /Users/brett/Library/Caches/Homebrew/git--2.23.0_1.mojave.bottle.tar.gz... (17.1MB)
^C^C^C^C^C^C^C^C
Traceback (most recent call last):
    4282: from /usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
    4281: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:114:in `upgrade'
    4280: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:367:in `check_dependents'
    4279: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
    4278: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
    4277: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
    4276: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `each'
    4275: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
    4274: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
    4273: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
    4272: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
    4271: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
    4270: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
    4269: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
    4268: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'
    4267: from /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use'
    4266: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents'
    4265: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each'
    4264: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key'
    4263: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents'
    4262: from /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents'

and thousands of lines until

       5: from /usr/local/Homebrew/Library/Homebrew/formula.rb:543:in `prefix'
       4: from /usr/local/Homebrew/Library/Homebrew/formula.rb:377:in `pkg_version'
       3: from /usr/local/Homebrew/Library/Homebrew/formula.rb:377:in `new'
       2: from /usr/local/Homebrew/Library/Homebrew/pkg_version.rb:21:in `initialize'
       1: from /usr/local/Homebrew/Library/Homebrew/pkg_version.rb:21:in `initialize'
/usr/local/Homebrew/Library/Homebrew/pkg_version.rb:21:in `initialize': Interrupt
    2: from /usr/local/Homebrew/Library/Homebrew/brew.rb:38:in `<main>'
    1: from /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `rescue in <main>'
/usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `exit': exit (SystemExit)
/usr/local/Homebrew/Library/Homebrew/brew.rb: Interrupt
^C^C^C^C

Output of brew doctor and brew config:

brett@brettdeMacBook-Air ~ % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
brett@brettdeMacBook-Air ~ % brew config
HOMEBREW_VERSION: 2.1.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2bf8015bc44878d432fb9da4f11e1d8abcef8f32
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a34d39a63d090f1c5d4ccb7be7149195dc8059df
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_181
macOS: 10.15-x86_64
CLT: N/A
Xcode: 11.1
XQuartz: 2.7.11 => /opt/X11
ytain commented 5 years ago

I also experience similar issues with 'brew update', but I get consistent crash in ruby during that command.

Crash report from terminal (Click to expand) ``` /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports. -- Control frame information ----------------------------------------------- c:3206 p:---- s:19780 e:009779 CFUNC :parse c:3205 p:0021 s:19776 e:009775 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156 c:3204 p:0037 s:19770 e:009769 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:88 c:3203 p:0012 s:19766 e:009765 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:31 c:3202 p:0010 s:19761 e:009760 METHOD /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:23 c:3201 p:0032 s:19757 e:009756 METHOD /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:53 c:3200 p:0032 s:19752 e:009751 METHOD /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:86 c:3199 p:0158 s:19743 E:001408 METHOD /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27 [FINISH] c:3198 p:---- s:19734 e:009733 CFUNC :new c:3197 p:0047 s:19728 e:009727 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280 [FINISH] c:3196 p:---- s:19722 e:009721 CFUNC :each c:3195 p:0038 s:19718 e:009717 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274 [FINISH] c:3194 p:---- s:19710 e:009709 CFUNC :each_key c:3193 p:0026 s:19706 e:009705 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:3192 p:0007 s:19701 E:001d88 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:3191 p:0018 s:19697 e:009696 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:3190 p:0049 s:19690 E:000938 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:3189 p:0061 s:19681 e:009680 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:3188 p:---- s:19673 e:009672 CFUNC :each_key c:3187 p:0026 s:19669 e:009668 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:3186 p:0007 s:19664 E:0012d8 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:3185 p:0018 s:19660 e:009659 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:3184 p:0049 s:19653 E:000a78 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:3183 p:0061 s:19644 e:009643 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:3182 p:---- s:19636 e:009635 CFUNC :each_key c:3181 p:0026 s:19632 e:009631 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:3180 p:0007 s:19627 E:001358 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:3179 p:0018 s:19623 e:009622 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:3178 p:0049 s:19616 E:000708 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:3177 p:0061 s:19607 e:009606 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:3176 p:---- s:19599 e:009598 CFUNC :each_key c:3175 p:0026 s:19595 e:009594 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:3174 p:0007 s:19590 E:0003b8 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:3173 p:0018 s:19586 e:009585 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:3172 p:0049 s:19579 E:000a98 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:3171 p:0061 s:19570 e:009569 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:0020 p:---- s:0137 e:000136 CFUNC :each_key c:0019 p:0026 s:0133 e:000132 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:0018 p:0007 s:0128 E:0003b8 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:0017 p:0018 s:0124 e:000123 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:0016 p:0049 s:0117 E:0004d8 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:0015 p:0061 s:0108 e:000107 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:0014 p:---- s:0100 e:000099 CFUNC :each_key c:0013 p:0026 s:0096 e:000095 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338 c:0012 p:0007 s:0091 E:002138 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:0011 p:0018 s:0087 e:000086 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:0010 p:0049 s:0080 E:0013b8 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:0009 p:0061 s:0071 e:000070 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296 [FINISH] c:0008 p:---- s:0063 e:000062 CFUNC :each c:0007 p:0007 s:0059 e:000058 BLOCK /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263 c:0006 p:0018 s:0055 e:000054 METHOD /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17 c:0005 p:0049 s:0048 e:000047 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262 c:0004 p:0284 s:0039 e:000038 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:367 c:0003 p:0398 s:0029 e:000028 METHOD /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:114 c:0002 p:0605 s:0020 E:000d10 EVAL /usr/local/Homebrew/Library/Homebrew/brew.rb:102 [FINISH] c:0001 p:0000 s:0003 E:000630 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- /usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `
' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:114:in `upgrade' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:367:in `check_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `each' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:296:in `block (2 levels) in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `broken_dependents' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:17:in `use' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:263:in `block in broken_dependents' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in `each_key' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `block (2 levels) in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:274:in `each' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `block (3 levels) in broken_dependents' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:280:in `new' /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:27:in `initialize' /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:86:in `check_dylibs' /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:53:in `fetch' /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb:23:in `keg_exists?' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:31:in `get' /usr/local/Homebrew/Library/Homebrew/cache_store.rb:88:in `db' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse' -- Machine register context ------------------------------------------------ rax: 0x0000000000000000 rbx: 0x62696c2fce2f3a00 rcx: 0x0000000000000007 rdx: 0x00007fff3a180836 rdi: 0x00007f9f0bd04070 rsi: 0x62696c2fce2f3a00 rbp: 0x00007ffee4ac5ae0 rsp: 0x00007ffee4ac5ab0 r8: 0x0000000001f18c05 r9: 0x0000000000058fad r10: 0xd11b55e71936c9d1 r11: 0x0000000000000058 r12: 0x62696c2fce2f0000 r13: 0x00007f9dce2f3a50 r14: 0x00007f9f0bd04070 r15: 0x62696c2fce2f3a00 rip: 0x00007fff3a186ccb rfl: 0x0000000000010206 -- C level backtrace information ------------------------------------------- '/usr/lib/system/libsystem_platform.dylib' is not a 64-bit Mach-O file! /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(rb_vm_bugreport+0x82) [0x7fff3a291854] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff3a16bc9c) [0x7fff3a16bc9c] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/libruby.2.6.dylib(0x7fff3a22b329) [0x7fff3a22b329] /usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff658dcb1d] [0x7fff3a186ccb] [0x7fff3a186c12] [0x7fff3a180afd] [0x7fff3a184641] [0x7fff3a184344] [0x7fff3a23908b] [0x10d2800c7] [0x10d27ff0c] [0x10d27fcea] [0x10d27fcea] [0x10d27ecd3] [0x7fff3a28778b] [0x7fff3a27665a] [0x7fff3a2840bd] [0x7fff3a171d58] [0x7fff3a171c59] [0x10b08b447] -- Other runtime information ----------------------------------------------- * Loaded script: /usr/local/Homebrew/Library/Homebrew/brew.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 rational.so 3 complex.so 4 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/enc/encdb.bundle 5 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/enc/trans/transdb.bundle 6 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/English.rb 7 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/version.rb 8 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/ostruct.rb 9 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/generic_object.rb 10 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb 11 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/json/ext/parser.bundle 12 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/json/ext/generator.bundle 13 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/ext.rb 14 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json.rb 15 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/add/exception.rb 16 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/pathname.bundle 17 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pathname.rb 18 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/prettyprint.rb 19 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/pp.rb 20 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb 21 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/setup.rb 22 /usr/local/Homebrew/Library/Homebrew/load_path.rb 23 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/regexp.rb 24 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/constants.rb 25 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/engine.rb 26 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_object.rb 27 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_extension_loader.rb 28 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mri_object.rb 29 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_object.rb 30 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_object.rb 31 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/truffleruby_object.rb 32 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/object.rb 33 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/volatile.rb 34 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_lockable_object.rb 35 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb 36 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_lockable_object.rb 37 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_lockable_object.rb 38 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lockable_object.rb 39 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/condition.rb 40 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lock.rb 41 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization.rb 42 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb 43 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/mri_map_backend.rb 44 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/map.rb 45 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/blank.rb 46 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/date_core.bundle 47 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/date.rb 48 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/time.rb 49 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/base64.rb 50 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/bigdecimal.bundle 51 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bigdecimal.rb 52 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb 53 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/delegation.rb 54 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/prepend_and_append.rb 55 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/deep_merge.rb 56 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/except.rb 57 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/slice.rb 58 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/version.rb 59 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/cgi/core.rb 60 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/cgi/escape.bundle 61 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/cgi/util.rb 62 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/cgi/cookie.rb 63 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/cgi.rb 64 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/exceptions.rb 65 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/interpolate/ruby.rb 66 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n.rb 67 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb 68 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/config.rb 69 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/i18n.rb 70 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/singleton.rb 71 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/singleton_class.rb 72 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/instance_delegator.rb 73 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/securerandom.rb 74 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb 75 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mutex_m.rb 76 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb 77 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/per_thread_registry.rb 78 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb 79 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/behaviors.rb 80 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/reporting.rb 81 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/constant_accessor.rb 82 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/aliasing.rb 83 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/extract_options.rb 84 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/method_wrappers.rb 85 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation/proxy_wrappers.rb 86 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/deprecation.rb 87 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/deprecation.rb 88 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/inflector/inflections.rb 89 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/inflections.rb 90 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/inflector/methods.rb 91 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/multibyte.rb 92 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/multibyte.rb 93 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/inflector/transliterate.rb 94 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/inflections.rb 95 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/calculations.rb 96 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/reporting.rb 97 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/stringio.bundle 98 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/rexml.rb 99 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/xml_mini.rb 100 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/keys.rb 101 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_query.rb 102 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_param.rb 103 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/conversions.rb 104 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/acts_like.rb 105 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/filters.rb 106 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/duration.rb 107 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb 108 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb 109 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb 110 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb 111 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb 112 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb 113 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb 114 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb 115 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb 116 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb 117 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb 118 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb 119 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb 120 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb 121 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb 122 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb 123 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb 124 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb 125 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb 126 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/monitor.rb 127 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb 128 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe.rb 129 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb 130 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb 131 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb 132 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb 133 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb 134 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb 135 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb 136 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb 137 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb 138 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb 139 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb 140 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb 141 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/country.rb 142 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb 143 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.5/lib/tzinfo.rb 144 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/values/time_zone.rb 145 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/conversions.rb 146 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attribute_accessors.rb 147 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/compatibility.rb 148 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/time_with_zone.rb 149 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/acts_like.rb 150 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/zones.rb 151 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/zones.rb 152 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/try.rb 153 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/calculations.rb 154 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/zones.rb 155 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/calculations.rb 156 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/calculations.rb 157 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/acts_like.rb 158 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/time.rb 159 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/access.rb 160 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/backend.rb 161 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/versions.rb 162 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/exception.rb 163 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/syntax_error.rb 164 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/psych.bundle 165 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/omap.rb 166 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/set.rb 167 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/class_loader.rb 168 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/strscan.bundle 169 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/scalar_scanner.rb 170 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/node.rb 171 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/stream.rb 172 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/document.rb 173 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/sequence.rb 174 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/scalar.rb 175 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/mapping.rb 176 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/alias.rb 177 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes.rb 178 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/streaming.rb 179 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/visitor.rb 180 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/to_ruby.rb 181 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/emitter.rb 182 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handler.rb 183 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/tree_builder.rb 184 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/yaml_tree.rb 185 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/ruby_events.rb 186 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/json_tree.rb 187 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/depth_first.rb 188 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors.rb 189 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/parser.rb 190 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/coder.rb 191 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/core_ext.rb 192 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/stream.rb 193 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/yaml_events.rb 194 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/tree_builder.rb 195 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/stream.rb 196 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handlers/document_stream.rb 197 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb 198 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb 199 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/core_ext/hash.rb 200 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/backend/transliterator.rb 201 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/backend/base.rb 202 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.7.0/lib/i18n/backend/simple.rb 203 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb 204 /usr/local/Homebrew/Library/Homebrew/utils/git.rb 205 /usr/local/Homebrew/Library/Homebrew/utils/popen.rb 206 /usr/local/Homebrew/Library/Homebrew/extend/git_repository.rb 207 /usr/local/Homebrew/Library/Homebrew/config.rb 208 /usr/local/Homebrew/Library/Homebrew/version/null.rb 209 /usr/local/Homebrew/Library/Homebrew/version.rb 210 /usr/local/Homebrew/Library/Homebrew/os/mac/version.rb 211 /usr/local/Homebrew/Library/Homebrew/os/mac/xcode.rb 212 /usr/local/Homebrew/Library/Homebrew/os/mac/xquartz.rb 213 /usr/local/Homebrew/Library/Homebrew/os/mac/sdk.rb 214 /usr/local/Homebrew/Library/Homebrew/os/mac/keg.rb 215 /usr/local/Homebrew/Library/Homebrew/os/mac.rb 216 /usr/local/Homebrew/Library/Homebrew/os.rb 217 /usr/local/Homebrew/Library/Homebrew/extend/ARGV.rb 218 /usr/local/Homebrew/Library/Homebrew/messages.rb 219 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/plist-3.5.0/lib/plist/generator.rb 220 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/plist-3.5.0/lib/plist/parser.rb 221 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/plist-3.5.0/lib/plist/version.rb 222 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/plist-3.5.0/lib/plist.rb 223 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/shellwords.rb 224 /usr/local/Homebrew/Library/Homebrew/extend/io.rb 225 /usr/local/Homebrew/Library/Homebrew/extend/hash_validator.rb 226 /usr/local/Homebrew/Library/Homebrew/extend/predicable.rb 227 /usr/local/Homebrew/Library/Homebrew/system_command.rb 228 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils/version.rb 229 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/etc.bundle 230 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb 231 /usr/local/Homebrew/Library/Homebrew/os/global.rb 232 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable/impl.rb 233 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb 234 /usr/local/Homebrew/Library/Homebrew/PATH.rb 235 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/security.rb 236 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parseexception.rb 237 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/formatters/default.rb 238 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/formatters/pretty.rb 239 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/node.rb 240 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/child.rb 241 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parent.rb 242 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/xmltokens.rb 243 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/namespace.rb 244 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/encoding.rb 245 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/source.rb 246 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/entity.rb 247 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/attlistdecl.rb 248 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/doctype.rb 249 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/text.rb 250 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/attribute.rb 251 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/cdata.rb 252 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/functions.rb 253 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/syncenumerator.rb 254 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb 255 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/xpath_parser.rb 256 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/xpath.rb 257 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/element.rb 258 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/xmldecl.rb 259 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/comment.rb 260 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/instruction.rb 261 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/rexml.rb 262 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/output.rb 263 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/undefinednamespaceexception.rb 264 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parsers/baseparser.rb 265 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parsers/streamparser.rb 266 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/validation/validationexception.rb 267 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/parsers/treeparser.rb 268 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rexml/document.rb 269 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/air.rb 270 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/directory.rb 271 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/bazaar.rb 272 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/bzip2.rb 273 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/cab.rb 274 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/tar.rb 275 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/compress.rb 276 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/cvs.rb 277 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb 278 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb 279 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/dmg.rb 280 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/uncompressed.rb 281 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/executable.rb 282 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/fossil.rb 283 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/generic_unar.rb 284 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/git.rb 285 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/gzip.rb 286 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/jar.rb 287 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/lha.rb 288 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/lua_rock.rb 289 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/lzip.rb 290 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/lzma.rb 291 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/mercurial.rb 292 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/microsoft_office_xml.rb 293 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/otf.rb 294 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/p7zip.rb 295 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/pax.rb 296 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/pkg.rb 297 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/rar.rb 298 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/self_extracting_executable.rb 299 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/sit.rb 300 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/subversion.rb 301 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/ttf.rb 302 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/xar.rb 303 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/xz.rb 304 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb 305 /usr/local/Homebrew/Library/Homebrew/unpack_strategy/zip.rb 306 /usr/local/Homebrew/Library/Homebrew/unpack_strategy.rb 307 /usr/local/Homebrew/Library/Homebrew/lazy_object.rb 308 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize/version.rb 309 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize/http/content_disposition_parser.rb 310 /usr/local/Homebrew/Library/Homebrew/download_strategy.rb 311 /usr/local/Homebrew/Library/Homebrew/checksum.rb 312 /usr/local/Homebrew/Library/Homebrew/mktemp.rb 313 /usr/local/Homebrew/Library/Homebrew/resource.rb 314 /usr/local/Homebrew/Library/Homebrew/metafiles.rb 315 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/structure.rb 316 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/view.rb 317 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/headers.rb 318 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/load_commands.rb 319 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/sections.rb 320 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/macho_file.rb 321 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/fat_file.rb 322 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/exceptions.rb 323 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/utils.rb 324 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho/tools.rb 325 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-2.2.0/lib/macho.rb 326 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/hardware.rb 327 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/hardware/cpu.rb 328 /usr/local/Homebrew/Library/Homebrew/extend/os/hardware.rb 329 /usr/local/Homebrew/Library/Homebrew/hardware.rb 330 /usr/local/Homebrew/Library/Homebrew/os/mac/architecture_list.rb 331 /usr/local/Homebrew/Library/Homebrew/os/mac/mach.rb 332 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/pathname.rb 333 /usr/local/Homebrew/Library/Homebrew/extend/os/pathname.rb 334 /usr/local/Homebrew/Library/Homebrew/extend/pathname.rb 335 /usr/local/Homebrew/Library/Homebrew/extend/module.rb 336 /usr/local/Homebrew/Library/Homebrew/extend/string.rb 337 /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/core_ext/file/atomic.rb 338 /usr/local/Homebrew/Library/Homebrew/emoji.rb 339 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/erb.rb 340 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/utils/analytics.rb 341 /usr/local/Homebrew/Library/Homebrew/extend/os/analytics.rb 342 /usr/local/Homebrew/Library/Homebrew/utils/analytics.rb 343 /usr/local/Homebrew/Library/Homebrew/utils/curl.rb 344 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/fcntl.bundle 345 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/socket.bundle 346 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/io/wait.bundle 347 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/socket.rb 348 /usr/local/Homebrew/Library/Homebrew/utils/fork.rb 349 /usr/local/Homebrew/Library/Homebrew/utils/tty.rb 350 /usr/local/Homebrew/Library/Homebrew/utils/formatter.rb 351 /usr/local/Homebrew/Library/Homebrew/utils/gems.rb 352 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc2396_parser.rb 353 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc3986_parser.rb 354 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/common.rb 355 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/generic.rb 356 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/file.rb 357 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ftp.rb 358 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/http.rb 359 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/https.rb 360 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ldap.rb 361 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/ldaps.rb 362 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/mailto.rb 363 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri.rb 364 /usr/local/Homebrew/Library/Homebrew/utils/github.rb 365 /usr/local/Homebrew/Library/Homebrew/utils/inreplace.rb 366 /usr/local/Homebrew/Library/Homebrew/utils/link.rb 367 /usr/local/Homebrew/Library/Homebrew/utils/svn.rb 368 /usr/local/Homebrew/Library/Homebrew/tap_constants.rb 369 /usr/local/Homebrew/Library/Homebrew/utils.rb 370 /usr/local/Homebrew/Library/Homebrew/exceptions.rb 371 /usr/local/Homebrew/Library/Homebrew/official_taps.rb 372 /usr/local/Homebrew/Library/Homebrew/extend/cachable.rb 373 /usr/local/Homebrew/Library/Homebrew/cache_store.rb 374 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/formula_support.rb 375 /usr/local/Homebrew/Library/Homebrew/extend/os/formula_support.rb 376 /usr/local/Homebrew/Library/Homebrew/formula_support.rb 377 /usr/local/Homebrew/Library/Homebrew/lock_file.rb 378 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb 379 /usr/local/Homebrew/Library/Homebrew/extend/os/keg_relocate.rb 380 /usr/local/Homebrew/Library/Homebrew/keg_relocate.rb 381 /usr/local/Homebrew/Library/Homebrew/language/python_virtualenv_constants.rb 382 /usr/local/Homebrew/Library/Homebrew/language/python.rb 383 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg.rb 384 /usr/local/Homebrew/Library/Homebrew/extend/os/keg.rb 385 /usr/local/Homebrew/Library/Homebrew/keg.rb 386 /usr/local/Homebrew/Library/Homebrew/formula_pin.rb 387 /usr/local/Homebrew/Library/Homebrew/compilers.rb 388 /usr/local/Homebrew/Library/Homebrew/cxxstdlib.rb 389 /usr/local/Homebrew/Library/Homebrew/options.rb 390 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/development_tools.rb 391 /usr/local/Homebrew/Library/Homebrew/extend/os/development_tools.rb 392 /usr/local/Homebrew/Library/Homebrew/development_tools.rb 393 /usr/local/Homebrew/Library/Homebrew/tab.rb 394 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/utils/bottles.rb 395 /usr/local/Homebrew/Library/Homebrew/extend/os/bottles.rb 396 /usr/local/Homebrew/Library/Homebrew/utils/bottles.rb 397 /usr/local/Homebrew/Library/Homebrew/utils/shell.rb 398 /usr/local/Homebrew/Library/Homebrew/build_environment.rb 399 /usr/local/Homebrew/Library/Homebrew/build_options.rb 400 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/digest.bundle 401 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/digest.rb 402 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/digest/md5.bundle 403 /usr/local/Homebrew/Library/Homebrew/formulary.rb 404 /usr/local/Homebrew/Library/Homebrew/dependable.rb 405 /usr/local/Homebrew/Library/Homebrew/dependency.rb 406 /usr/local/Homebrew/Library/Homebrew/dependencies.rb 407 /usr/local/Homebrew/Library/Homebrew/requirement.rb 408 /usr/local/Homebrew/Library/Homebrew/requirements/arch_requirement.rb 409 /usr/local/Homebrew/Library/Homebrew/requirements/codesign_requirement.rb 410 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/language/java.rb 411 /usr/local/Homebrew/Library/Homebrew/extend/os/language/java.rb 412 /usr/local/Homebrew/Library/Homebrew/language/java.rb 413 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/requirements/java_requirement.rb 414 /usr/local/Homebrew/Library/Homebrew/extend/os/requirements/java_requirement.rb 415 /usr/local/Homebrew/Library/Homebrew/requirements/java_requirement.rb 416 /usr/local/Homebrew/Library/Homebrew/requirements/linux_requirement.rb 417 /usr/local/Homebrew/Library/Homebrew/requirements/macos_requirement.rb 418 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb 419 /usr/local/Homebrew/Library/Homebrew/extend/os/requirements/osxfuse_requirement.rb 420 /usr/local/Homebrew/Library/Homebrew/requirements/osxfuse_requirement.rb 421 /usr/local/Homebrew/Library/Homebrew/requirements/tuntap_requirement.rb 422 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/requirements/x11_requirement.rb 423 /usr/local/Homebrew/Library/Homebrew/extend/os/requirements/x11_requirement.rb 424 /usr/local/Homebrew/Library/Homebrew/requirements/x11_requirement.rb 425 /usr/local/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb 426 /usr/local/Homebrew/Library/Homebrew/requirements.rb 427 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/dependency_collector.rb 428 /usr/local/Homebrew/Library/Homebrew/extend/os/dependency_collector.rb 429 /usr/local/Homebrew/Library/Homebrew/dependency_collector.rb 430 /usr/local/Homebrew/Library/Homebrew/patch.rb 431 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/software_spec.rb 432 /usr/local/Homebrew/Library/Homebrew/extend/os/software_spec.rb 433 /usr/local/Homebrew/Library/Homebrew/software_spec.rb 434 /usr/local/Homebrew/Library/Homebrew/install_renamed.rb 435 /usr/local/Homebrew/Library/Homebrew/pkg_version.rb 436 /usr/local/Homebrew/Library/Homebrew/migrator.rb 437 /usr/local/Homebrew/Library/Homebrew/linkage_cache_store.rb 438 /usr/local/Homebrew/Library/Homebrew/extend/os/linkage_checker.rb 439 /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb 440 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb 441 /usr/local/Homebrew/Library/Homebrew/extend/os/extend/ENV/shared.rb 442 /usr/local/Homebrew/Library/Homebrew/extend/ENV/shared.rb 443 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/ENV/std.rb 444 /usr/local/Homebrew/Library/Homebrew/extend/os/extend/ENV/std.rb 445 /usr/local/Homebrew/Library/Homebrew/extend/ENV/std.rb 446 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/ENV/super.rb 447 /usr/local/Homebrew/Library/Homebrew/extend/os/extend/ENV/super.rb 448 /usr/local/Homebrew/Library/Homebrew/extend/ENV/super.rb 449 /usr/local/Homebrew/Library/Homebrew/extend/ENV.rb 450 /usr/local/Homebrew/Library/Homebrew/formula.rb 451 /usr/local/Homebrew/Library/Homebrew/readall.rb 452 /usr/local/Homebrew/Library/Homebrew/searchable.rb 453 /usr/local/Homebrew/Library/Homebrew/description_cache_store.rb 454 /usr/local/Homebrew/Library/Homebrew/extend/os/tap.rb 455 /usr/local/Homebrew/Library/Homebrew/tap.rb 456 /usr/local/Homebrew/Library/Homebrew/compat/cask/dsl/version.rb 457 /usr/local/Homebrew/Library/Homebrew/compat/requirements/macos_requirement.rb 458 /usr/local/Homebrew/Library/Homebrew/compat.rb 459 /usr/local/Homebrew/Library/Homebrew/global.rb 460 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/diagnostic.rb 461 /usr/local/Homebrew/Library/Homebrew/extend/os/diagnostic.rb 462 /usr/local/Homebrew/Library/Homebrew/diagnostic.rb 463 /usr/local/Homebrew/Library/Homebrew/extend/os/install.rb 464 /usr/local/Homebrew/Library/Homebrew/install.rb 465 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/caveats.rb 466 /usr/local/Homebrew/Library/Homebrew/extend/os/caveats.rb 467 /usr/local/Homebrew/Library/Homebrew/caveats.rb 468 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/cleaner.rb 469 /usr/local/Homebrew/Library/Homebrew/extend/os/cleaner.rb 470 /usr/local/Homebrew/Library/Homebrew/cleaner.rb 471 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb 472 /usr/local/Homebrew/Library/Homebrew/extend/os/formula_cellar_checks.rb 473 /usr/local/Homebrew/Library/Homebrew/formula_cellar_checks.rb 474 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/e2mmap.rb 475 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/init.rb 476 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/workspace.rb 477 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/inspector.rb 478 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/src_encoding.rb 479 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/magic-file.rb 480 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/readline.bundle 481 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/input-method.rb 482 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/output-method.rb 483 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/context.rb 484 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/extend-command.rb 485 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/notifier.rb 486 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/slex.rb 487 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/ruby-token.rb 488 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/ruby-lex.rb 489 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/locale.rb 490 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb/version.rb 491 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/irb.rb 492 /usr/local/Homebrew/Library/Homebrew/debrew/irb.rb 493 /usr/local/Homebrew/Library/Homebrew/debrew.rb 494 /usr/local/Homebrew/Library/Homebrew/sandbox.rb 495 /usr/local/Homebrew/Library/Homebrew/cask/config.rb 496 /usr/local/Homebrew/Library/Homebrew/locale.rb 497 /usr/local/Homebrew/Library/Homebrew/cask/artifact/abstract_artifact.rb 498 /usr/local/Homebrew/Library/Homebrew/cask/artifact/relocated.rb 499 /usr/local/Homebrew/Library/Homebrew/cask/artifact/moved.rb 500 /usr/local/Homebrew/Library/Homebrew/cask/artifact/app.rb 501 /usr/local/Homebrew/Library/Homebrew/cask/artifact/artifact.rb 502 /usr/local/Homebrew/Library/Homebrew/cask/artifact/audio_unit_plugin.rb 503 /usr/local/Homebrew/Library/Homebrew/cask/artifact/symlinked.rb 504 /usr/local/Homebrew/Library/Homebrew/cask/artifact/binary.rb 505 /usr/local/Homebrew/Library/Homebrew/cask/artifact/colorpicker.rb 506 /usr/local/Homebrew/Library/Homebrew/cask/artifact/dictionary.rb 507 /usr/local/Homebrew/Library/Homebrew/cask/artifact/font.rb 508 /usr/local/Homebrew/Library/Homebrew/cask/artifact/input_method.rb 509 /usr/local/Homebrew/Library/Homebrew/cask/artifact/installer.rb 510 /usr/local/Homebrew/Library/Homebrew/cask/artifact/internet_plugin.rb 511 /usr/local/Homebrew/Library/Homebrew/cask/artifact/manpage.rb 512 /usr/local/Homebrew/Library/Homebrew/cask/artifact/vst_plugin.rb 513 /usr/local/Homebrew/Library/Homebrew/cask/artifact/vst3_plugin.rb 514 /usr/local/Homebrew/Library/Homebrew/utils/user.rb 515 /usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb 516 /usr/local/Homebrew/Library/Homebrew/cask/artifact/abstract_flight_block.rb 517 /usr/local/Homebrew/Library/Homebrew/cask/artifact/postflight_block.rb 518 /usr/local/Homebrew/Library/Homebrew/cask/artifact/preflight_block.rb 519 /usr/local/Homebrew/Library/Homebrew/cask/artifact/prefpane.rb 520 /usr/local/Homebrew/Library/Homebrew/cask/artifact/qlplugin.rb 521 /usr/local/Homebrew/Library/Homebrew/cask/artifact/screen_saver.rb 522 /usr/local/Homebrew/Library/Homebrew/cask/artifact/service.rb 523 /usr/local/Homebrew/Library/Homebrew/cask/artifact/stage_only.rb 524 /usr/local/Homebrew/Library/Homebrew/cask/artifact/suite.rb 525 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb 526 /usr/local/Homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb 527 /usr/local/Homebrew/Library/Homebrew/cask/artifact/uninstall.rb 528 /usr/local/Homebrew/Library/Homebrew/cask/artifact/zap.rb 529 /usr/local/Homebrew/Library/Homebrew/cask/artifact.rb 530 /usr/local/Homebrew/Library/Homebrew/cask/caskroom.rb 531 /usr/local/Homebrew/Library/Homebrew/cask/exceptions.rb 532 /usr/local/Homebrew/Library/Homebrew/cask/dsl/appcast.rb 533 /usr/local/Homebrew/Library/Homebrew/cask/dsl/base.rb 534 /usr/local/Homebrew/Library/Homebrew/cask/dsl/caveats.rb 535 /usr/local/Homebrew/Library/Homebrew/cask/dsl/conflicts_with.rb 536 /usr/local/Homebrew/Library/Homebrew/cask/dsl/container.rb 537 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/compatibility.rb 538 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/defaults.rb 539 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/deprecate.rb 540 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/errors.rb 541 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/version.rb 542 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/requirement.rb 543 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/platform.rb 544 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/basic_specification.rb 545 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/stub_specification.rb 546 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification_policy.rb 547 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/util/list.rb 548 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb 549 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/exceptions.rb 550 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/util.rb 551 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb 552 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb 553 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_gem.rb 554 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb 555 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_warn.rb 556 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb 557 /usr/local/Homebrew/Library/Homebrew/cask/dsl/depends_on.rb 558 /usr/local/Homebrew/Library/Homebrew/cask/staged.rb 559 /usr/local/Homebrew/Library/Homebrew/cask/dsl/postflight.rb 560 /usr/local/Homebrew/Library/Homebrew/cask/dsl/preflight.rb 561 /usr/local/Homebrew/Library/Homebrew/cask/dsl/uninstall_postflight.rb 562 /usr/local/Homebrew/Library/Homebrew/cask/dsl/uninstall_preflight.rb 563 /usr/local/Homebrew/Library/Homebrew/cask/dsl/version.rb 564 /usr/local/Homebrew/Library/Homebrew/cask/url.rb 565 /usr/local/Homebrew/Library/Homebrew/cask/dsl.rb 566 /usr/local/Homebrew/Library/Homebrew/cask/metadata.rb 567 /usr/local/Homebrew/Library/Homebrew/cask/cask.rb 568 /usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb 569 /usr/local/Homebrew/Library/Homebrew/formula_installer.rb 570 /usr/local/Homebrew/Library/Homebrew/reinstall.rb 571 /usr/local/Homebrew/Library/Homebrew/cleanup.rb 572 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/path_support.rb 573 /usr/local/Homebrew/Library/Homebrew/cli/args.rb 574 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/optparse.rb 575 /usr/local/Homebrew/Library/Homebrew/cli/parser.rb 576 /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb 577 /usr/local/Homebrew/Library/Homebrew/language/haskell.rb 578 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/digest/sha2.bundle 579 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/digest/sha2.rb 580 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/find.rb [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bugreport.html [IMPORTANT] Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports. [1] 2877 abort brew upgrade ```

result of the brew config output

HOMEBREW_VERSION: 2.1.15-116-g33330ba
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 33330ba5b1b9776bb696d1b0dfbeee8e1e23dc4a
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a34d39a63d090f1c5d4ccb7be7149195dc8059df
Core tap last commit: 87 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
HOMEBREW_VISUAL: nano
CPU: quad-core 64-bit sandybridge
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_131, 1.8.0_40
macOS: 10.15-x86_64
CLT: N/A
Xcode: 11.1
XQuartz: 2.7.11 => /opt/X11

This crash has been happening in the last few weeks. It leads to filling up the memory of the computer till the brew upgrade process crashes. I hope it leads to some solution.

Also the message from the crash stacktrace says to find the crash report from the ~/Library/Logs/DiagnosticReports and /Library/Logs/DiagnosticReports, but I can't find anything there related to the crash in ruby.

My suspicion in relation to the crash could be caused to the data malformation in the data cache used by brew, and there must be some way to verify the integrity of that cache to prevent such kinds of crashes.

Best regards

MikeMcQuaid commented 5 years ago

Everyone is going to see the same issue. Please do not comment here unless you have something new to add above what others have said that will make it easier for maintainers to fix this issue. That includes reproducible instructions (no-one has provided any yet) which makes it much harder to fix this problem.

jtsom commented 5 years ago

Sorry to sound picky, but "reproducible instructions", per pretty much every report in this issue and others, are: Do a brew upgrade. Unfortunately once a package is updated, it's hard to reproduce it until the package releases a new version....

ngocphamm commented 5 years ago

@MikeMcQuaid I can pretty much agree on the not posting the same thing over and over again without new info, but please let us know your definition of "reproducible instructions" as I'm pretty sure I provided it in my very first post, with a note that I wasn't sure if it's trully "reproducible" because it does not happen to me 100% of the time. Now that so many people have chimed in saying they have the exact same issue (and at least a few said it happend to them every time), with pretty much the same steps (basically just brew upgrade), what do you mean "no-one has provided any yet"?

MikeMcQuaid commented 5 years ago

Sorry to sound picky, but "reproducible instructions", per pretty much every report in this issue and others, are: Do a brew upgrade.

@jtsom I have run brew upgrade many times and do not encounter this issue. Therefore: those are not reproducible instructions.

what do you mean "no-one has provided any yet"?

For "reproducible" instructions I mean "instructions which you can use with a clean Homebrew installation on any machine where the issue will happen every time you follow those instructions".

I appreciate that going from "this happened on my machine" to those instructions is non-trivial but that's what someone will need to do in order to fix this issue. It's likely for this to be fixed in a timely fashion that person will be me (please prove me wrong, though, PRs always very welcome!) and I have a tight work deadline which means I cannot dedicate as much time as I'd like to work on stuff like this.

sashkab commented 5 years ago

I couldn't notice anything which could help. It happens every time I run brew upgrade. I run at least once a day brew update using crontab. The only strange thing was seeing is that there were uncommitted changes in /usr/local/Homebrew/Library

Warning: You have uncommitted modifications to Homebrew.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
  cd /usr/local/Homebrew/Library && git stash && git clean -d -f
These were related to bunch of ruby/2.3.0/gems/backports... changes

``` /usr/local/Homebrew/Library/Taps/homebrew (master*) $ git st ## master...origin/master ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/bytes.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/chars.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/each.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/each_byte.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/each_char.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/each_line.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/getbyte.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/lines.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/argf/readbyte.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/array.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/array/collect.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/array/combination.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/array/cycle.rb ?? ../../Homebrew/vendor/bundle/ruby/2.3.0/gems/backports-3.15.0/lib/backports/1.8.7/array/delete_if.rb ... ```

Not sure if this is related. Fixing using suggestion from brew doctor, did not help with the loop on upgrade.

If it helps, I have few taps configured.

MikeMcQuaid commented 5 years ago

@sashkab Sorry to be forceful but: please do not comment unless you have reproducible instructions you can provide which (you suspect) will work on my machine where a clean brew upgrade does not reproduce this.

ngocphamm commented 5 years ago

@MikeMcQuaid Gotcha!

I know it's hard to trace bugs like this, and I totally agree that having a trully reproducible procedure, especially on the maintainer's machine, would help a ton on getting the bug fix, but I guess this is just a strange issue, and could be that one package everyone here has installed.

Also, I'm sure no one is expecting the bugs are always fixed in a timely fashion because this is an open-source project, and we all really appreciate you guys effort putting on maintain this for all of us to use, so please relax we are not pushing you or anything. Please bear with us while we try to post things that might narrow this down, for you.

ytain commented 5 years ago

The 'reproducible instructions' is a fallacy for me if it is done on a clean system.

As a software engineer, I have to take in consideration the following scenario, that the user of my software is providing a crash report of my software on his computer system, because I have to accept the dirty state of the user's system (as a result of operating system upgrade, filesystem upgrade, etc.), so I have to design the storage of the software data that must be agnostic to these kind of changes to the OS version or filesystem version, and as such, I've adopted the principle to develop additional tools to ensure that the integrity of the saved data is respected (some of those tools would be bundled with my software).

As for my report of the crash in my previous comment, I've used brew since El Capitan, and I've dirty upgraded since then to Catalina without issues and even upgraded the filesystem from HPFS+ to APFS and I have not experienced any issues with the other installed software. Only brew upgrade started this symptom of crashing since Mojave 10.14.5 (at that time there was no issue reported in relation to brew upgrade), so I've waited till a similar issue popped up.

I've also used the command brew update-reset in hope that the brew cache data is checked for integrity, alas no such thing.

n8henrie commented 5 years ago

Similar or same issue here, also for last 3 weeks or so, also intermittent (and therefore tough for me to give definite instructions on how to reproduce). This morning I let brew upgrade && brew cleanup run for about 20 minutes before noting it was stuck again, this time with 28 GB of memory usage. Always gets stuck at the Removing: stage.

==> Pouring hydra-9.0_2.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/hydra/9.0_2: 16 files, 1.4MB
Removing: /usr/local/Cellar/hydra/9.0_1... (16 files, 1.4MB)
^C

This time with hydra, I definitely remember it happening with bazel recently as well, also at the Removing: stage.

Every time if I kill the process with Ctrl C, I can re-run the previous command and it immediately completes successfully. I'll start running with the --verbose flag just in case I can catch it to help collaborate on one of us getting a reproducible build.

I did run a sample in Activity Monitor prior to killing and saw similar output to what @jtsom posted above. Sorry, closed it before finding this thread.

EDIT:

$ brew config
HOMEBREW_VERSION: 2.1.15-116-g33330ba
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 33330ba5b1b9776bb696d1b0dfbeee8e1e23dc4a
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1ea069b7107b9c08771a39795535425e7ca37849
Core tap last commit: 78 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_VISUAL: nvim
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_66
macOS: 10.15-x86_64
CLT: 1100.0.33.8
Xcode: 11.1
XQuartz: 2.7.11 => /opt/X11
MikeMcQuaid commented 5 years ago

People: please, PLEASE stop posting duplicate comments. The time taken to read them is literally taken from the time I have to fix the issue. The more people who post comments on this issue the longer it's going to take me to fix it. I've hidden all those that don't add information to this thread to make it easier to follow. Unless you have something really, really, really important to add (i.e. reproducibility instructions): do not post to this thread!

Particularly please do not post some comment about how you don't agree with how we're handling reproducibility or about your experience as an engineer: it's distracting, demotivating and unhelpful.

BrettDong commented 5 years ago

Probably you may have a higher probability of running into this issue when App Store is updating apps in the background. I encountered this issue twice when App Store is updating Xcode.

edit: but anyway I am not sure if this really relates to the cause of this issue

nchammas commented 5 years ago

brew upgrade is back to normal for me. What's changed since the last time I was consistently seeing this issue is that I upgraded Xcode, so perhaps @BrettDong is on to something. I have no idea.

Here's my brew config now:

HOMEBREW_VERSION: 2.1.15-116-g33330ba
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 33330ba5b1b9776bb696d1b0dfbeee8e1e23dc4a
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1ea069b7107b9c08771a39795535425e7ca37849
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_92, 1.7.0_65
macOS: 10.15.1-x86_64
CLT: N/A
Xcode: 11.2

You can compare it to my brew config from before. The key differences appear to be:

To the folks still seeing this issue, perhaps try to apply any pending macOS or App Store updates, reboot, and then give brew upgrade another shot.

MikeMcQuaid commented 5 years ago

Locking because people apparently can't resist posting more comments that add no information. If you figure out a reproducible test-case: email me.

MikeMcQuaid commented 5 years ago

I should have perhaps predicted this but: unless you have read the whole issue thread and understand what a "reproducible test case" is and don't want to otherwise offer to help/apologise/say "me too" please stop emailing me. I've got almost ten emails about this in less than a day.

MikeMcQuaid commented 5 years ago

I've released 2.1.16 which disables this functionality entirely until I rewrite it. If you hit this bug: brew update before posting anything here please and don't post any "thanks" or "fixed for me" here, thanks.

mparry commented 5 years ago

@MikeMcQuaid - I was (eventually) able to reproduce this reliably locally and have opened a PR (#6695)

MikeMcQuaid commented 5 years ago

2.1.16 temporarily disabled this check entirely. 2.1.17 (or >2.1.16 on the master branch) re-enables this, dramatically improves performance and adds more messages (without needing to use --verbose) to explain what's going on. This should resolve all problems and, when/if it doesn't, will help debug what exactly is going wrong.