Skip to content

Commit fb90235

Browse files
committed
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 5891c7a. Discussion: https://postgr.es/m/d7pyc6wbo2rqhfk24lsgz37766n75vty4jxy5dnppny7ezd4qc@56juadvntebw Backpatch-through: 13
1 parent 0f354e0 commit fb90235

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/valgrind.supp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
Memcheck:Param
2020
socketcall.send(msg)
2121

22+
...
2223
fun:*send*
2324
fun:pgstat_send
2425
}
@@ -28,6 +29,7 @@
2829
Memcheck:Param
2930
socketcall.sendto(msg)
3031

32+
...
3133
fun:*send*
3234
fun:pgstat_send
3335
}

0 commit comments

Comments
 (0)