postgres.git / summary / log / commit / refs

commit    fb9023533de4fb36d4fbed3b204a59b0cffba853
Author:   Andres Freund <andres@anarazel.de>
Date:     Thu Mar 06 13:45:35 2025 +0000
First released in: 13.21, 14.18

    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 } [parent: 0f354e0805ed]