https://bugs.kde.org/show_bug.cgi?id=453044
Bug ID: 453044 Summary: gbserver_tests failures in aarch64 Product: valgrind Version: 3.19.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: jch...@redhat.com Target Milestone: --- Created attachment 148381 --> https://bugs.kde.org/attachment.cgi?id=148381&action=edit filter_gdb patch to handle "result = SYSCALL_CANCEL" pattern SUMMARY mcinfcallWSRU, nlcontrolc and nlvgdbsigqueue tests failed in aarch64 in rhel-8. The cause is the same in the three tests, an extra line in the output which is not expected. Using nlcontrolc diff output as example: ================================================= gdbserver_tests/nlcontrolc.stdoutB.diff ================================================= --- nlcontrolc.stdoutB.exp 2022-04-11 10:27:12.000000000 -0400 +++ nlcontrolc.stdoutB.out 2022-04-26 03:44:40.597663940 -0400 @@ -10,12 +10,14 @@ Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x........ in syscall ... +53 result = SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, tsp, * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ... $3 = 0 reset to sleeping parameters Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x........ in syscall ... +53 result = SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, tsp, * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ... > > > >4 Kill the program being debugged? (y or n) [answered Y; input not from terminal] >From glibc's git branch release/2.28/master, the responsible line can be found in sysdeps/unix/sysv/linux/select.c:53. Following the same approach as seen in commit 3eba47604df8, adding a new pattern to gdbserver_tests/filter_gdb.in should suffice. After rerunning with it, the tests are passing. I'm attaching a proposed patch. -- You are receiving this mail because: You are watching all bug changes.