-
Notifications
You must be signed in to change notification settings - Fork 101
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
[Concurrency] Guard and Interleavings fix #2185
Conversation
@@ -1,4 +1,4 @@ | |||
CORE | |||
KNOWNBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug from partial order reduction,
will fix this in mpor pr.
if ( | ||
last_active_thread != active_thread && | ||
is_cur_state_guard_false(threads_state[active_thread].guard.as_expr())) | ||
interleaving_unviable = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is too early to set interleaving_unviable because the active_thread guard will be updated later in merge_gotos(), Instead set the value after merge_gotos()
Thanks for submitting this PR, @Anthonysdu. |
This PR https://github.com/esbmc/esbmc/actions/runs/12218538927
The result score is the same as master:
--context-bound 3 --no-por
But verification time is improved slightly:
Master:
Correct true: 6650s
Correct false: 4890s
This PR:
Correct true: 6610s
Correct false: 4340s