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

Trying to start a new process crashes the Python interpreter on FreeBSD 12 #1411

Closed
TiberiuD opened this issue Feb 15, 2019 · 4 comments
Closed

Comments

@TiberiuD
Copy link

TiberiuD commented Feb 15, 2019

Software versions:
Python: 3.7.2
FreeBSD: 12.0-RELEASE r341666
Psutil: 5.5.0

Trying to use psutil.Popen() leads to the Python interpreter crashing on FreeBSD 12.

For example, trying to start the echo executable leads to the result below:
image

If I try to start wget, the interpreter doesn't crash right away sometimes. A stack trace is also sometimes printed (I had to try this on Python 3.6 to trigger it):
image

@giampaolo
Copy link
Owner

giampaolo commented Feb 15, 2019

Interesting. As for the first issue, what happens if you use subprocess.Popen("echo") instead?

@TiberiuD
Copy link
Author

TiberiuD commented Feb 19, 2019

Sorry for the late reply...

It works as it should!
image

giampaolo added a commit that referenced this issue Feb 25, 2019
@giampaolo
Copy link
Owner

giampaolo commented Feb 25, 2019

@TiberiuD I pushed 842a505 which I think it should fix the problem. Could you please give it a try?

@giampaolo
Copy link
Owner

giampaolo commented Mar 5, 2019

I assume this is fixed. Closing.

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