[PATCH v3 2/3] valgrind: ignore ldso and more libz errors
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 25, 2009, 23:19 UTC
- Message-ID
- <alpine.DEB.1.00.0901260019000.14855@racer>
- In-Reply-To
- <alpine.DEB.1.00.0901260014470.14855@racer>
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...]
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- t/valgrind/default.supp | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp index 2482b3b..b2da4fd 100644 --- a/t/valgrind/default.supp +++ b/t/valgrind/default.supp @@ -5,12 +5,36 @@ } { + ignore-zlib-errors-value8 + Memcheck:Value8 + obj:*libz.so* +} + +{ ignore-zlib-errors-value4 Memcheck:Value4 obj:*libz.so* } { + 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-errors Memcheck:Param write(buf)
-- 1.6.1.482.g7d54be