Close race condition in ppoll test where SIGALRM was delivered before we actually reached ppoll

This seems to be what triggered the intermittent failure in https://buildkite.com/julialang/rr/builds/1395#018aad32-437b-4d71-ac76-a211b2c5dc18
1 file changed
tree: c5a6e71c17fcf402c0fb4ba6bd3ce0bfa26a8148
  1. .android/
  2. .buildkite/
  3. .github/
  4. include/
  5. release-process/
  6. scripts/
  7. snap/
  8. src/
  9. third-party/
  10. .clang-format
  11. .gitignore
  12. CMakeLists.txt
  13. CODE_OF_CONDUCT.md
  14. configure
  15. CONTRIBUTING.md
  16. LICENSE
  17. README.md
  18. rr.spec
  19. Vagrantfile
README.md

Overview

Build status

rr is a lightweight tool for recording, replaying and debugging execution of applications (trees of processes and threads). Debugging extends gdb with very efficient reverse-execution, which in combination with standard gdb/x86 features like hardware data watchpoints, makes debugging much more fun. More information about the project, including instructions on how to install, run, and build rr, is at https://rr-project.org. The best technical overview is currently the paper Engineering Record And Replay For Deployability: Extended Technical Report.

Or go directly to the installation and building instructions.

Please contribute! Make sure to review the pull request checklist before submitting a pull request.

If you find rr useful, please add a testimonial.

rr development is sponsored by Pernosco and was originated by Mozilla.

System requirements

  • Linux kernel ≥ 3.11 is required (for PTRACE_SETSIGMASK).
  • rr currently requires either:
  • Running in a VM guest is supported, as long as the VM supports virtualization of hardware performance counters. (VMware and KVM are known to work; Xen does not.)