BASH_XTRACEFD error in batch job

Hi
I have a task running in batch mode, which is suddenly dying. I don’t think, it is timing out. Only error I found in job.err is :

/usr/bin/bash: BASH_XTRACEFD: 19: invalid value for trace file descriptor
what causes it? Is it can force to terminate job?

cylc vip --debug .

flow.cylc:
[[GEMMACH]]
 script = "$TASK_RUN_SCRIPT $TASK_CONFIG_FILE"

   [[get_emissions]]
    inherit = GEMMACH
    platform = my_frontend
    execution time limit = PT15M

        [[[directives]]]

            -l = select=1:ncpus=1:mem=2gb

            -q = development
   [[[environment ]]]
       TASK_CONFIG_FILE = ${CYLC_WORKFLOW_RUN_DIR}/scripts/${CYLC_TASK_NAME}.config
       TASK_RUN_SCRIPT = ${CYLC_WORKFLOW_RUN_DIR}/scripts/${CYLC_TASK_NAME}.scr

more job.staus:
CYLC_JOB_INIT_TIME=2026-07-14T17:19:47Z
CYLC_JOB_EXIT=ERR
CYLC_JOB_EXIT_TIME=2026-07-14T17:24:35Z
So job died after 5 minutes, but wall clock given was 15 minutes.