Skip to content

boolean expression with a clock in a simulate query results in segfault #307

Description

@GameMonkey

Describe the bug
I want to visualize a boolean clock expression in a simulation query simulate [<= 10] {c >= 5},
where c is a clock, and c >= 5 is a Boolean expression evaluated to 0 or 1.

The Boolean expression results in a segfault when running the query both in the simulated and via verifyta.

To Reproduce
Steps to reproduce the behavior:

  1. Download clock_guard_error.zip
  2. Execute the second query.
  3. See error

Expected behavior
That the boolean expression is evaluated to 0 or 1 and shown in the resulting graph.

Version(s) of UPPAAL tested
UPPAAL 5.0.0 (rev. 714BA9DB36F49691), June 2023

Desktop (please complete the following information):
Ubuntu 24.04.2 LTS
openjdk 21.0.6 2025-01-21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions