Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Autoupdated client crashes on Mac OS X El Capitan #3151

Open
vic-cw opened this issue Dec 17, 2024 · 5 comments
Open

Autoupdated client crashes on Mac OS X El Capitan #3151

vic-cw opened this issue Dec 17, 2024 · 5 comments

Comments

@vic-cw
Copy link

vic-cw commented Dec 17, 2024

Do you want to request a feature or report a bug?

bug

What is the current behavior?

Run heroku version. It will crash with following message:

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/.../.local/share/heroku/client/10.0.0-b084308/bin/node
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/.../.local/share/heroku/client/10.0.0-b084308/bin/node
  Expected in: /usr/lib/libSystem.B.dylib

/Users/.../.local/share/heroku/client/bin/../10.0.0-b084308/bin/heroku: line 45: 48524 Trace/BPT trap: 5       "$NODE" "$DIR/run" "$@"

What is the expected behavior?

Should print version and exit.

I wouldn't be surprised if I receive a reply saying that El Capitan isn't supported.

However, I would argue that this is an autoupdated binary. I didn't do anything special since I first installed the command line interface, and this morning it broke. Thus if El Capitan is not supported, then the update should not happen. Instead, the executable should keep working, and optionally display a message saying it is out of date but unable to update because OS is not supported.

Another way to say it is that I have had to hack my way back to an older version, patch oclif plugin-update code to make sure it doesn't update again, and keep working. I shouldn't have to do that.

OS version Mac OS X 10.11.6, Heroku was autoupdated to 10.0.0 apparently.

@k80bowman
Copy link
Contributor

@vic-cw thank you for letting us know about this issue. I looked into this and it most likely has to do with the Node version required. With the v10 release we moved the CLI to Node 20, which it looks like it supports Mac OS X 10.15 and above. If you want to install a version of the CLI that should not autoupdate, you can always install the v9.5.1 version using npm by running npm install -g [email protected].

@vic-cw
Copy link
Author

vic-cw commented Jan 7, 2025

@k80bowman thanks for the reply Katy.

Unfortunately it seems that my intent didn't go through.

I already achieved a way to not have the CLI auto update.

Through this issue I am saying that the CLI should not upgrade to a version that is not supported on the current system. Since it does, it means one can go through the terrible experience that I went through at any time: suddenly the CLI stops working, without any warning, and one has to find a way to downgrade.

@k80bowman
Copy link
Contributor

@vic-cw Thank you, we appreciate the feedback.

@vic-cw
Copy link
Author

vic-cw commented Jan 8, 2025

@k80bowman you're welcome. So you don't plan on fixing this?

@k80bowman
Copy link
Contributor

@vic-cw I left the issue open because I've brought the issue to our team. We're discussing how best to address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants