Skip to content

Python Z3 api solver.check() crashes smt::cancel_exception when memory usage is higher than watermark  #7629

@smoy

Description

@smoy

I am trying to isolate a smaller smt file to post

I set a memory_high_watermark_mb to control how much memory usage from Python side. During solver.check(), i did encounter the watermark being passed but instead of a z3. instead of check() termiantes with unknown, process actually crash with this on output

libc++abi: terminating due to uncaught exception of type smt::cancel_exception: smt-canceled

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