Skip to content

Add support for reproducing target program executions using rr #3

@yskzalloc

Description

@yskzalloc

Initially, I attempted to create reproducers using strace like log, but further research showed that this approach is almost impossible in practice. Therefore, a new strategy should be considered to improve reproducibility.

Proposal

  • Implement a reproducible mode that stores program executions using rr(--rr).
  • Allow storing and replaying the target program with rr to provide deterministic reproduction of issues.

Motivation

  • strace is insufficient for building reliable reproducers due to the complexity and nondeterminism of system interactions.
  • rr provides a deterministic record-and-replay model, making it well-suited for kernel/user-space issue reproduction.
  • Improves debugging and sharing of reproducible test cases across different environments.

Use cases

  • Debugging hard-to-reproduce crashes and race conditions.
  • Creating a standardized way to replay execution under reproducible conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions