Skip to content

Infinite loop (rlimit leak?) in 4.15.3 #7948

@mtzguido

Description

@mtzguido

Hi, the following file:

loop.smt2.txt

is processed rather quickly by Z3 4.15.3:

$ ramon z3-4.15.3 loop.smt2
[...]
Done!
[...]
ramon: walltime             0.643s

(the last query comes back unknown, but that's not a problem)

But, if I increase the rlimit near the bottom of the file by just one unit (to 1285596), the last query diverges. It ran for at least 10 minutes on my machine.

I couldn't repro this in master, but it's again probably a very brittle situation. Changing the random seed also avoids it.

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