Open AnnabellaM opened 3 months ago
Hello Infer team, I'm following up on this issue and would greatly appreciate any insights you could provide. Thank you!
Hi, it is indeed a known issue. Several fixes have landed on master since the 1.1 release (we ought to do one soon), so I would suggest:
Hi, I have recently been using Infer for an empirical study to detect non-deterministic behaviors in static analyzers. The experiments resulted in discovering some nondeterministic analysis results across multiple runs under various configurations of Infer.
v1.1.0
.ubuntu:20.04
and I am using Docker.infer --compilation-database compile_commands.json
with following checkers on--annotation-reachability --bufferoverrun --cost --loop-hoisting --pulse
, as well as these options used--dump-duplicate-symbols --headers --max-nesting --jobs --reactive --scheduler
.--jobs
option is not set to 1.For example, here are some different results from the running Infer under the same configuration
--headers --max-nesting 1 --jobs 5 --reactive --scheduler callgraph
. result 1:result 2:
result 3:
Could you please offer some insights into this issue and suggest ways to mitigate the non-deterministic behavior when running Infer with multiple jobs? Thank you.