-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic in call to indicatif, causes 100% CPU on MacOS with Homebrew binary #881
Comments
rtx hangs if either the height or width dimension of the terminal is reasonably small. No hang if I expand the terminal to - I don't know - 120x100? |
I got the same issue when installing go, regadless of the terminal size. In macos monterey., it will cause memory full and system restart. This also happened in linux, but it only killed the terminal, not causing system restart as macos. |
might be related to #813 which has something to do with the openssl library |
is everyone here on Sonoma? |
Just Ventura 13.5.2 here. I have separately seen rtx kill my machine, but haven't yet opened an issue for that until I can reproduce. What I remember seeing was what looked like a fork bomb - over 1000 calls to rtx running simultaneously - I think they might have been running |
I hope that this particular crash is fixed when rtx updates to indicatif 0.17.7 - console-rs/indicatif#586 was merged and is in that release. |
well I just hit this error locally:
so it looks like this is related |
I'm seeing this error more often but I think it only happens on debug builds for me. As a workaround try building it with --release |
When trying to install
gcloud
withrtx install gcloud
, orrtx install
, or variations thereof,rtx
would start using 100% CPU, and would hang indefinitely.When running a debug build, I got a backtrace:
The problem looks like console-rs/indicatif#582 upstream, which has no solution yet.
** To reproduce
To reproduce, it may happen when trying to install the
gcloud
plugin.** Expected result
The program should run to completion.
rtx doctor
outputThe text was updated successfully, but these errors were encountered: