-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
psutil fails (segfault) on macOS in the free-threaded (python3.13t) version #120717
Comments
Any extensions that uses more than Python would need to adapt to free-threading if they want to onboard. It's impossible for CPython to ensure all the C extensions work without GIL. So this should be an issue for |
Please report to https://github.com/giampaolo/psutil/issues |
Will do, thanks for the pointer. |
I think this is due to issues with the Python installers, not |
Depends on: |
Based on the descriptions here and in the linked issues, the original problem has been resolved. With current versions of Python 3.13 (python.org macOS 3.13.0b4), pip, and psutil, psutil no longer segfaults using the free-threaded variant. |
Bug report
Bug description:
I used pip to install psutil on python 3.13 0b2, both the regular and the "t" version. The regular one works; the t one fails at
import psutil
with a segfault.Mac OS 12.7.5 on Apple M1 (ARM64).
CPython versions tested on:
3.13
Operating systems tested on:
macOS
The text was updated successfully, but these errors were encountered: