Skip to content

Crash on infer -- gradlew veryLargeJavaProject #22

@maxponte

Description

@maxponte

Traceback (most recent call last):
File "/Users/mponte/infer-0.1.0/infer/bin/infer", line 142, in
main()
File "/Users/mponte/infer-0.1.0/infer/bin/infer", line 119, in main
capture_exitcode = imported_module.gen_instance(args, cmd).capture()
File "/Users/mponte/infer-0.1.0/infer/bin/../lib/capture/gradle.py", line 42, in capture
return util.run_commands(cmds)
File "/Users/mponte/infer-0.1.0/infer/bin/../lib/capture/util.py", line 34, in run_commands
if not cmd.start():
File "/Users/mponte/infer-0.1.0/infer/bin/inferlib.py", line 632, in start
if self.capture() == os.EX_OK:
File "/Users/mponte/infer-0.1.0/infer/bin/inferlib.py", line 398, in capture
javac_status = self.compile()
File "/Users/mponte/infer-0.1.0/infer/bin/inferlib.py", line 395, in compile
return self.javac.run()
File "/Users/mponte/infer-0.1.0/infer/bin/jwlib.py", line 44, in run
subprocess.check_call(javac_cmd, stderr=file_out)
File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call
retcode = call(_popenargs, *_kwargs)
File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 7] Argument list too long

I'm thinking this might have something to do with infer being untested on very large builds?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions