facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.92k stars 2.01k forks source link

Different infer report between two runs with same code #1842

Open dongsushang opened 3 months ago

dongsushang commented 3 months ago

Please make sure your issue is not addressed in the FAQ.

Please include the following information:

I hava a java file name Example.java, there is a normal NULL_DEREFERENCE issue in Example.java. But the strange thing is that if you run the same code multiple times and run the infer check, there is only a small probability that this problem can be scanned.

dongsushang commented 3 months ago

we found if one thread is used to run infer,it works all right. But it happens, when more than one thread are used.