From 0005d22bd1a69038dfcf77312d2c8c4bfd5e10e7 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Thu, 19 Sep 2013 11:46:47 -0700 Subject: [PATCH] Update memcheck.supp, add a new suppression rule for 32bit ubuntu [skip ci] --- src/memcheck.supp | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/memcheck.supp b/src/memcheck.supp index 1ebeae010f..7a7531b3b2 100644 --- a/src/memcheck.supp +++ b/src/memcheck.supp @@ -42,11 +42,27 @@ fun:*_thread_atexit fun:* fun:*_Bind_simple* - obj:/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 + obj:*/libstdc++.so* fun:start_thread fun:clone } +{ + # This warning is due to a memory-leak bug in the g++ compiler. + # Soonho reported the problem. Gcc team said this a known problem, and will be fixed + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142 + Suppress_GCC-4.8_Memory_Leak_Bug_in_Thread_32Bit_Ubuntu + Memcheck:Leak + fun:*nothrow_t + fun:*_thread_atexit + fun:* + fun:*_Bind_simple* + fun:*_Bind_simple* + fun:*_Bind_simple* + obj:*/libstdc++.so* + fun:clone +} + { Suppress_Bash_Memory_Leak_on_Fedora19 Memcheck:Leak