pgsql: valgrind: Adjust suppressions to handle glibc changes

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: valgrind: Adjust suppressions to handle glibc changes
Date: 2025-03-06 13:49:21
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/33b02bfac4777a80151a564d751651c6efba002a

Modified Files
--------------
src/tools/valgrind.supp | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2025-03-06 13:50:16 pgsql: Remove extraneous commas in json{b}_strip_nulls documentation
Previous Message Amit Kapila 2025-03-06 08:55:55 pgsql: Avoid invalidating all RelationSyncCache entries on publication