https://bugs.kde.org/show_bug.cgi?id=435732

--- Comment #6 from Paul Floyd <pjfl...@wanadoo.fr> ---
We should be looking at leak_cpp_interior.stderr.diff-64bit rather than
leak_cpp_interior.stderr.diff (same for 403802)

With g++ 9.2 on RHEL 7 I get a similar failure, but without the still reachable
that I get with g++ 5.3. 


Running the test standalone as follows

 ../../vg-in-place
--leak-check-heuristics=multipleinheritance,stdstring,newarray,length64
--suppressions=libstdc++.supp --leak-check=full --show-reachable=yes
./leak_cpp_interior

it looks like the problem is due to mismatches of the suppressions in
libstdc++.supp and those produced by different GCC/libstc++ versions.


The following diff may be a fix

diff --git a/memcheck/tests/libstdc++.supp b/memcheck/tests/libstdc++.supp
index 520e6613a..475e2d9fa 100644
--- a/memcheck/tests/libstdc++.supp
+++ b/memcheck/tests/libstdc++.supp
@@ -81,10 +81,7 @@
   fun:pool
   fun:__static_initialization_and_destruction_0
   fun:_GLOBAL__sub_I_eh_alloc.cc
-  fun:call_init.part.0
-  fun:call_init
-  fun:_dl_init
-  obj:*lib*/ld-2.*.so
+  obj:*lib*/libstdc++.so*
 }
 {
    malloc-leaks-cxx-stl-string-classes-debug2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to