rr-debugger / rr-debugger/rr

Eating/ignoring SIGTRAP?

Open
#3,888 1 comment 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

I could have sworn there used to be a way to have rr record eat/ignore/handle SIGTRAPs from the target program, so that they wouldn't be sent to the target application's handler.

I tried --ignore-signal=5 and --continue-through-signal=SIGTRAP, but neither seems to stop my target from halting itself. =(

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

Start by reproducing the behavior with rr record and the mentioned --ignore-signal=5 and --continue-through-signal=SIGTRAP options. Trace how SIGTRAP is handled and compare the result with the target application's handler; done means the selected option prevents that handler from receiving the signal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.