diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2017-01-02 13:51:11 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-01-04 14:49:35 +1000 |
commit | 9ad7cda9d8847b6e664f603d6f6c10a7c4fc45a8 (patch) | |
tree | 40186859561edac0755bcc7f991481edeb3bec51 | |
parent | 8b0d59b83a60eb504567590346119fe4cd891cad (diff) | |
download | pacman-9ad7cda9d8847b6e664f603d6f6c10a7c4fc45a8.tar.xz |
Suppress valgrind error in fakechroot
This was spotted on Arch Linux, most likely it was introduced
when fakechroot was updated to 2.19-1.
Valgrind suggests to add the following suppression, which can be
tweaked to fit an already existing one.
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
obj:/usr/lib/libdl-2.24.so
fun:dlsym
obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
fun:bindtextdomain
obj:/usr/lib/libgpg-error.so.0.20.0
fun:call_init.part.0
fun:_dl_init
obj:/usr/lib/ld-2.24.so
obj:*
obj:*
obj:*
}
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | valgrind.supp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/valgrind.supp b/valgrind.supp index 0691e808..69265dff 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -160,8 +160,10 @@ fakechroot-call-init Memcheck:Leak match-leak-kinds: reachable - fun:malloc + fun:?alloc + ... obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so + ... fun:call_init.part.0 fun:_dl_init obj:/usr/lib/ld-*.so |