Skip to content

Function not implemented (os error 38) #196

@dustMason

Description

@dustMason

I'm trying to use rbspy to record a process on a linux host (kernel 4.14.35). The process is a puma worker running a rails app. Its running in a docker container with the SYS_PTRACE capability enabled.

When I invoke sudo ./rbspy record --format=summary --pid=$pid I get

Press Ctrl+C to stop
Wrote raw data to /root/.cache/rbspy/records/rbspy-2018-11-09-fVDwaLHJV5.raw.gz
Writing formatted output to /root/.cache/rbspy/records/rbspy-2018-11-09-hi93PXdZTo.summary.txt
Error. Causes:
- Couldn't determine Ruby version
- Couldn't create process handle for PID
- Failed to copy memory address 55e1929114bb
- Function not implemented (os error 38)

I'm ssh'd into the host and have root privs on the box. Any pointers on what to try next?

Thanks!

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