pyrasite icon indicating copy to clipboard operation
pyrasite copied to clipboard

pyrasite-shell does not work on Ubuntu 18.04.1

Open Euphorbium opened this issue 5 years ago • 4 comments

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 avatar Oct 06 '18 14:10 Euphorbium

@Euphorbium I meet a question simaliar with you. Maybe you can try my fix: https://github.com/abc19899/pyrasite/tree/develop

abc19899 avatar Oct 12 '19 14:10 abc19899

@abc19899 Thank-you. This also got pyrasite-shell running for me on Debian Buster.

boltronics avatar Nov 13 '19 23:11 boltronics

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

dineshdharme avatar Apr 08 '21 20:04 dineshdharme

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).

gerritholl avatar Apr 20 '21 08:04 gerritholl