From 6439fe4ecd126ee4a6c5eed150f6931dd5fb4ba4 Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Mon, 22 Sep 2025 23:46:27 +0000 Subject: [PATCH] qa: suppress OpenSSL valgrind leaks These leaks started happening when OpenSSL v3.5.0 was released. We determined they are safe to suppress. Fixes: https://tracker.ceph.com/issues/71182 Signed-off-by: Laura Flores --- qa/valgrind.supp | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/qa/valgrind.supp b/qa/valgrind.supp index 00eaf47627998..627456b0dd291 100644 --- a/qa/valgrind.supp +++ b/qa/valgrind.supp @@ -843,3 +843,94 @@ fun:_ZdaPvm ... } +{ + OpenSSL leak still reachable + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:CRYPTO_malloc + ... + obj:/usr/lib64/libcrypto* + ... + fun:*ceph*crypto*onwire*create_handler_pair* + ... + fun:*ProtocolV2* + ... +} +{ + RocksDB ObjectLibrary leak still reachable + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:*rocksdb*ObjectLibrary*DefaultEv* + fun:*static_initialization_and_destruction* +} +{ + static_initialization_and_destruction leak variation + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:*static_initialization_and_destruction* + fun:_sub_I* + ... +} +{ + rocksdb leak variation - ObjectLibrary PatternEntry + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:UnknownInlinedFun + ... + fun:*rocksdb*ObjectLibrary*PatternEntry* + ... + fun:*static_initialization_and_destruction* + fun:_sub_I* + ... +} +{ + OpenSSL leak variation - realloc create_handler_pair + Memcheck:Leak + match-leak-kinds: reachable + fun:realloc + ... + fun:*ceph*crypto*onwire*create_handler_pair* + ... + fun:*ProtocolV2* + ... +} +{ + OpenSSL leak variation - CryptoKeyHandler + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:CRYPTO_malloc + ... + fun:*CryptoKeyHandler* + ... + fun:*ProtocolV2* + ... +} +{ + OpenSSL leak variation - realloc CryptoKeyHandler + Memcheck:Leak + match-leak-kinds: reachable + fun:realloc + ... + fun:*CryptoKeyHandler* + ... + fun:*ProtocolV2* + ... +} +{ + OpenSSL leak variation - posix_memalign + Memcheck:Leak + match-leak-kinds: reachable + fun:posix_memalign + fun:CRYPTO_aligned_alloc + ... + fun:*ceph*crypto*onwire*create_handler_pair* + ... + fun:*ProtocolV2* + ... +} + -- 2.39.5