https://bugs.kde.org/show_bug.cgi?id=502126

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|jsew...@acm.org             |m...@klomp.org

--- Comment #1 from Mark Wielaard <m...@klomp.org> ---
This gdb_server tests part (for x86_64) seems simple to fix:

commit f3f30becff5851b0d0b2caa7e96e661c7889f7d1
Author: Mark Wielaard <m...@klomp.org>
Date:   Fri Mar 28 13:44:35 2025 +0100

    filter_gdb.in: __syscall_cancel_arch is just in a syscall

    Since glibc 2.41 some extra syscall_cancel frames are inserted before
    that actual syscall is made. Just filter out __syscall_cancel_arch
    from the gdb output and replace it with "in syscall ..." to make the
    regtest .exp match.

    https://bugs.kde.org/show_bug.cgi?id=502126

diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in
index 2bef9f3ee57b..e2b329a60483 100755
--- a/gdbserver_tests/filter_gdb.in
+++ b/gdbserver_tests/filter_gdb.in
@@ -134,6 +134,9 @@ s/^>[> ]*//
 #       anonymise a 'general' system calls stack trace part
 s/in _dl_sysinfo_int80 () from \/lib\/ld-linux.so.*/in syscall .../

+#      in __syscall_cancel_arch is just in a syscall
+s/in __syscall_cancel_arch .*/in syscall .../
+
 #       anonymise kill syscall.
 s/in kill ().*$/in syscall .../

Also pushed to VALGRIND_3_24_BRANCH.

This fixes:

gdbserver_tests/mcinfcallWSRU            (stderrB)
gdbserver_tests/nlcontrolc               (stdoutB)
gdbserver_tests/nlvgdbsigqueue           (stdoutB)

Failures that still need some tweaks to the valgrind side:

memcheck/tests/sendmsg                   (stderr)
none/tests/fdbaduse                      (stderr)
none/tests/fdleak_cmsg_supp              (stderr)
none/tests/fdleak_creat_sup              (stderr)
none/tests/fdleak_ipv4                   (stderr)
none/tests/file_dclose                   (stderr)
none/tests/file_dclose_sup               (stderr)
none/tests/socket_close                  (stderr)
none/tests/use_after_close               (stderr)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to