Skip to content

Commit

Permalink
valgrind: ignore ldso and more libz errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Feb 4, 2009
1 parent 4e1be63 commit 6a7e37c
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions t/valgrind/default.supp
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,40 @@
obj:*libz.so*
}

{
ignore-zlib-errors-value8
Memcheck:Value8
obj:*libz.so*
}

{
ignore-zlib-errors-value4
Memcheck:Value4
obj:*libz.so*
}

{
writing-data-from-zlib-triggers-errors
ignore-ldso-cond
Memcheck:Cond
obj:*ld-*.so
}

{
ignore-ldso-addr8
Memcheck:Addr8
obj:*ld-*.so
}

{
ignore-ldso-addr4
Memcheck:Addr4
obj:*ld-*.so
}

{
writing-data-from-zlib-triggers-even-more-errors
Memcheck:Param
write(buf)
obj:/lib/ld-*.so
fun:write_in_full
fun:write_buffer
...
fun:write_loose_object
}

0 comments on commit 6a7e37c

Please sign in to comment.