rr-debugger / rr-debugger/rr

catch exec not working during replay

Open
#1,740 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

Not sure if this is a gdb issue or an rr issue but I get the following error when trying to catch the exec during replay.

(rr) catch exec
Catchpoint 1 (exec)
(rr) c
Continuing.
warning: Error inserting catchpoint 1: Your system does not support this type
of catchpoint.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported replay session and run catch exec followed by c to confirm the catchpoint insertion warning. Compare whether the behavior comes from gdb or rr, then trace the replay handling for exec catchpoints. Done means catch exec can be inserted and triggered during replay without the unsupported-catchpoint warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.