facebook / infer

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

Different infer report between two runs with same code #1842

Open dongsushang opened 5 months ago

dongsushang commented 5 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 4 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.