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

pyrasite-shell causes segmentation fault in Python 3 #140

Open
mehrdad-h opened this issue Oct 30, 2020 · 2 comments
Open

pyrasite-shell causes segmentation fault in Python 3 #140

mehrdad-h opened this issue Oct 30, 2020 · 2 comments

Comments

@mehrdad-h
Copy link

Using $pyrasite-shell <PID> in python 3 causes the running process (<PID>) to face a segmentation fault. The only exception is when both the running process and pyrasite-shell are executed with sudo. Any solutions or workaround?

@naah69
Copy link

naah69 commented Nov 16, 2020

the same problem

@user202729
Copy link

user202729 commented Feb 22, 2021

Not a solution, but I can find out the cause is a thread start.

Injecting this code with pyrasite as root and the target as nonroot causes the same issue:

import threading
def f(): pass
threading.Thread(target=f).start()

I think it wasn't like this before.

Probably the same bug: running with --output localterm causes segmentation fault too.

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

No branches or pull requests

3 participants