From c1b12eae993391438578379b4621a439fe2f4703 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Mon, 23 Sep 2013 19:57:16 -0700 Subject: [PATCH] Update memcheck.supp to suppress a valgrind warning caused by a bug in tcmalloc-2.0 --- src/memcheck.supp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/memcheck.supp b/src/memcheck.supp index 7a7531b3b..fbe1654a4 100644 --- a/src/memcheck.supp +++ b/src/memcheck.supp @@ -75,3 +75,30 @@ fun:reader_loop fun:main } + +{ + # This entry suppresses the warning caused by a bug in tcmalloc-2.0. + # Using tcmalloc-2.1 solves this problem. + TCMalloc_2.0_Bug + Memcheck:Param + msync(start) + fun:__msync_nocancel + obj:*/libunwind.so.8.0.0 + obj:*/libunwind.so.8.0.0 + obj:*/libunwind.so.8.0.0 + obj:*/libunwind.so.8.0.0 + fun:_UL*_step + fun:*GetStackTrace* + fun:*PageHeap*GrowHeap* + fun:*PageHeap*New* + fun:*CentralFreeList*Populate* + fun:*CentralFreeList*FetchFromSpansSafe* + fun:*CentralFreeList11RemoveRange* + fun:*ThreadCache*FetchFromCentralCache* + fun:malloc + fun:*TCMallocGuard* + obj:*/libtcmalloc.so.* + fun:call_init.* + fun:_dl_init + obj:*/ld-2.* +}