typetools / typetools/checker-framework

Non-determinisic Lock Checker bug

Open
#755 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

False Positive (false warning or imprecision) nondeterminism
Dominant language
Java
Stars
1.1k
Forks
440
Avg merge
1d 12h
Merged PRs (30d)
134

Description

On Jenkins the Lock Checker issues the following erroneous errors, though Travis does not.

./daikon/split/PptSplitter.java:363: warning: [cannot.dereference] cannot dereference expression eq_inv.ppt with refined type annotation @GuardedByBottom
                    + eq_inv.ppt
                            ^
./daikon/split/PptSplitter.java:363: warning: [cannot.dereference] cannot dereference expression eq_inv.ppt with refined type annotation @GuardedByBottom
                    + eq_inv.ppt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Jenkins and Travis job logs linked in the report, then inspect the Lock Checker behavior around PptSplitter.java:363. Compare why the two environments produce different results and determine how to prevent the erroneous cannot.dereference warnings; done means the reported code no longer produces those warnings consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.