Closed rainoftime closed 4 years ago
until older bugs are addressed and fixed, please don't spend our bandwidth on new z3str3 bugs.
Seems like add_theory_assumptions()
is not getting called when the search is started. I recall encountering another issue where I had a similar problem.
add_theory_assumptions only gets called prior to search. a "push" operation causes unit propagation. The theory solver code should not assume that theory assumptions have been added when it is asked to propagate. There are several places in the code where it accesses the m_theoryStrOverlapAssumption_term. You would either have to ensure these places are safe. Alternatively, perhaps you can initialize the assumption to "true".
loopDetected(false),
m_theoryStrOverlapAssumption_term(m.mk_true(), m),
contains_map(m),
GIven that I pushed the above suggested modification to theory_str the crash is now gone and the issue can be considered resolved
Hi, for the following formula
z3 (commit 080dbb1) throws a SEGV