infer icon indicating copy to clipboard operation
infer copied to clipboard

0.17.0 ``infer capture`` fails with Java var-args (at least in some scenarios)

Open amz-fruxo opened this issue 6 years ago • 4 comments

Bug Report Infer 0.17.0 GitHub binary fails during capture phase (even when told to "keep going"), apparently due to bogus support for Java var-args (this is my supposition). Please, see notes below for error trace.

Infer 0.17.0 vs master HEAD The current master HEAD of Infer seem to have partially worked around this problem, because when run against the same code base showing the bug in 0.17.0, the latest HEAD instead logs a warning to stdout saying it is failing, but at least does not crash the whole capture. Please, see notes below for error trace. (Note that this executable was obtained, not without pain, for OSX, but not for Linux which is our other target platform).

Request Given the objective difficulties in building Infer from scratch (I am about to open another issue for that) and given the blocking nature of the issue on 0.17.0, I ask for new bug-fixing release of Infer so that we can directly consume the binary (both for OSX and Linux 64), please.

Notes

  • Infer version: 0.17.0 (GitHub binary)
  • OS version: Darwin Kernel Version 18.7.0
  • infer capture
  • 0.17.0. error log: https://gist.github.com/amz-fruxo/8db52df41e13cef1799936d0d8108c39
  • master HEAD log: https://gist.github.com/amz-fruxo/527f583bc18fba6c95a530fa2b86522a

Looking forward to having the fix officially released, Francesco

amz-fruxo avatar Apr 28 '20 13:04 amz-fruxo

Hello, any update on this, thanks?

amz-fruxo avatar May 12 '20 13:05 amz-fruxo

Thanks for the report, this was indeed fixed recently. I don't know when we'll be able to make a release but I'm hoping we can publish one this month.

jvillard avatar May 12 '20 14:05 jvillard

Can be closed now since 1.0.0 was released: https://github.com/facebook/infer/releases/tag/v1.0.0

XVilka avatar Oct 15 '20 06:10 XVilka

Closing — this refers to an unsupported/obsolete toolchain, OS, or Infer release version and is no longer reproducible on a current build. Please reopen (or file a fresh issue) against a current release if you still hit this. Thanks!

martintrojer avatar Jul 07 '26 13:07 martintrojer