summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-03-06 08:45:35 -0500
committerAndres Freund <andres@anarazel.de>2025-03-06 08:46:42 -0500
commitfb9023533de4fb36d4fbed3b204a59b0cffba853 (patch)
tree69d01378484625090ac04c025e8273ede327cbcf
parent0f354e0805ed5df05e02f60c6998a7b9df14b4b6 (diff)
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
-rw-r--r--src/tools/valgrind.supp2
1 files changed, 2 insertions, 0 deletions
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
}