From 33b02bfac4777a80151a564d751651c6efba002a Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 6 Mar 2025 08:45:35 -0500 Subject: [PATCH] valgrind: Adjust suppressions to handle glibc changes In newer glibc versions two additional functions appear between send() and socketcall.send(msg): fun:__internal_syscall_cancel fun:__syscall_cancel Due to that our existing suppression do not work anymore. Use '...', like aleady used in other suppressions, to make valgrind ignore these interstitial frames. The problematic suppressions are only in < 15, as they aren't needed after 5891c7a8ed8. Discussion: https://postgr.es/m/d7pyc6wbo2rqhfk24lsgz37766n75vty4jxy5dnppny7ezd4qc@56juadvntebw Backpatch-through: 13 --- src/tools/valgrind.supp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp index e3a179d210b..6caf8593211 100644 --- a/src/tools/valgrind.supp +++ b/src/tools/valgrind.supp @@ -19,6 +19,7 @@ Memcheck:Param socketcall.send(msg) + ... fun:*send* fun:pgstat_send } @@ -28,6 +29,7 @@ Memcheck:Param socketcall.sendto(msg) + ... fun:*send* fun:pgstat_send } -- 2.39.5