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

[Consolidated] Segfaults #6176

Closed
wintered opened this issue Jul 20, 2022 · 4 comments
Closed

[Consolidated] Segfaults #6176

wintered opened this issue Jul 20, 2022 · 4 comments

Comments

@wintered
Copy link

81cb575

$z3release bug.smt2                                                             
[1]    3360378 segmentation fault  z3release bug.smt2                           
$cat bug.smt2                                                                   
(declare-fun a () String)                                                       
(set-option :proof true)                                                        
(assert (and (not (not (= 0 0))) (not (= 0 0))))                                
(check-sat-using qfufbv_ackr) 
@wintered
Copy link
Author

81cb575

$z3release bug.smt2                                                             
[1]    802442 segmentation fault  z3release bug.smt2                            
$cat bug.smt2                                                                   
(declare-fun value2 () String)                                                  
(set-option :proof true)                                                        
(assert (and (= 0 0) (not (= 0 0))))                                            
(check-sat-using qffp) 

@wintered
Copy link
Author

81cb575

$z3release horn.smt2                                                            
[1]    4083342 segmentation fault  z3release horn.smt2                          
$cat horn.smt2                                                                  
(assert (forall ((a Bool) (b Bool) (d (_ BitVec 1)) (e (_ BitVec 1)) (f (_ BitVec 1)) (g Bool))
(= (= f (ite a (_ bv0 1) (ite true (_ bv0 1) (ite b e e)))) g)))                
(check-sat-using horn) 

@wintered
Copy link
Author

81cb575

$z3release bug.smt2                                                             
[1]    305949 segmentation fault  z3release bug.smt2                            
$cat bug.smt2                                                                   
(declare-fun a () Real)                                                         
(assert (and (> 0 0)))                                                          
(get-interpolant a true)

@NikolajBjorner
Copy link
Contributor

I think the reality check here is "who cares" about these bugs?
You pass a non-Boolean argument to interpolation, which isn't even advertised functionality?
I fixed this one, but then who benefits vs. the overhead fixing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants