]> git-server-git.apps.pok.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)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 2 Oct 2025 17:18:55 +0000 (17:18 +0000)
commit6fdc73d19164fec6317b8716ea65a08d94bc4093
tree1677b8b684b33a631b28eb23427d566c0be434b4
parent8325bf52b131e40036df14983bdeefc72af8363d
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>
(cherry picked from commit 7ff53ade38fdee99f09f152530d596dab771ea2f)
(cherry picked from commit d2008b64367cf2bf197a58a925ea44a209fdc8cc)
qa/valgrind.supp