From 74b23e870057cbf44e30bde442994056208476e7 Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <frank.winklmeier@cern.ch>
Date: Fri, 24 May 2024 15:49:11 +0200
Subject: [PATCH] TrigServices: always create CoreDumpSvc

Need to set the `create=True` on `CoreDumpSvc` to ensure it is always
created even if no client asks for it. Fixes missing signal handling in HLT.

Closes ATR-29451.
---
 .../TrigServices/python/TriggerUnixStandardSetup.py          | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/HLT/Trigger/TrigControl/TrigServices/python/TriggerUnixStandardSetup.py b/HLT/Trigger/TrigControl/TrigServices/python/TriggerUnixStandardSetup.py
index f57e2805ad53..f10e3e04124d 100644
--- a/HLT/Trigger/TrigControl/TrigServices/python/TriggerUnixStandardSetup.py
+++ b/HLT/Trigger/TrigControl/TrigServices/python/TriggerUnixStandardSetup.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 
 ## @file TriggerUnixStandardSetup.py
 ## @brief py-module to configure the Athena AppMgr for trigger
@@ -54,7 +54,8 @@ def commonServicesCfg(flags):
         StackTrace = True,       # then produce full stacktrace using gdb
         DumpCoreFile = True,     # also produce core file (if allowed by ulimit -c)
         FatalHandler = 0,        # no extra fatal handler
-        TimeOut = 120e9) )       # timeout for stack trace generation changed to 120s (ATR-17112,ATR-25404)
+        TimeOut = 120e9),        # timeout for stack trace generation changed to 120s (ATR-17112,ATR-25404)
+                    create = True )    # always create the service
 
     # IOVSvc
     cfg.addService( CompFactory.IOVSvc(
-- 
GitLab