[Note: question heavily edited to correspond to the actual problem]
I'm trying to debug a command that fails only in specific conditions. The failure is with an exitcode 140, but I have no other information.
This command is cat in_file | tr "\t" "\n" > out_file, and it is part of a Nextflow script, which is in turn run on a cluster with the SLURM scheduler.
As the command is tr, part of the GNU coreutils, I checked the manpage and info, that only mention that "An exit status of zero indicates success, and a nonzero value indicates failure.", but this is not a standard error from errno.h codes.