-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Description
ps now shows , I'm quite sure that this worked before.
this is running on 5.15.0-103.114.4.el9uek.aarch64, and the plain recording and replay does work, but not the no-syscallbuf test
bin/rr record bin/unexpected_exit_pid_ns
rr: Saving execution to trace directory `/home/opc/.local/share/rr/unexpected_exit_pid_ns-1'.
off-main-thread id = 181765
sending SIGKILL to 181764
Sleeping...
EXIT-SUCCESS
$ bin/rr replay
GNU gdb (GDB) Red Hat Enterprise Linux 10.2-10.0.2.el9
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/opc/.local/share/rr/unexpected_exit_pid_ns-1/mmap_clone_3_unexpected_exit_pid_ns...
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "jump"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:50696
Reading symbols from /lib/ld-linux-aarch64.so.1...
BFD: warning: system-supplied DSO at 0x6ffd0000 has a section extending past end of file
0x0000ffffb5d6ccc0 in _start () from /lib/ld-linux-aarch64.so.1
(rr) c
Continuing.
off-main-thread id = 181765
sending SIGKILL to 181764
Sleeping...
EXIT-SUCCESS
Program received signal SIGKILL, Killed.
0x0000000070000004 in syscall_traced ()
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.34-60.0.2.el9.aarch64
(rr) c
Continuing.
[Inferior 1 (process 181762) exited normally]
(rr) q
$ ctest -R 'unexpected_exit_pid_ns' -VV
test 788
Start 788: unexpected_exit_pid_ns
788: Test command: /usr/bin/bash "source_dir/src/test/basic_test.run" "unexpected_exit_pid_ns" "" "bin_dir" "120"
788: Test timeout computed to be: 10000000
788: Test 'unexpected_exit_pid_ns' PASSED
7/8 Test #788: unexpected_exit_pid_ns ....................... Passed 1.31 sec
test 789
Start 789: unexpected_exit_pid_ns-no-syscallbuf
789: Test command: /usr/bin/bash "source_dir/src/test/basic_test.run" "unexpected_exit_pid_ns" "-n" "bin_dir" "120"
789: Test timeout computed to be: 10000000Side question: the timeout is in milliseconds, no? 10000000 then would be a timeout of 166 seconds, but even after 10 minutes the output doesn't change.
Checking with ps shows:
rr --suppress-environment-warnings --fatal-errors --check-cached-mmaps --resource-path=/home/opc/rr/build record -n ./unexpected_exit_pid_ns-k7dbvysQc
-> ./unexpected_exit_pid_ns-k7dbvysQc
---> [unexpected_exit] <defunct>
so bin/rr is waiting forever because ./unexpected_exit_pid_ns-k7dbvysQc waits forever for a process which is defunc (so it exit code needs to be queried until it is "removed from the list", no?)
Metadata
Metadata
Assignees
Labels
No labels