From e78eb9a197fd5d8b7695c1daf714cde4ae236489 Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Thu, 16 Feb 2017 22:59:21 +0100
Subject: [PATCH] Added more helgrind suppression for sahred_ptr destructor.

---
 tests/helgrind.suppr | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/tests/helgrind.suppr b/tests/helgrind.suppr
index c1ae70f2ad..85fde3281a 100644
--- a/tests/helgrind.suppr
+++ b/tests/helgrind.suppr
@@ -339,3 +339,20 @@
    fun:_ZN3cta11objectstore14AgentReference19removeFromOwnershipERKSsRNS0_7BackendE
    ...
 }
+
+{
+   shared_pointer_destructor
+   Helgrind:Race
+   fun:my_memcmp
+   fun:pthread_cond_destroy_WRK
+   fun:pthread_cond_destroy@*
+   fun:_ZNSt13__future_base11_State_baseD1Ev
+   fun:_ZN9__gnu_cxx13new_allocatorINSt13__future_base11_State_baseEE7destroyIS2_EEvPT_
+   fun:_ZNSt16allocator_traitsISaINSt13__future_base11_State_baseEEE10_S_destroyIS1_EENSt9enable_ifIXsrNS3_16__destroy_helperIT_EE5valueEvE4typeERS2_PS7_
+   fun:_ZNSt16allocator_traitsISaINSt13__future_base11_State_baseEEE7destroyIS1_EEvRS2_PT_
+   fun:_ZNSt23_Sp_counted_ptr_inplaceINSt13__future_base11_State_baseESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
+   fun:_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv
+   fun:_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
+   fun:_ZNSt12__shared_ptrINSt13__future_base11_State_baseELN9__gnu_cxx12_Lock_policyE2EED1Ev
+   fun:_ZNSt10shared_ptrINSt13__future_base11_State_baseEED1Ev
+}
\ No newline at end of file
-- 
GitLab