-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Segmentation fault: 11 with ruff 0.2.0 #9823
Comments
Can you run it under gdb?
|
How strange. Does running with |
not zsh, just bash. it crashes even with no options.
installation log:
|
Do you know what version of macOS you’re on? Perhaps this is related to our upgrade to use the Apple Silicon runners. |
Oh sorry, you said macOS 11 above. I’m guessing there’s something incompatible there. |
Could you share the output of the |
I can reproduce this on my old EOL x64 macbook (macos 11 has been eol for 4 months, but i think this issue can plausibly manifest on 12/13). The crash stack includes lots of things like |
@Gankra - Do you think this is an issue for ARM macbooks on macos 11, 12, 13? Or just x86? Or can't say at this point? |
I would expect the issue to happen equally on both platforms, with OS version being the primary issue -- but that's purely a guess, and the only thing I can think to do is to find people with macbooks running those versions to try (I guess you could write some github CI jobs to spawn some of those OSes and try to run the binary?). I can send you the full crash log but it doesn't obviously indicate what symbol was trying to be loaded (only skimmed it). |
Now I'm more tempted not to change this given that macOS 11 is EOL :( |
## Summary Sadly, the Apple Silicon runners use macOS 14 and produce binaries that segfault when run on macOS 11 (at least), and possibly on macOS 12 and/or macOS 13. macOS 11 is EOL, but it doesn't seem like a good tradeoff to speed up our release builds at the expense of user support and compatibility. This reverts commit f0066e1. Closes #9823.
when run ruff 0.2.0, it always return an error msg: Segmentation fault: 11, but ruff 0.1.15 is ok.
OS: macOS 11.7.10
python: 3.8.9 in virtual env
The text was updated successfully, but these errors were encountered: