rr-debugger / rr-debugger/rr

Assertion `SYSCALL_MAY_RESTART(result) || -ENOSYS == result || -EAGAIN == result'

Open
#1,308 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

I just got this, haven't seen it before.

(gdb) p mRefCnt.get()
[FATAL /home/bent/src/mozilla/rr/rr/src/task.cc:2358:clone_syscall_is_complete() errno: 0 'Success'](task 29660 %28rec:22581%29 at time 805443)
-> Assertion `SYSCALL_MAY_RESTART(result) || -ENOSYS == result || -EAGAIN == result' failed to > hold. Unexpected task status 0xb7f (syscall result:1081578240)

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

Begin at rr/src/task.cc:2358 in clone_syscall_is_complete() and inspect the assertion against the reported task status and syscall result. Use the provided GDB output to investigate whether the failure can be reproduced; done means identifying the cause of the unexpected status and verifying the assertion no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
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.