Skip to content

SIGSEGV in loop acceleration with z3 #5947

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

Closed
SaswatPadhi opened this issue Mar 17, 2021 · 3 comments
Closed

SIGSEGV in loop acceleration with z3 #5947

SaswatPadhi opened this issue Mar 17, 2021 · 3 comments
Labels
aws Bugs or features of importance to AWS CBMC users bug

Comments

@SaswatPadhi
Copy link
Contributor

CBMC version: develop
Operating system: Mac OS
Exact command line resulting in the issue: make in regression/acceleration with z3 installed
What behaviour did you expect: Regression tests to pass
What happened instead: 3 of the regression tests crash with segmentation fault

This was exposed in #5944.

When z3 is installed, the regression tests fail.
When z3 is not installed, the regression tests pass!

goto-instrument seems to silently ignore errors in running the SMT solver, and treats errors as an UNSAT result!

@SaswatPadhi
Copy link
Contributor Author

SaswatPadhi commented Mar 17, 2021

I linked a PR that fixes the issue of solver errors being ignored, and changes the default solver from Z3 to CPROVER_SMT2.

But I am leaving this issue open because we should debug z3 issues with loop acceleration code at some point in the future.

@feliperodri feliperodri added bug aws Bugs or features of importance to AWS CBMC users labels Mar 17, 2021
@thomasspriggs
Copy link
Contributor

This should be fixed in fa657ac

@thomasspriggs
Copy link
Contributor

This has been fixed as part of #5944.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Bugs or features of importance to AWS CBMC users bug
Projects
None yet
Development

No branches or pull requests

3 participants