Hello,
we have been seeing this in our company as well, after updating mac to Big Sur.
MacOS BigSur 11.3.1
Jenkins 2.277.4
XCode 12.5
It's crashing on finish of some jobs after doing everything else. What is important, it's not happening always on same job - once it finishes fine, once with this error. Here's my error message and trace:
FATAL: Bounds exceeds available space : size=1048576, offset=1048577
java.lang.IndexOutOfBoundsException: Bounds exceeds available space : size=1048576, offset=1048577
at com.sun.jna.Memory.boundsCheck(Memory.java:221)
at com.sun.jna.Memory.getByte(Memory.java:443)
at hudson.util.ProcessTree$Darwin$DarwinProcess$1StringArrayMemory.readString(ProcessTree.java:1734)
at hudson.util.ProcessTree$Darwin$DarwinProcess.parse(ProcessTree.java:1806)
at hudson.util.ProcessTree$Darwin$DarwinProcess.getEnvironmentVariables(ProcessTree.java:1683)
at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:338)
at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:732)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:1015)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:525)
at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:148)
at hudson.model.Run.execute(Run.java:1907)
at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:76)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE
The same configuration does not fail on another host