Skip to content

sat.prob_search sat.xor.solver parallel.enable Segmentation fault on QF_LIA formula  #3704

@muchang

Description

@muchang

Hi,
For this formula:

(set-option :sat.prob_search true) 
(set-option :sat.xor.solver true) 
(set-option :parallel.enable true) 
(declare-fun x0 () Bool) 
(declare-fun x3 () Bool) 
(declare-fun x4 () Bool) 
(declare-fun x6 () Bool) 
(declare-fun x8 () Bool) 
(declare-fun x9 () Bool) 
(assert (not (and  (or x9 x8) (or x9 x3 x8)))) 
(assert (or (not x6) (not (or x0 x4))))  
(check-sat)     

Z3 throws out a segmentation fault:

[75] % z3/build/z3 small.smt2 
[1]    101024 segmentation fault  z3/build/z3 small.smt2
[76] % cat small.smt2 
(set-option :sat.prob_search true) 
(set-option :sat.xor.solver true) 
(set-option :parallel.enable true) 
(declare-fun x0 () Bool) 
(declare-fun x3 () Bool) 
(declare-fun x4 () Bool) 
(declare-fun x6 () Bool) 
(declare-fun x8 () Bool) 
(declare-fun x9 () Bool) 
(assert (not (and  (or x9 x8) (or x9 x3 x8)))) 
(assert (or (not x6) (not (or x0 x4))))  
(check-sat)            
[77] % 

OS: Ubuntu 18.04
Commit: 57d430b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions