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

Heisenbug with smt-switch boolector backend #36

Closed
makaimann opened this issue May 18, 2020 · 6 comments
Closed

Heisenbug with smt-switch boolector backend #36

makaimann opened this issue May 18, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@makaimann
Copy link
Collaborator

In certain (supposedly rare cases) running BMC with the boolector backend will return an incorrect result. Reproducible on this branch: https://github.com/upscale-project/cosa2/tree/debugging. Small changes, such as adding/removing a print statement that just prints an arbitrary string, will change the result.

The bug might be in https://github.com/makaimann/smt-switch or in boolector.

@makaimann makaimann added the bug Something isn't working label May 18, 2020
@makaimann makaimann self-assigned this May 18, 2020
@ahmed-irfan
Copy link
Collaborator

Is it fixed now?

@lonsing
Copy link
Collaborator

lonsing commented Jun 4, 2020

@ahmed-irfan @makaimann

Your recent changes to the unroller made in https://github.com/upscale-project/cosa2/pull/42 and https://github.com/upscale-project/cosa2/pull/41 fixed the assertion failures related to the reference counting. Moreover, this also fixes all the assertion failures we had on the instances in the 'samples' directory.

I ported these changes to my debugging setup (https://github.com/lonsing/cosa2/tree/cosa2-refcount-debugging). I will do some more tests.

@ahmed-irfan
Copy link
Collaborator

Cool

@ahmed-irfan
Copy link
Collaborator

can we close this?

@lonsing
Copy link
Collaborator

lonsing commented Jun 12, 2020

yes, at least based on my tests, I think we can close it.

@makaimann
Copy link
Collaborator Author

Great! Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants