When I try to use rbspy, I get the following output:
ruby@ip-10-42-0-230:/src/figma/sinatra$ rbspy record -- ruby
rbspy is recording traces. Press Ctrl+C to stop.
Dropped 21/23 stack traces because of errors. Please consider reporting a GitHub issue -- this isn't normal.
Wrote raw data to /home/ruby/.cache/rbspy/2023-08-03-KLi8ClLOdL.raw.gz
Wrote formatted output to /home/ruby/.cache/rbspy/2023-08-03-HRGUGl2Lp3.flamegraph.svg
Something went wrong while rbspy was sampling the process. Here's what we know:
- Copy error: stack base and cfp address out of sync. stack base: 7f670c0fefd8, cfp address: 7f670c0fefd8
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
This is inside a Docker container based on public.ecr.aws/docker/library/ruby:2.7.6@sha256:89bc0abfe7a3119dcaeba56639ef3d3f48a6536f0820e4086b9987c515fc1000, with SYS_PTRACE capability added.
rbspy 0.17.0