From 7ff53ade38fdee99f09f152530d596dab771ea2f Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 6 Jun 2025 21:43:33 -0400 Subject: [PATCH] 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: { 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 --- qa/valgrind.supp | 298 +---------------------------------------------- 1 file changed, 1 insertion(+), 297 deletions(-) diff --git a/qa/valgrind.supp b/qa/valgrind.supp index 0ed12dac857..00eaf476279 100644 --- a/qa/valgrind.supp +++ b/qa/valgrind.supp @@ -495,70 +495,6 @@ fun:__libc_start_main@@GLIBC_2.34 fun:(below main) } -{ - malloc centos 9 leak 1 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:strdup - fun:_dl_load_cache_lookup - 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:* -} -{ - malloc centos 9 leak 2 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:UnknownInlinedFun - fun:_dl_new_object - fun:_dl_map_object_from_fd - 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:* -} { static_initialization_and_destruction centos 9 leak 2 Memcheck:Leak @@ -606,76 +542,6 @@ fun:__libc_start_main@@GLIBC_2.34 fun:(below main) } -{ - malloc centos 9 leak 3 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:strdup - fun:_dl_load_cache_lookup - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - 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:* -} -{ - malloc centos 9 leak 4 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:UnknownInlinedFun - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - 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:* -} { HashtableHash_node rocksdb centos 9 leak Memcheck:Leak @@ -715,168 +581,6 @@ fun:__libc_start_main@@GLIBC_2.34 fun:(below main) } -{ - rockdb malloc centos 9 leak 5 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:UnknownInlinedFun - fun:add_dependency - fun:_dl_lookup_symbol_x - fun:elf_machine_rela - fun:elf_dynamic_do_Rela - fun:_dl_relocate_object - fun:_dl_open_relocate_one_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:* -} -{ - rocksdb malloc centos 9 leak 6 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:UnknownInlinedFun - fun:add_to_global_resize - 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:* -} -{ - rocksdb malloc centos 9 leak 7 - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:UnknownInlinedFun - fun:_dl_check_map_versions - 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:* -} -{ - rocksdb malloc centos 9 leak 8 - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:UnknownInlinedFun - fun:_dl_new_object - fun:_dl_map_object_from_fd - 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:* -} -{ - rocksdb calloc centos 9 leak - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:UnknownInlinedFun - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - 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:* -} { libstdc++ leak on xenial Memcheck:Leak @@ -1019,7 +723,7 @@ fun:*alloc ... fun:_dlerror_run - fun:dlopen@@GLIBC_2.2.5 + fun:dlopen@@GLIBC_2* } { -- 2.39.5