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

bv-gauss-elim: fatal failure at preprocessing/passes/bv_gauss.cpp:574 #3999

Closed
rainoftime opened this issue Mar 10, 2020 · 0 comments · Fixed by #4027
Closed

bv-gauss-elim: fatal failure at preprocessing/passes/bv_gauss.cpp:574 #3999

rainoftime opened this issue Mar 10, 2020 · 0 comments · Fixed by #4027
Assignees
Labels

Comments

@rainoftime
Copy link

Hi,
For this formula:

(set-logic UFBV)
(set-option :bv-gauss-elim true)
(assert (= (_ bv0 10) (_ bv0 10) (bvurem (bvadd #b1010010000 #b1010010000) (_ bv0 10)) (_ bv0 10) #b1010010000))
(check-sat)

CVC4 throws out a fatal failure:

Fatal failure within static CVC4::preprocessing::passes::BVGauss::Result CVC4::preprocessing::passes::BVGauss::gaussElimRewriteForUrem(const std::vector<CVC4::NodeTemplate<true> >&, std::unordered_map<CVC4::NodeTemplate<true>, CVC4::NodeTemplate<true>, CVC4::NodeHashFunction>&) at /home/peisen/test/tofuzz/CVC4/src/preprocessing/passes/bv_gauss.cpp:574
Check failure

 nvars

OS: Ubuntu 16.04
Commit: 7d3df3b

@aniemetz aniemetz added the bug label Mar 10, 2020
aniemetz added a commit to aniemetz/cvc5 that referenced this issue Mar 10, 2020
This fixes the case when all rows are inconsistent.
Fixes cvc5#3999.
4tXJ7f pushed a commit that referenced this issue Mar 11, 2020
This fixes the case when all rows are inconsistent.
Fixes #3999.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants