pyrasite-shell causes segmentation fault in Python 3
mehrdad-h opened this issue · comments
Mehrdad Hosseinzadeh commented
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?
Naah commented
the same problem
user202729 commented
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.