rr-debugger / rr-debugger/rr

Unsupported Syscall futex_waitv

Open
#4,090 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

[FATAL src/record_syscall.cc:7013:rec_process_syscall_arch()]
 (task 3392718 (rec:3392718) at time 135)
 -> Assertion `t->regs().syscall_result_signed() == -syscall_state.expect_errno' failed to hold. Expected ENOSYS for 'futex_waitv' but got result -22 (errno EINVAL); execution of syscall unsupported by rr

Can we expect support for this syscall anytime soonish or is it not possible? Also could i run my program with an older kernel perhaps?

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 in src/record_syscall.cc around rec_process_syscall_arch() at line 7013 and trace how unsupported syscalls and expected errno values are handled. Reproduce the futex_waitv failure from the issue, then determine the project’s existing syscall-support path; done means the reported execution no longer aborts as unsupported, with the relevant behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
devtools, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.