-
Notifications
You must be signed in to change notification settings - Fork 2k
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
(Unix.Exit_or_signal (Exit_non_zero 66)) #636
Comments
Hi @Will5, the actual error message is a bit lost in there; it is:
It will be a bit better in the upcoming 0.11.0 release (not out yet):
That last line of output is still quite useless though, we can probably get rid of it. |
Hi @jvillard, I forgot to mention that I get the same error after running
Is there an ETA on 0.11.0? |
@Will5 you need to rerun infer once you've run
|
@jvillard, that was after a Both |
Just to make extra sure: What's the output of |
Hi @jvillard , I am also getting a similar error. Below are the details:
Output: BUILD SUCCESSFUL
Output: https://gist.github.com/shankybnl/396975db9113175d3a13662c0ec44cf4 infer version: Let me know if anything else required for debugging. Thanks in advance |
@shankybnl One of the
Can you try running it and paste its output here? @Will5 Just to make sure, you get "nothing to compile" after your run |
Hi @jvillard Below is output of error: Class names, 'gradle_lXjnay.txt', are only accepted if annotation processing is explicitly requested |
@shankybnl you have to run the command as it was written, in particular putting
|
@shankybnl does |
@jvillard Yes, gradle build succeed without infer. Sorry, my bad. below is the required output:
Output: https://gist.github.com/shankybnl/d82a2fe5aefd971512174ec77b468daa |
Looks like changing the language to "en" is the issue here. Does this command succeed without |
@jvillard No. |
@shankybnl can you paste the contents of /opt/infer-linux64-v0.10.0/prime-tracking/infer-out/filelists/gradle_lXjnay.txt and /tmp/args_3ebf4c? |
@jvillard Please find the contents here: https://gist.github.com/shankybnl/396975db9113175d3a13662c0ec44cf4 |
@shankybnl I meant the contents of the files themselves, not the output of infer. |
Sorry, wrong link was copied. This is the correct one: https://gist.github.com/shankybnl/b64047424766603fe59d588c1f70b981 |
Hi @jvillard, Did you get a chance to see contents of the files posted at the above-mentioned link (https://gist.github.com/shankybnl/b64047424766603fe59d588c1f70b981)? Thanks, |
Yes, thanks! It would be good to try and get a repro on a small (one file) example so we can fix the bug. Probably some option added by infer makes Would you mind pasting |
Hi @jvillard, I am getting error on executing I executed the command with -d (debug) mode.
Please find the logs here for failing file file : https://gist.github.com/shankybnl/e05d894870bbc44a57067bb3dbb3a7ea Let me know if it helps or anything else required. Thanks. |
Hi @jvillard, Any updates on this issue? Thanks, |
I was finally able to run infer again last night. I'm not sure why, but one thing I did notice this morning is that infer continued to fail with the same error if Android Studio was running at the same time. |
Hi @jvillard , Hope you are doing great! Please share the probable date of the fix so I can analyze my java backend code. Thanks in advance. Regards, |
Hi @shankybnl, I was away for a couple of weeks but new I'm back and I'll be taking a look at your issue again. @Will5: is Android Studio building your project in the background somehow? If so then infer won't get a chance to capture a fresh build as gradle will report that there is nothing to compile. You might also be interested in the OkBuck plugin that can turn your gradle project into a Buck project. Buck is better supported by infer than gradle. |
@shalinguyen does the problem go away if you tell gradle to set the encoding to UTF-8? Google suggests this for example: http://mrhaki.blogspot.co.uk/2012/06/gradle-goodness-set-java-compiler.html |
Perfect @jvillard! This worked like a charm :)
Thanks a ton for your help. Best, |
Awesome! Thanks for reporting back. I'm not sure what can be done on the infer side to avoid this issue, it might be specific to the gradle integration or it might be a wider javac issue, but in any case guessing the right encoding to give to I'll just close this issue since there's a simple user solution. If we see more instances of that problem it may give us a clue as to how to solve it more automatically. |
When I run
./gradlew build
, I get aBUILD SUCCESSFUL
. When I runinfer -- ./gradlew build
, I get the following error:I'm running OS X El Capitan Version 10.11.6 and Infer 0.10.0.
The text was updated successfully, but these errors were encountered: