]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Handle top __syscall_cancel frames when getting stack traces
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 17:20:56 +0000 (19:20 +0200)
commit41441379baa63b5471385361d08c8df317705b69
treebed6d1d18b8754c1de18fd41dbd1e2746878bca8
parentddcb3aa3ed3188cd28c193225245a76e928b850b
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
NEWS
coregrind/m_stacktrace.c