Skip to content

[Vulkan] Core dump (segfault) with Yices2 solver when --smtlib2=true is enabled #1012

@tonghaining

Description

@tonghaining

When using the yices2 solver with the --smtlib2=true flag on the ticketlock-2.1.1.spvasm input (configured with a 2.1.3 thread grid), Dartagnan crashes with a core dump (return code 139, indicating a memory access violation):

$ java -jar dartagnan/target/dartagnan.jar dartagnan/src/test/resources/spirv/vulkan/benchmarks/ticketlock-2.1.1.spvasm cat/vulkan.cat --property=cat_spec --target=vulkan --solver=yices2 --smtlib2=true
Segmentation fault (core dumped)

The crash happens very quickly while there is still plenty of memory available.

The error goes away when disable --smtlib2 or switch to the z3 solver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions