-
Bug
-
Resolution: Fixed
-
Major
-
None
Same problem as desrcibed in issues: https://issues.jenkins-ci.org/browse/JENKINS-3164 and https://issues.jenkins-ci.org/browse/JENKINS-6423.
FATAL: Bounds exceeds available space : size=262144, offset=262145
java.lang.IndexOutOfBoundsException: Bounds exceeds available space : size=262144, offset=262145
at com.sun.jna.Memory.boundsCheck(Memory.java:168)
at com.sun.jna.Memory.getByte(Memory.java:394)
at hudson.util.ProcessTree$Darwin$DarwinProcess$1StringArrayMemory.skip0(ProcessTree.java:1005)
at hudson.util.ProcessTree$Darwin$DarwinProcess.parse(ProcessTree.java:1058)
at hudson.util.ProcessTree$Darwin$DarwinProcess.getEnvironmentVariables(ProcessTree.java:948)
at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:266)
at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:482)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:721)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:446)
at hudson.model.Run.run(Run.java:1362)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
on
uname -a
Darwin TheMini.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
I'm also seeing this issue on an OS X build server -
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:56.465s
[INFO] Finished at: Wed May 25 11:50:19 MDT 2011
[INFO] Final Memory: 87M/505M
[INFO] ------------------------------------------------------------------------
channel stopped
FATAL: Failed to parse arguments: arg0=/usr/bin/perl5.10.0, arguments=[amavisd (virgin child)], nargs=4
java.lang.IllegalStateException: Failed to parse arguments: arg0=/usr/bin/perl5.10.0, arguments=[amavisd (virgin child)], nargs=4
at hudson.util.ProcessTree$Darwin$DarwinProcess.parse(ProcessTree.java:1063)
at hudson.util.ProcessTree$Darwin$DarwinProcess.getEnvironmentVariables(ProcessTree.java:948)
at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:266)
at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:482)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:721)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:452)
at hudson.model.Run.run(Run.java:1374)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:467)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: java.lang.IndexOutOfBoundsException: Bounds exceeds available space : size=262144, offset=262145
at com.sun.jna.Memory.boundsCheck(Memory.java:168)
at com.sun.jna.Memory.getByte(Memory.java:394)
at hudson.util.ProcessTree$Darwin$DarwinProcess$1StringArrayMemory.skip0(ProcessTree.java:1005)
at hudson.util.ProcessTree$Darwin$DarwinProcess.parse(ProcessTree.java:1059)
... 9 more
Even though the maven build succeeds this bug causes it to mark the build as a failure.
I'm not sure when this issue started as I just fired up the jenkins server to start doing builds.
uname -a output:
Darwin apollo.biipr.com 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64