[pacman-dev] [PATCH] Suppress valgrind error in fakechroot

Allan McRae allan at archlinux.org
Wed Jan 4 04:50:24 UTC 2017


On 02/01/17 22:51, Rikard Falkeborn wrote:
> 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 at gmail.com>

Thanks!


More information about the pacman-dev mailing list