Comments (4)
A workaround is to install the python debug symbols during the Python installation process.
from py-spy.
I have the same problem.
I found this duplicate question .
Seems to be a problem with python version larger than 3.9
from py-spy.
Encountering the same issue on Windows 10 (x64) with Python version 3.10.11. I set the RUST_LOG=info environment variable. Here are the logs:
[2024-02-28T03:25:28.552093100Z INFO py_spy::config] Command line args: ArgMatches { args: {}, subcommand: Some(SubCommand { id: [hash: 94BC6A87CFA2B1F9], name: "top", matches: ArgMatches { args: {[hash: CD5160AB4406C427]: MatchedArg { occurs: 1, source: Some(CommandLine), indices: [2], type_id: Some(TypeId { t: 8220707328025750160 }), vals: [[AnyValue { inner: TypeId { t: 8220707328025750160 } }]], raw_vals: [["16052"]], ignore_case: false }, [hash: AAFAF59EB7E2AC8]: MatchedArg { occurs: 0, source: Some(DefaultValue), indices: [3], type_id: Some(TypeId { t: 8220707328025750160 }), vals: [[AnyValue { inner: TypeId { t: 8220707328025750160 } }]], raw_vals: [["100"]], ignore_case: false }}, subcommand: None } }) }
[2024-02-28T03:25:28.560049800Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:28.561952300Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:28.565863500Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:28.566964300Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:28.567197200Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:28.567892400Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:28.568056400Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:28.568133200Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:28.568439400Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:28.568565000Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:28.572524300Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:29.834035700Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:29.864508600Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:29.865585100Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:29.870206900Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:29.870426300Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:29.870544900Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:29.871010500Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:29.871127500Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:29.871212200Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:29.871532200Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:29.871944800Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:29.880678900Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:30.952525300Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:30.997336900Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:30.998543200Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:31.003724400Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:31.004094500Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:31.004316600Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:31.006187200Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:31.006702400Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:31.006995500Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:31.007713100Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:31.007984000Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:31.013616200Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:32.067847300Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:32.115759600Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:32.117216400Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:32.124835600Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:32.125062700Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:32.125270400Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:32.125628800Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:32.125999300Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:32.126180400Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:32.126427600Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:32.126599100Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:32.134033000Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:33.272207400Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:33.327299800Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:33.328360000Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:33.332785100Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:33.333057400Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:33.333292200Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:33.333850300Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:33.334155900Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:33.334273900Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:33.334532100Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:33.334767200Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:33.341854600Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:34.520960000Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:34.565926500Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:34.567064100Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:34.573014900Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:34.573294900Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:34.573508800Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:34.574358200Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:34.574580700Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:34.574857100Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:34.575147000Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:34.575401900Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:34.580553700Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:35.765425800Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:35.811858900Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:35.812868000Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:35.817680300Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:35.818617100Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:35.819127000Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:35.820194900Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:35.820469300Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:35.820729700Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:35.821034600Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:35.821277900Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:35.826268400Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:36.760978800Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:36.793855300Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:36.794870300Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:36.799547100Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:36.800205000Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:36.800585100Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:36.801579800Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:36.801760500Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:36.801939600Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:36.802191100Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:36.802350500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:36.808478600Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:37.841100700Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:37.892981700Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:37.894426900Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:37.902308600Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:37.902543800Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:37.902743600Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:37.903238500Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:37.903440900Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:37.903611700Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:37.903870500Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:37.904031600Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:37.911360100Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:39.115566800Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:39.158149000Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:39.159135300Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:39.163450600Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:39.163763300Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:39.164018300Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:39.166247800Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:39.166635600Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:39.166910700Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:39.167341000Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:39.167530800Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:39.174664300Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:40.254521800Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:40.310053400Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:40.311615000Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:40.318657800Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:40.318926000Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:40.319131500Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:40.319666900Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:40.319887600Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:40.320059000Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:40.320323700Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:40.320527500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:40.328403400Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:41.527520400Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:41.573120900Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:41.574218400Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:41.579177100Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:41.580248800Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:41.580833900Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:41.582090500Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:41.582390700Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:41.582578500Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:41.582945700Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:41.583143500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:41.590420600Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:42.639189700Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:42.686517000Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:42.687895600Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:42.695366700Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:42.696182100Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:42.696526300Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:42.698053800Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:42.698168000Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:42.698263300Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:42.698433100Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:42.698527500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:42.705552200Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:43.758713000Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:43.807782600Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:43.809100300Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:43.818541500Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:43.818685900Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:43.818782200Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:43.819168900Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:43.819264800Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:43.819342400Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:43.819500900Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:43.819591100Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:43.827058300Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:44.959532900Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:45.002481400Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:45.003577000Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:45.008091200Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:45.008306900Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:45.008585800Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:45.009077300Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:45.009500500Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:45.009668700Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:45.010042900Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:45.010756500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:45.017175800Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:45.990397600Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:46.036782100Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:46.038197500Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:46.044538800Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:46.045010800Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:46.045203400Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:46.045477100Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:46.045718700Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:46.045841500Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:46.046042600Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:46.046190900Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:46.051064900Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:47.146074600Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:47.198588700Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:47.199911800Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\XYZ\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:47.207233600Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:47.207492600Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:47.207620200Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:47.208723100Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:47.209053200Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:47.209309800Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:47.209739900Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:47.209992600Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:47.217190000Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:48.274289700Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:48.320247000Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:48.321602700Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:48.329858700Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:48.330098700Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:48.330296200Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:48.330795000Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:48.330948400Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:48.331042300Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:48.331217000Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:48.331444500Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:48.338691200Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:49.523813500Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:49.566077000Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:49.567122700Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:49.571509900Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:49.571838300Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:49.572036900Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:49.572464900Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:49.573425000Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:49.573982400Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:49.574478100Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:49.574699400Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:49.579890100Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
[2024-02-28T03:25:50.640513700Z INFO py_spy::python_spy] Failed to connect to process, retrying. Error: Failed to find a python interpreter in the .data section
[2024-02-28T03:25:50.683508800Z INFO py_spy::python_spy] Got virtual memory maps from pid 16052:
[2024-02-28T03:25:50.684989200Z INFO py_spy::python_spy] Found libpython binary @ C:\Users\Aakash Sahai\AppData\Local\Programs\Python\Python310\python310.dll
[2024-02-28T03:25:50.693570500Z INFO py_spy::python_spy] Getting version from python binary BSS
[2024-02-28T03:25:50.693926000Z INFO py_spy::python_spy] Failed to get version from BSS section: failed to find version string
[2024-02-28T03:25:50.694156100Z INFO py_spy::python_spy] Getting version from libpython BSS
[2024-02-28T03:25:50.694562100Z INFO py_spy::version] Found matching version string '3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bi'
[2024-02-28T03:25:50.695003400Z INFO py_spy::python_spy] python version 3.10.11 detected
[2024-02-28T03:25:50.695136900Z INFO py_spy::python_spy] got symbol _PyRuntime (0x00007ff847825600) from libpython binary
[2024-02-28T03:25:50.695347400Z WARN py_spy::python_spy] Interpreter address from _PyRuntime symbol is invalid 001611b8003c2644
[2024-02-28T03:25:50.695617000Z INFO py_spy::python_spy] Failed to get interp_head from symbols, scanning BSS section from main binary
[2024-02-28T03:25:50.703984300Z INFO py_spy::python_spy] Failed to get interpreter from binary BSS, scanning libpython BSS
Error: Failed to find a python interpreter in the .data section
from py-spy.
As suggested by @mjmdavis, updating the Python installation to include Debug Symbols and Debug Binaries, solved/worked-around the issue for me.
from py-spy.
Related Issues (20)
- Elf sbss issue HOT 1
- Option to get native thread ID with best effort HOT 2
- Encounter os error 31 with py-spy record
- Python 3.12 support HOT 10
- Python 3.11 --native profiling fails because of bpo-45256 HOT 1
- Seg fault on py-spy record --subprocesses
- Test `--native` option in CI
- redirect to stdoutput
- Assertion errors when HOT 2
- `--native` HOT 2
- Consider moving CLI functionality behind a feature flag
- attempt to subtract with overflow in console_viewer.rs
- libproc v0.13.0 doesn't build for me
- Programmatically start/stop py-spy recording HOT 1
- Panics at times when sampling a Django app HOT 2
- No source distribution files available in the Pypi site HOT 1
- Flame graphs cpu on-off
- Add build instruction to README
- Use as python library HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-spy.