From f6ddfed8779b313490c05792873d7a85142e8bd2 Mon Sep 17 00:00:00 2001 From: Sandro Wenzel Date: Fri, 1 Oct 2021 08:53:08 +0200 Subject: [PATCH] avoid hang due to 'terminate called without an active exception' --- Utilities/Tools/jobutils.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Utilities/Tools/jobutils.sh b/Utilities/Tools/jobutils.sh index 2f7e0f4a8d7e1..2f73dc40464af 100644 --- a/Utilities/Tools/jobutils.sh +++ b/Utilities/Tools/jobutils.sh @@ -175,16 +175,17 @@ taskwrapper() { # - segmentation violation # - there was a crash # - bus error (often occuring with shared mem) - pattern="-e \"\<[Ee]xception\" \ - -e \"segmentation violation\" \ - -e \"error while setting up workflow\" \ - -e \"bus error\" \ - -e \"Assertion.*failed\" \ - -e \"Fatal in\" \ - -e \"libc++abi.*terminating\" \ - -e \"There was a crash.\" \ - -e \"arrow.*Check failed\" \ - -e \"terminate called after\" \ + pattern="-e \"\<[Ee]xception\" \ + -e \"segmentation violation\" \ + -e \"error while setting up workflow\" \ + -e \"bus error\" \ + -e \"Assertion.*failed\" \ + -e \"Fatal in\" \ + -e \"libc++abi.*terminating\" \ + -e \"There was a crash.\" \ + -e \"arrow.*Check failed\" \ + -e \"terminate called after\" \ + -e \"terminate called without an active\" \ -e \"\*\*\* Error in\"" # <--- LIBC fatal error messages grepcommand="grep -a -H ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} >> encountered_exceptions_list 2>/dev/null"