[PATCH 2/2] valgrind: ignore ldso errors
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 20, 2009, 15:05 UTC
- Message-ID
- <alpine.DEB.1.00.0901201604530.5159@intel-tinevez-2-302>
- In-Reply-To
- <alpine.DEB.1.00.0901201602410.5159@intel-tinevez-2-302>
From: Jeff King <peff@peff.net>
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."
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com> ---
This is Peff's patch, unchanged.
t/valgrind/default.supp | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp index 2482b3b..1013847 100644 --- a/t/valgrind/default.supp +++ b/t/valgrind/default.supp @@ -11,6 +11,18 @@ } { + ignore-ldso-cond + Memcheck:Cond + obj:*ld-*.so +} + +{ + ignore-ldso-addr8 + Memcheck:Addr8 + obj:*ld-*.so +} + +{ writing-data-from-zlib-triggers-errors Memcheck:Param write(buf)
-- 1.6.1.243.g6c8bb35