Coder Social home page Coder Social logo

Comments (7)

lemmy avatar lemmy commented on August 16, 2024

I've made several changes to that spec last week. Might this be it?

from examples.

ahelwer avatar ahelwer commented on August 16, 2024

No it was running on the same spec/model. Is there a history repository of nightly builds anywhere I can test it against?

from examples.

lemmy avatar lemmy commented on August 16, 2024

In these cases I use git bisect.

from examples.

ahelwer avatar ahelwer commented on August 16, 2024

As good an excuse for me to finally learn git bisect as any! I think the last time I would have updated tla2tools.jar was when working on this PR, so June 6th of this year.

from examples.

ahelwer avatar ahelwer commented on August 16, 2024

Okay, found it! Not a problem with TLC, but with the community modules. I had also changed the community modules jar locally (never change two things at once, gah). When using the https://github.com/tlaplus/CommunityModules/releases/tag/202304140044 release instead of the latest https://github.com/tlaplus/CommunityModules/releases/tag/202307191312 release, specifications/ewd998/EWD998ChanID.cfg fails with this error (exit code 13, a liveness failure):

Implied-temporal checking--satisfiability problem has 2 branches.
Computing initial states...
Finished computing initial states: 1 distinct state generated at 2023-08-07 17:26:27.
Error: Action property line 138, col 17 to line 138, col 29 of module EWD998Chan is violated.
Error: The behavior up to this point is:
State 1: <Initial predicate>
/\ color = ( n1 :> "black" @@
  n2 :> "black" @@
  n3 :> "black" @@
  n4 :> "black" @@
  n5 :> "black" )
/\ inbox = ( n1 :> <<>> @@
  n2 :> <<>> @@
  n3 :> <<>> @@
  n4 :>
      << [ color |-> "black",
           type |-> "tok",
           q |-> 0,
           vc |-> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) ] >> @@
  n5 :> <<>> )
/\ active = (n1 :> FALSE @@ n2 :> FALSE @@ n3 :> FALSE @@ n4 :> FALSE @@ n5 :> FALSE)
/\ passes = 0
/\ counter = (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0)
/\ clock = ( n1 :> (n1 :> 1 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n2 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n3 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n4 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n5 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) )

State 2: <PassToken(n4) line 129, col 3 to line 148, col 57 of module EWD998ChanID>
/\ color = ( n1 :> "black" @@
  n2 :> "black" @@
  n3 :> "black" @@
  n4 :> "white" @@
  n5 :> "black" )
/\ inbox = ( n1 :> <<>> @@
  n2 :> <<>> @@
  n3 :> <<>> @@
  n4 :> <<>> @@
  n5 :>
      << [ color |-> "black",
           type |-> "tok",
           q |-> 0,
           vc |-> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 1 @@ n5 :> 0) ] >> )
/\ active = (n1 :> FALSE @@ n2 :> FALSE @@ n3 :> FALSE @@ n4 :> FALSE @@ n5 :> FALSE)
/\ passes = 1
/\ counter = (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0)
/\ clock = ( n1 :> (n1 :> 1 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n2 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n3 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
  n4 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 1 @@ n5 :> 0) @@
  n5 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) )

2 states generated, 2 distinct states found, 0 states left on queue.
The depth of the complete state graph search is 2.
Finished in 01s at (2023-08-07 17:26:27)
Trace exploration spec path: ewd998/EWD998ChanID_TTrace_1691443586.tla

If this isn't a bug then feel free to close.

from examples.

lemmy avatar lemmy commented on August 16, 2024

You closed it => not a bug?

from examples.

ahelwer avatar ahelwer commented on August 16, 2024

I probably would not have reported this as a bug if I knew the cause originally. At most it is an example of how declaring dependency version of the community modules might be important.

from examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.