pyrasite
pyrasite copied to clipboard
pyrasite-shell does not work on Ubuntu 18.04.1
nothing happens when I try to attach to a running python process with pyrasite-shell.
when running pyrasite --verbose <PID> hello.py
I get:
b'0x00007f02ce561ff7 in ?? ()\n'
b'\nwarning: Could not load vsyscall page because no executable was specified\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n'
@Euphorbium I meet a question simaliar with you. Maybe you can try my fix: https://github.com/abc19899/pyrasite/tree/develop
@abc19899 Thank-you. This also got pyrasite-shell
running for me on Debian Buster.
The above fix mentioned by @abc19899 didn't work for me.
I made changes as mentioned in this comment below. Finally that worked.
https://github.com/lmacken/pyrasite/issues/75#issuecomment-432480361
I am on Ubuntu 18.04 GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1
For me pyrasite-shell was hanging on Python 3.9, apparently due to missing gdb. Downgrading to Python 3.8 and conda install gdb
resolved the problem (I could not conda install gdb
on Python 3.9).