Skip to content

Threading issue not reproducible with rr #2189

@jandem

Description

@jandem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions