From 9a49f826ccce7f9deeb4603a6e423db1b3ecee56 Mon Sep 17 00:00:00 2001 From: Matti Kortelainen Date: Mon, 18 Mar 2024 10:01:08 +0100 Subject: [PATCH] Initialize statsGuard_ Hopefully this fixes the segfaults seeing in this module in IBs. --- DPGAnalysis/Skims/src/LogErrorEventFilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DPGAnalysis/Skims/src/LogErrorEventFilter.cc b/DPGAnalysis/Skims/src/LogErrorEventFilter.cc index 141b2378e8f71..b940105630d65 100644 --- a/DPGAnalysis/Skims/src/LogErrorEventFilter.cc +++ b/DPGAnalysis/Skims/src/LogErrorEventFilter.cc @@ -116,7 +116,7 @@ class LogErrorEventFilter : public edm::global::EDFilter statsGuard_; + mutable std::atomic statsGuard_{false}; template static void increment(ErrorSet &scoreboard, Collection &list);