question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TLC model checker: "Deadlock" checkbox appears blank even if checked

See original GitHub issue

While following the video tutorials and attempting to run the TLC model checker, my model failed due to a “deadlock” (meaning, termination of the program).

When I went back to uncheck the “Deadlock” option, it appeared already unchecked, but TLC still fails with the same error.

After some investigation, it seems that the “checked” checkbox looks empty except for a thin green border:

Screenshot from 2019-08-13 00-15-49

…and the “unchecked” checkbox looks the same except with a thin grey border:

Screenshot from 2019-08-13 00-15-59

If it’s any help, I’m running Ubuntu 19.04 on an x64 machine, using Java 1.8:

openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~19.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mnpcommented, Apr 16, 2020

Okay kind of solved: @lemmy 's question was exactly the right thing to ask.

Ubuntu 19.10, X11 session type, GDM and gnome-tweak to flip themes.

So it turns out that Gnome themes can indeed affect UI elements inside Toolbox, and the checkbox is highly dependent on the theme. Some themes highlight the marked state, and some obscure it. Three examples (Adwaita, Ambience, and High Contrast, respectively):

adwaita ambience high-contrast

Toolbox users can choose a different theme, plus it seems some themes should support the Eclipse elements better.

Thanks!

0reactions
lemmycommented, Apr 20, 2020

I don’t see what we can do about except waiting for Eclipse to address the issue. Would somebody of those affected please open an Eclipse bug?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disbable deadlock checking? · Issue #135 - GitHub
The easiest thing to me seems to add another "Check Model" command that extends the existing one with deadlock checking: "Check Model (including ......
Read more >
Model Overview Page - TLA+
What to check? What is the model? How to run? This model editor page allows you to make the most common choices of...
Read more >
When TLC error trace send with stuttering - Google Groups
With Fin TLC reports that the temporal property fails. Am I correct that if no deadlock is found then no infinite sequence of...
Read more >
Full Handbook - ProB Documentation - HHU
If you want to do animation and model checking of Event-B models, ... for Event-B models), then the "Find B ASSERTION Violations" checkbox...
Read more >
Checking a Model
If TLC finds an error, it stops and the Toolbox raises the TLC Errors View. (If you close the view, you can reopen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found