From 8e68d285c5776d15bcb6120e3af7e85c073de7a0 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 29 May 2018 09:15:07 +0000 Subject: Suppress valgrind memory leak warning on fedora. --- valgrind-suppressions.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/valgrind-suppressions.txt b/valgrind-suppressions.txt index baef981a3f9..2df6c9c5691 100644 --- a/valgrind-suppressions.txt +++ b/valgrind-suppressions.txt @@ -5,6 +5,14 @@ fun:_dl_allocate_tls fun:pthread_create@@GLIBC_2.2.5 } +{ + NPTL keeps a cache of thread stacks, and metadata for thread local storage is not freed for threads in that cache + Memcheck:Leak + fun:calloc + fun:allocate_dtv + fun:_dl_allocate_tls + fun:pthread_create@@GLIBC_2.2.5 +} { This is a bug in glibc. We can not suffer for that. Memcheck:Free -- cgit v1.2.3