]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
valgrind: wildcard glibc version for dlopen() leak suppression
authorCasey Bodley <cbodley@redhat.com>
Sat, 7 Jun 2025 01:43:33 +0000 (21:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Sat, 7 Jun 2025 01:50:06 +0000 (21:50 -0400)
commit7ff53ade38fdee99f09f152530d596dab771ea2f
tree5ac24c37871572da7b7bb4499b9ac5a3a8268444
parenteee03c25753f96d71bae3a33e697a7399e0ddf99
valgrind: wildcard glibc version for dlopen() leak suppression

the original suppression for "dlopen@@GLIBC_2.2.5" is very similar to
several later suppressions for "dlopen@@GLIBC_2.34". add a wildcard to
the original suppression so the rest can be removed

this also helps suppress a new leak, seen with gcc-13:
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:UnknownInlinedFun
   fun:decompose_rpath
   fun:_dl_map_object
   fun:dl_open_worker_begin
   fun:_dl_catch_exception
   fun:dl_open_worker
   fun:_dl_catch_exception
   fun:_dl_open
   fun:dlopen_doit
   fun:_dl_catch_exception
   fun:_dl_catch_error
   fun:_dlerror_run
   fun:dlopen@@GLIBC_2.34
   fun:_sub_I_65535_0.0
   fun:call_init
   fun:call_init
   fun:_dl_init
   obj:/usr/lib64/ld-linux-x86-64.so.2
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
}

Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/valgrind.supp