Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock check causes subsequent error messages #348

Open
ukaea-chah opened this issue Apr 24, 2024 · 2 comments
Open

Deadlock check causes subsequent error messages #348

ukaea-chah opened this issue Apr 24, 2024 · 2 comments

Comments

@ukaea-chah
Copy link

With my model loaded, I ran Checks -> Constraint Based Checks -> Deadlock Freedom (with no extra predicate). It reported No Deadlock Found. But then when trying to run any event (SETUP_CONTEXT, INITIALISATION or any subsequent event) I get an error dialog:

ProB Problem

An Error occured
Reason:
ProB could not find valid constants wich satisfy the properties.
The properties were satisfiable

Since the deadlock check had been completed successfully, I don't expect it to cause repeated error reports.

Restarting the animation seemed to clear the error state.

This is with ProB 3.1.1.202402271349 in Rodin 3.8.0 or 3.9.0rc1.

@leuschel
Copy link
Member

leuschel commented May 3, 2024

Thanks for the report. Can you send us the model which caused the problem?

@ukaea-chah
Copy link
Author

Attached is a simple model which exhibits the behaviour for me. ex1.zip

The preamble to the above steps is: In Event-B explorer, right-click on mac0 then Start Animation / Model Checking.
An error "A timeout occured when finding constants after finding 3 solution(s)...." is reported, but I assume that this is normal for an unbounded set of possible initialisations. Click OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants