Skip to content

Debug branch: Segfault on string formula #3188

@wintered

Description

@wintered

Hi,
on the following formula Z3 throws a segfault.

(declare-fun a () String)
(declare-fun b () Int)
(declare-fun c () Int)
(declare-fun d () Int)
(declare-fun e () Int)
(assert (or (> b 9) (<= c 51) (> (+ 6 b c) (str.len a))))
(assert (and (<= d 95) (> e 88) (>= (* d e) (str.len a))))
(assert (= "efg" (str.substr a b c)))
(assert (= "bef" (str.substr a d e)))
(assert (> (str.len a) 12))
(check-sat)

OS: Ubuntu 18.04
Commit: e0411c1

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugDebug branch issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions