Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Python 3.6.7 support, seems broken #157

Description

@ctrlbrett

I am hitting trouble with miniconda on Python 3.6.7 and pyflame

python --version
Python 3.6.7 :: Anaconda, Inc.

 ./pyflame -v
pyflame 1.6.6 linux-gnu x86_64 (ABI list: 26 34 36)

I am utilizing the approach darindf recommended for conda:

sudo find ~/miniconda3 -iname python-*.pc # (find the pkgconfig directories)
export PKG_CONFIG_PATH=/home/brett/miniconda3/envs/far5/lib/pkgconfig/ # (far5 is the env I am using)
...build the normal way

(I am using the same conda environment to find the pkgconfig as the python program I am trying to trace), but I am getting

sudo ./pyflame -d --threads -p  15657                 
terminate called after throwing an instance of 'pyflame::PtraceException'
  what():  Failed to PTRACE_PEEKDATA (pid 15657, addr 0x55a8639c3508): Input/output error

For reference, i am trying to do this with a very minimal example:

import time

i = 0
while True:
    time.sleep(3)
    print('running', i)
    i += 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions