Commit 17ebb307 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix: duplicate cex traces on deadlock when using --max-errors > 0

We now use a separate setjmp() for the deadlock check, which resolves a bug
wherein the error() call from the deadlock path would longjmp() back to the main
loop, causing it to simply observe the same deadlock again. Note that this also
coincidentally is a nice step towards removing the `retain` parameter to
error().

Github: closes #121 "deadlock with max errors > 0 causes corruption"
Github: related to #120 "why free states in error()?"
parent 73689760
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment