lmacken / pyrasite

Inject code into running Python processes
http://pyrasite.com
GNU General Public License v3.0
2.8k stars 220 forks source link

KeyError: 'address 139644515901800 not present' #146

Open acracker opened 3 years ago

acracker commented 3 years ago
(new_sdk) [root@host-01 test]# ps -aux|grep 19373
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
xxxx      19373 61.3 12.9 22286416 17040500 ?   Sl   06:03 441:10 /opt/.pyenv/versions/new_sdk/bin/python controller.py
(new_sdk) [root@host-01 test]# pyrasite-memory-viewer 19373
loaded line 13598, 13599 objs,   1.6 /   1.6 MiB read in 0.2s        
Traceback (most recent call last):sed        0    
  File "/opt/.pyenv/versions/new_sdk/bin/pyrasite-memory-viewer", line 11, in <module>
    load_entry_point('pyrasite==2.0', 'console_scripts', 'pyrasite-memory-viewer')()
  File "/opt/.pyenv/versions/new_sdk/lib/python3.6/site-packages/pyrasite/tools/memory_viewer.py", line 150, in main
    objects = loader.load(filename)
  File "/opt/.pyenv/versions/new_sdk/lib/python3.6/site-packages/meliae/loader.py", line 562, in load
    if not manager.collapse_instance_dicts():
  File "/opt/.pyenv/versions/new_sdk/lib/python3.6/site-packages/meliae/loader.py", line 432, in collapse_instance_dicts
    obj_1, obj_2 = obj
  File "meliae/_loader.pyx", line 481, in meliae._loader._MemObjectProxy.__getitem__
  File "meliae/_loader.pyx", line 477, in meliae._loader._MemObjectProxy.__getitem__
  File "meliae/_loader.pyx", line 767, in meliae._loader.MemObjectCollection.__getitem__
KeyError: 'address 139644515901800 not present'