Yesterday I was debugging a race condition in the JS shell but I couldn't get it to repro under rr (with or without chaos mode) after thousands of runs. Without rr it reproduced pretty easily.
The bug was that we would wait forever on some pthread condition variable that never got notified in a particular edge case. Maybe more wake ups happen with rr?
I figured out what the problem was, but this is the kind of thing where rr shines so it would be great to understand this better.