-
Notifications
You must be signed in to change notification settings - Fork 76
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
Server mode crashes on re-analysis #940
Comments
For this program, the crash can be avoided when allowing multiple declarations (but not not definitions) in |
Well, multiple declaration should be allowed. It's just that the comparison should take place once per Maybe analyzer/src/incremental/compareCIL.ml Line 10 in 33775db
|
Since we are only interested in the fact whether globals exist and what the varinfo is, I think it is ok to only keep a |
Also see here:
@stilscher and I looked at this, and it turns out that when |
I created a minimal example for this issue:
When analyzed with the following configuration
it fails in the incremental run (with empty diff) due to two declarations for |
I found out that this issue is caused by something rather unrelated to my previous hunch. The command for starting the server mode listed in the issue description above also hands over the file to be analyzed (in contrast to what is described in https://github.com/goblint/bench/blob/8ff038ba93c6cdbdb0ed3d6f992083d14047c719/gobpie-demos/chrony/story.md). I do not understand yet, why this is actually problematic, but it can be solved by removing the file name either from the command-line arguments or the configuration option So a couple of ideas to avoid this issue:
What do you think? |
Deduplicating
We should probably do this, so it's not just documented some random issues. Although duplicate
I think in SV-COMP we have a lot of duplicate globals errors because we always use the system's 64bit version of |
When analyzing the c-file mentioned in #678, Goblint crashes in server mode on re-analysis of code with:
When running goblint in server mode, as outlined here e.g. by:
and the submitting commands like:
The first analysis that is triggered succeeds, while the subsequent one crashes with the Failure above. This happens even when the changes made to the file only affect white-space.
This crash does not seem to affect all programs, for some other toy examples I tried the server mode still works.
The text was updated successfully, but these errors were encountered: