Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edge case in nondet detection for PSO #42

Merged
merged 1 commit into from Mar 13, 2019

Conversation

margnus1
Copy link
Contributor

If the initial event from the backtrack set was a branch (control flow),
the nondeterminism detection from ac12d1a would mistakenly assume that
it must go the same way (true/false) as the next branch in the previous
execution of the program, which might be by a different thread entirely.
This can cause spurious nondeterminism error reports.

Already fixed for SC&TSO in 702d438. Does not affect POWER/ARM.

Test will be added by a separate pull request, due to it triggering multiple bugs.

If the initial event from the backtrack set was a branch (control flow),
the nondeterminism detection from ac12d1a would mistakenly assume that
it must go the same way (true/false) as the next branch in the previous
execution of the program, which might be by a different thread entirely.
This can cause spurious nondeterminism error reports.

Already fixed for SC&TSO in 702d438. Does not affect POWER/ARM.
@margnus1 margnus1 merged commit 86e6106 into nidhugg:master Mar 13, 2019
@margnus1 margnus1 deleted the det-check-edge-case branch March 13, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant