]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Handle top __syscall_cancel frames when getting stack traces VALGRIND_3_24_BRANCH
authorMark Wielaard <mark@klomp.org>
Sun, 30 Mar 2025 15:38:21 +0000 (17:38 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 30 Mar 2025 18:26:13 +0000 (20:26 +0200)
commitf18977fe271fc7dbfbf5d1657366cf69ec1361b8
tree9354e51d36a3d312596dbf027d5a16668e1f27e2
parente4d9cc414d13fa0685da8f1c7ac6bf027cadd730
Handle top __syscall_cancel frames when getting stack traces

Since glibc 2.41 there are extra frames inserted before doing a
syscall to support proper thread cancellation.  This breaks various
suppressions and regtests involving checking syscall arguments.

Solve this by removing those extra frames from the top of the call
stack when we are processing a linux system call.

https://bugs.kde.org/show_bug.cgi?id=502126
(cherry picked from commit 41441379baa63b5471385361d08c8df317705b69)
NEWS
coregrind/m_stacktrace.c