-
Notifications
You must be signed in to change notification settings - Fork 34
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
Incomplete trace #384
Comments
@bbrockbernd could you please also provide the trace from the console output? |
Sure thing
|
Hi @bbrockbernd ! Lincheck does not actually add all the events into the trace (i.e. all variable reads/writes). Could you please re-check, if it is the case here, or if Lincheck incorrectly classified some object as "local"? |
Hi @eupp, I believe the object is not local since it is shared among threads. Also, if an object is classified as local (and for my understanding, unimportant for the lincheck test) shouldn't it be excluded from the lincheck state diagram? Another example shows a significant change in state when switching from one thread to the other. However, with this trace it is unclear to me what exactly happened:
|
Hi! When testing my (faulty) concurrent hash map implementation I found that LinCheck sometimes gives incomplete traces. In the following example there are two screen shots of two steps in the trace. There are no steps (or events) in between the two however the state diagram changes significantly.
Screenshots of the trace and diagrams
Lincheck test (Inheritance here is important, otherwise it'll cover different scenarios that do not detect a bug.)
Datastructure under test
The text was updated successfully, but these errors were encountered: