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

TLC simulation error with liveness properties #164

Open
lemmy opened this issue May 23, 2018 · 0 comments
Open

TLC simulation error with liveness properties #164

lemmy opened this issue May 23, 2018 · 0 comments
Labels

Comments

@lemmy
Copy link
Member

@lemmy lemmy commented May 23, 2018

When PSet is defined to be a tuple and TLC in simulation mode (Toolbox 1.5.6/TLC 2.12 of 29 January 2018) is set to verify the Worked (or generated Termination) liveness property, TLC fails with:

TLC threw an unexpected exception.
This was probably caused by an error in the spec or model.
See the User Output or TLC Console for clues to what happened.
The exception was a java.lang.RuntimeException
: Attempted to apply EXCEPT construct to the string "Done".
------------------------------ MODULE bug ---------------------------------
EXTENDS Naturals

Worked == <>(TRUE)

PSet == {"p"} \X (1..2)

(* --algorithm bug {

  process (p \in PSet) {
       lbl: skip;
  }
  
} *)
===================================

This bug shows up for both liveness implementations /tlatools/src/tlc2/tool/liveness/LiveCheck1.java and /tlatools/src/tlc2/tool/liveness/LiveCheck.java


Unknown sourcecode changes have resulted in a change of the error message in the version of TLC as of 08/21/2019:

Wrong invocation of TLC error printer. Error code not found.
@lemmy lemmy added bug Tools labels May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.