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

segmentation fault when running multiple instances of Python in quick sequence #868

Open
gruel-zxz opened this issue Dec 10, 2024 · 6 comments

Comments

@gruel-zxz
Copy link

$ pip install yt-dlp segmentation fault

After updating yesterday's version, using pip install or pip show many times will prompt the error: segmentation fault, which has never appeared in the previous version.

@gruel-zxz
Copy link
Author

$ pip install yt-dlp XXX lineno: 1097, opcode: 150 python: failed to set __main__.__loader__ XXX lineno: 1534, opcode: 151 XXX lineno: 294, opcode: 150 XXX lineno: 641, opcode: 151 XXX lineno: 10, opcode: 151 XXX lineno: 2177, opcode: 151 segmentation fault
The current error content

@holzschu
Copy link
Owner

Hi, thanks for raising this issue. There were no changes with Python in this new version, and I cannot reproduce the issue on my end. I have no idea what can be happening; maybe you can provide a complete screenshot or capture of the actual error?

@gruel-zxz
Copy link
Author

text.py.txt
This code can reproduce my problem

@holzschu
Copy link
Owner

Hi,
Thanks for the Python file. It allowed me to reproduce the issue (and fix it). I'm going to make a TestFlight release so you can test more extensively.

@holzschu
Copy link
Owner

The TestFlight version of a-Shell has the fix: https://testflight.apple.com/join/WUdKe3f4
Please let me know if this doesn't fix your issue.

@gruel-zxz
Copy link
Author

The TestFlight version of a-Shell has the fix: https://testflight.apple.com/join/WUdKe3f4 Please let me know if this doesn't fix your issue.

I believe this issue has been resolved. Thank you so much for your help.

@holzschu holzschu changed the title segmentation fault segmentation fault when running multiple instances of Python in quick sequence Dec 12, 2024
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