@matheusbsbs / matheus-bagliano / commits / 6a7e37c99f
Fork 0

valgrind: ignore ldso and more libz errors

On some Linux systems, we get a host of Cond and Addr errors from calls to dlopen that are caused by nss modules. We should be able to safely ignore anything happening in ld-*.so as "not our problem." [Johannes: I added some more... unfortunately using valgrind 3.4.0 syntax] Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Feb 4, 2009 at 00:26 UTC 6a7e37c99f733821bd3a17432fa6e4591b63866c
1 file changed +26 -4
t/valgrind/default.supp
+26 -4
@@ -4,6 +4,12 @@
4 obj:*libz.so*
5 }
6
7 +{
8 + ignore-zlib-errors-value8
9 + Memcheck:Value8
10 + obj:*libz.so*
11 +}
12 +
13 {
14 ignore-zlib-errors-value4
15 Memcheck:Value4
@@ -11,11 +17,27 @@
17 }
18
19 {
14 - writing-data-from-zlib-triggers-errors
20 + ignore-ldso-cond
21 + Memcheck:Cond
22 + obj:*ld-*.so
23 +}
24 +
25 +{
26 + ignore-ldso-addr8
27 + Memcheck:Addr8
28 + obj:*ld-*.so
29 +}
30 +
31 +{
32 + ignore-ldso-addr4
33 + Memcheck:Addr4
34 + obj:*ld-*.so
35 +}
36 +
37 +{
38 + writing-data-from-zlib-triggers-even-more-errors
39 Memcheck:Param
40 write(buf)
17 - obj:/lib/ld-*.so
18 - fun:write_in_full
19 - fun:write_buffer
41 + ...
42 fun:write_loose_object
43 }