From: NitzanMordhai Date: Thu, 5 Feb 2026 11:48:39 +0000 (+0000) Subject: qa: suppress false positive delete map mismatch errors X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae9ae0353e68543b4d6beace2767fb7ba046aa1b;p=ceph.git qa: suppress false positive delete map mismatch errors Valgrind reports "Mismatched free() / delete / delete []" errors during OSD startup. Standard library containers (like std::map) correctly call delete, but Valgrind falsely interprets this as a call to delete[] because GCC 14 folds the identical aligned delete operators into a single symbol. This causes Valgrind to flag a mismatch against the non-array allocation. Fixes: https://tracker.ceph.com/issues/74604 Signed-off-by: Nitzan Mordechai --- diff --git a/qa/valgrind.supp b/qa/valgrind.supp index 3a6a9c38cd5..50644f4931f 100644 --- a/qa/valgrind.supp +++ b/qa/valgrind.supp @@ -932,4 +932,24 @@ fun:*ProtocolV2* ... } - +{ + rocky10_gcc14_mismatch_delete_map_erase + Memcheck:Free + fun:_Zda*align_val_t* + ... + fun:*global_init_prefork* +} +{ + rocky10_gcc14_mismatch_delete_map_erase + Memcheck:Free + fun:_Zda*align_val_t* + ... + fun:*ceph6common11CephContext* +} +{ + rocky10_gcc14_mismatch_delete_map_erase + Memcheck:Free + fun:_Zda*align_val_t* + ... + fun:exit +}