Skip to content

Instantly share code, notes, and snippets.

@Gumix
Created August 24, 2017 15:59
Show Gist options
  • Save Gumix/8b25ebd95df1a6ffab3441a77477e7f6 to your computer and use it in GitHub Desktop.
Save Gumix/8b25ebd95df1a6ffab3441a77477e7f6 to your computer and use it in GitHub Desktop.
rr make test
13/2117 Testing: alarm-no-syscallbuf
13/2117 Test: alarm-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "alarm" "-n" "~/obj" "120"
Directory: ~/obj
"alarm-no-syscallbuf" start time: Aug 24 16:39 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 1590 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'alarm' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 1599 (rec:1599) at time 1350)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 300002 ticks, expected no more than 153165
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
NStgid: 1591
NSpid: 1591
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 531260 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26364 kB
VmRSS: 26356 kB
RssAnon: 18720 kB
RssFile: 7632 kB
RssShmem: 4 kB
VmData: 61868 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 156 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 123
nonvoluntary_ctxt_switches: 2080
====== /proc/1591/stack
[<ffffffff8100322c>] exit_to_usermode_loop+0x5c/0xb0
[<ffffffff81003b2f>] syscall_return_slowpath+0x8f/0xa0
[<ffffffff818777c0>] entry_SYSCALL_64_fastpath+0xa3/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/1599/status
Name: alarm-trtHdauWj
Umask: 0002
State: t (tracing stop)
Tgid: 1599
Ngid: 0
Pid: 1599
PPid: 1591
TracerPid: 1591
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 1599
NSpid: 1599
NSpgid: 1073
NSsid: 1026
VmPeak: 14908 kB
VmSize: 14848 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1052 kB
VmRSS: 1052 kB
RssAnon: 244 kB
RssFile: 804 kB
RssShmem: 4 kB
VmData: 2292 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2280 kB
VmPTE: 56 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180002000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 2155
nonvoluntary_ctxt_switches: 9
====== /proc/1599/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff8116020e>] __seccomp_filter+0x17e/0x250
[<ffffffff8116095b>] __secure_computing+0x3b/0xc0
[<ffffffff8100335a>] syscall_trace_enter+0xda/0x2c0
[<ffffffff81003c4a>] do_syscall_64+0x10a/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 1591 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 1591
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fad61bed43d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7fad63193740 (LWP 1591)):
#0 0x00007fad61bed43d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x168de90,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x168ead0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x168ead0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x168ead0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffc1043b610, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x168eaf8,
t=0x168ead0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x168ead0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x168ead0,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x168d7f8,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x168d690)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7ffc1043bda8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 1591
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:1599' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-alarm-trtHdauWj/alarm-trtHdauWj
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-alarm-trtHdauWj/alarm-trtHdauWj...done.
Remote debugging using 127.0.0.1:1599
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fe7f599b120 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
rax 0xffffffffffffffda -38
rbx 0x0 0
rcx 0x7fe7f599b120 140634234663200
rdx 0x1 1
rsi 0x400b0b 4197131
rdi 0x1 1
rbp 0x7ffca5f77ff0 0x7ffca5f77ff0
rsp 0x7ffca5f77f48 0x7ffca5f77f48
r8 0x0 0
r9 0x7fe7f61f3330 140634243412784
r10 0x7 7
r11 0x246 582
r12 0x4006d0 4196048
r13 0x7ffca5f780d0 140723092947152
r14 0x0 0
r15 0x0 0
rip 0x7fe7f599b120 0x7fe7f599b120 <__write_nocancel+7>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7fe7f63f6480 0x7fe7f63f6480
gs_base 0x0 0x0
Thread 1 (Thread 1599.1599):
#0 0x00007fe7f599b120 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:84
#1 0x00000000004009df in main () at ~/rr/src/test/alarm.c:28
Detaching from program: /tmp/rr-test-alarm-trtHdauWj/alarm-trtHdauWj, process 1599
--------------------------------------------------
record.out:
--------------------------------------------------
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................--------------------------------------------------
Test alarm failed, leaving behind /tmp/rr-test-alarm-trtHdauWj
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-alarm-trtHdauWj rr replay
<end of output>
Test time = 4.16 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"alarm-no-syscallbuf" end time: Aug 24 16:39 MSK
"alarm-no-syscallbuf" time elapsed: 00:00:04
----------------------------------------------------------
42/2117 Testing: chew_cpu
42/2117 Test: chew_cpu
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "chew_cpu" "-b" "~/obj" "120"
Directory: ~/obj
"chew_cpu" start time: Aug 24 16:40 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 2808 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'chew_cpu' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 2817 (rec:2817) at time 161)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 1057554 ticks, expected no more than 104865
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
NStgid: 2809
NSpid: 2809
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 532284 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26072 kB
VmRSS: 26064 kB
RssAnon: 18488 kB
RssFile: 7568 kB
RssShmem: 8 kB
VmData: 53616 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 2008
nonvoluntary_ctxt_switches: 222
====== /proc/2809/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/2817/status
Name: chew_cpu-uOl7o3
Umask: 0002
State: t (tracing stop)
Tgid: 2817
Ngid: 0
Pid: 2817
PPid: 2809
TracerPid: 2809
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 2817
NSpid: 2817
NSpgid: 1073
NSsid: 1026
VmPeak: 15876 kB
VmSize: 15876 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1056 kB
VmRSS: 1056 kB
RssAnon: 252 kB
RssFile: 800 kB
RssShmem: 4 kB
VmData: 2292 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 52 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 2129
nonvoluntary_ctxt_switches: 323
====== /proc/2817/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 2809 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 2809
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f9e30edf43d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f9e32485740 (LWP 2809)):
#0 0x00007f9e30edf43d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x138e450,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x138ccc0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x138ccc0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x138ccc0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffcab1b7b30, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x138cce8,
t=0x138ccc0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x138ccc0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x138ccc0,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x138b998,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x138b830)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7ffcab1b82c8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 2809
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:2817' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-chew_cpu-uOl7o39JX/chew_cpu-uOl7o39JX
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-chew_cpu-uOl7o39JX/chew_cpu-uOl7o39JX...done.
Remote debugging using 127.0.0.1:2817
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
spin () at ~/rr/src/test/chew_cpu.c:21
21 dummy += i % (79 * (1 << 20));
rax 0xfb558 1029464
rbx 0x0 0
rcx 0x3cfb557 63944023
rdx 0x0 0
rsi 0x7ffebe318830 140732089337904
rdi 0x1 1
rbp 0x7ffebe318d40 0x7ffebe318d40
rsp 0x7ffebe318d30 0x7ffebe318d30
r8 0x400852 4196434
r9 0xfffffff8 4294967288
r10 0x7 7
r11 0x1 1
r12 0x400500 4195584
r13 0x7ffebe318e30 140732089339440
r14 0x0 0
r15 0x0 0
rip 0x400752 0x400752 <spin+53>
eflags 0x292 [ AF SF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7f74489e6480 0x7f74489e6480
gs_base 0x0 0x0
Thread 1 (Thread 2817.2817):
#0 spin () at ~/rr/src/test/chew_cpu.c:21
#1 0x00000000004007a0 in main () at ~/rr/src/test/chew_cpu.c:30
Detaching from program: /tmp/rr-test-chew_cpu-uOl7o39JX/chew_cpu-uOl7o39JX, process 2817
--------------------------------------------------
record.out:
--------------------------------------------------
spinning
--------------------------------------------------
Test chew_cpu failed, leaving behind /tmp/rr-test-chew_cpu-uOl7o39JX
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-chew_cpu-uOl7o39JX rr replay
<end of output>
Test time = 3.92 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"chew_cpu" end time: Aug 24 16:40 MSK
"chew_cpu" time elapsed: 00:00:03
----------------------------------------------------------
43/2117 Testing: chew_cpu-no-syscallbuf
43/2117 Test: chew_cpu-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "chew_cpu" "-n" "~/obj" "120"
Directory: ~/obj
"chew_cpu-no-syscallbuf" start time: Aug 24 16:40 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 2864 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'chew_cpu' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 2873 (rec:2873) at time 152)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 91148 ticks, expected no more than 16466
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
NStgid: 2865
NSpid: 2865
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 531260 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26208 kB
VmRSS: 26200 kB
RssAnon: 18436 kB
RssFile: 7760 kB
RssShmem: 4 kB
VmData: 53612 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 4111
nonvoluntary_ctxt_switches: 312
====== /proc/2865/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/2873/status
Name: chew_cpu-srA0ud
Umask: 0002
State: t (tracing stop)
Tgid: 2873
Ngid: 0
Pid: 2873
PPid: 2865
TracerPid: 2865
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 2873
NSpid: 2873
NSpgid: 1073
NSsid: 1026
VmPeak: 14908 kB
VmSize: 14848 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1072 kB
VmRSS: 1072 kB
RssAnon: 244 kB
RssFile: 824 kB
RssShmem: 4 kB
VmData: 2292 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2280 kB
VmPTE: 52 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 4234
nonvoluntary_ctxt_switches: 669
====== /proc/2873/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 2865 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 2865
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fc652c8643d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7fc65422c740 (LWP 2865)):
#0 0x00007fc652c8643d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1e44630,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x1e42ae0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x1e42ae0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x1e42ae0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7fffe4477410, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1e42b08,
t=0x1e42ae0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x1e42ae0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x1e42ae0,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x1e417f8,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x1e41690)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7fffe4477ba8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 2865
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:2873' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-chew_cpu-srA0ud7qy/chew_cpu-srA0ud7qy
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-chew_cpu-srA0ud7qy/chew_cpu-srA0ud7qy...done.
Remote debugging using 127.0.0.1:2873
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
spin () at ~/rr/src/test/chew_cpu.c:21
21 dummy += i % (79 * (1 << 20));
rax 0x76399 484249
rbx 0x0 0
rcx 0x476398 4678552
rdx 0x0 0
rsi 0x7ffcd5edd190 140723897618832
rdi 0x1 1
rbp 0x7ffcd5edd6a0 0x7ffcd5edd6a0
rsp 0x7ffcd5edd690 0x7ffcd5edd690
r8 0x400852 4196434
r9 0xfffffff8 4294967288
r10 0x7 7
r11 0x246 582
r12 0x400500 4195584
r13 0x7ffcd5edd790 140723897620368
r14 0x0 0
r15 0x0 0
rip 0x400752 0x400752 <spin+53>
eflags 0x216 [ PF AF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7f4b6ec71480 0x7f4b6ec71480
gs_base 0x0 0x0
Thread 1 (Thread 2873.2873):
#0 spin () at ~/rr/src/test/chew_cpu.c:21
#1 0x00000000004007a0 in main () at ~/rr/src/test/chew_cpu.c:30
Detaching from program: /tmp/rr-test-chew_cpu-srA0ud7qy/chew_cpu-srA0ud7qy, process 2873
--------------------------------------------------
record.out:
--------------------------------------------------
spinning
--------------------------------------------------
Test chew_cpu failed, leaving behind /tmp/rr-test-chew_cpu-srA0ud7qy
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-chew_cpu-srA0ud7qy rr replay
<end of output>
Test time = 5.52 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"chew_cpu-no-syscallbuf" end time: Aug 24 16:40 MSK
"chew_cpu-no-syscallbuf" time elapsed: 00:00:05
----------------------------------------------------------
202/2117 Testing: keyctl
202/2117 Test: keyctl
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "keyctl" "-b" "~/obj" "120"
Directory: ~/obj
"keyctl" start time: Aug 24 16:42 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 11019 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'keyctl' FAILED: : error during recording:
--------------------------------------------------
keyctl-mNS76wfT2: ~/rr/src/test/keyctl.c:50: main: Assertion `"FAILED: !" && check_cond((*__errno_location ()) == 95)' failed.
--------------------------------------------------
record.out:
--------------------------------------------------
Wrote 36 bytes to magic fd
Wrote 10 bytes to magic fd
Wrote 54 bytes to magic fd
FAILED: errno=22 (Invalid argument)
--------------------------------------------------
Test keyctl failed, leaving behind /tmp/rr-test-keyctl-mNS76wfT2
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-keyctl-mNS76wfT2 rr replay
<end of output>
Test time = 0.25 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"keyctl" end time: Aug 24 16:42 MSK
"keyctl" time elapsed: 00:00:00
----------------------------------------------------------
203/2117 Testing: keyctl-no-syscallbuf
203/2117 Test: keyctl-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "keyctl" "-n" "~/obj" "120"
Directory: ~/obj
"keyctl-no-syscallbuf" start time: Aug 24 16:42 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 11064 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'keyctl' FAILED: : error during recording:
--------------------------------------------------
keyctl-EVi4uKJ24: ~/rr/src/test/keyctl.c:50: main: Assertion `"FAILED: !" && check_cond((*__errno_location ()) == 95)' failed.
--------------------------------------------------
record.out:
--------------------------------------------------
Wrote 36 bytes to magic fd
Wrote 10 bytes to magic fd
Wrote 54 bytes to magic fd
FAILED: errno=22 (Invalid argument)
--------------------------------------------------
Test keyctl failed, leaving behind /tmp/rr-test-keyctl-EVi4uKJ24
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-keyctl-EVi4uKJ24 rr replay
<end of output>
Test time = 0.24 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"keyctl-no-syscallbuf" end time: Aug 24 16:42 MSK
"keyctl-no-syscallbuf" time elapsed: 00:00:00
----------------------------------------------------------
568/2117 Testing: strict_priorities
568/2117 Test: strict_priorities
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "strict_priorities" "-b" "~/obj" "120"
Directory: ~/obj
"strict_priorities" start time: Aug 24 16:46 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 27545 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'strict_priorities' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 27554 (rec:27554) at time 205)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 1258160 ticks, expected no more than 269623
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 27546
NSpid: 27546
NSpgid: 1073
NSsid: 1026
VmPeak: 574352 kB
VmSize: 533308 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 25992 kB
VmRSS: 25976 kB
RssAnon: 18564 kB
RssFile: 7400 kB
RssShmem: 12 kB
VmData: 53624 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 767
nonvoluntary_ctxt_switches: 150
====== /proc/27546/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27554/status
Name: strict_prioriti
Umask: 0002
State: t (tracing stop)
Tgid: 27554
Ngid: 0
Pid: 27554
PPid: 27546
TracerPid: 27546
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 27554
NSpid: 27554
NSpgid: 1073
NSsid: 1026
VmPeak: 27276 kB
VmSize: 27276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1076 kB
VmRSS: 1076 kB
RssAnon: 256 kB
RssFile: 816 kB
RssShmem: 4 kB
VmData: 12664 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 64 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 855
nonvoluntary_ctxt_switches: 2
====== /proc/27554/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff8116020e>] __seccomp_filter+0x17e/0x250
[<ffffffff8116095b>] __secure_computing+0x3b/0xc0
[<ffffffff8100335a>] syscall_trace_enter+0xda/0x2c0
[<ffffffff81003c4a>] do_syscall_64+0x10a/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27560/status
Name: strict_prioriti
Umask: 0002
State: t (tracing stop)
Tgid: 27554
Ngid: 0
Pid: 27560
PPid: 27546
TracerPid: 27546
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 27554
NSpid: 27560
NSpgid: 1073
NSsid: 1026
VmPeak: 27276 kB
VmSize: 27276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1076 kB
VmRSS: 1076 kB
RssAnon: 256 kB
RssFile: 816 kB
RssShmem: 4 kB
VmData: 12664 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 64 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 37
nonvoluntary_ctxt_switches: 1
====== /proc/27560/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff810037a3>] tracehook_report_syscall_exit+0x83/0xc0
[<ffffffff81003830>] syscall_slow_exit_work+0x50/0xc0
[<ffffffff81003c22>] do_syscall_64+0xe2/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 27546 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 27546
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fddef15243d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7fddf06f8740 (LWP 27546)):
#0 0x00007fddef15243d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1222100,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x1222cd0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x1222cd0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x1222cd0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7fff6009ff40, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1222cf8,
t=0x1222cd0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x1222cd0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x1222cd0,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x12219e8,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x1221880)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7fff600a06d8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 27546
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:27554' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-strict_priorities-BRbf7AtLz/strict_priorities-BRbf7AtLz
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-strict_priorities-BRbf7AtLz/strict_priorities-BRbf7AtLz...done.
Remote debugging using 127.0.0.1:27554
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
getpid () at ../sysdeps/unix/syscall-template.S:66
66 ret_NOERRNO
rax 0xffffffffffffffda -38
rbx 0x0 0
rcx 0x7f6938f0a2a7 140089903588007
rdx 0x0 0
rsi 0x7f6938e33ff0 140089902710768
rdi 0x3d0f00 4001536
rbp 0x7ffeb0ad3b40 0x7ffeb0ad3b40
rsp 0x7ffeb0ad3b18 0x7ffeb0ad3b18
r8 0x0 0
r9 0x7f6938e34700 140089902712576
r10 0x7 7
r11 0x297 663
r12 0x4006d0 4196048
r13 0x7ffeb0ad3c20 140731862563872
r14 0x0 0
r15 0x0 0
rip 0x7f6938f0a2a7 0x7f6938f0a2a7 <getpid+7>
eflags 0x297 [ CF PF AF SF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7f6939c72480 0x7f6939c72480
gs_base 0x0 0x0
Thread 2 (Thread 27554.27560):
#0 0x0000000070000002 in ?? ()
#1 0x00007f6939834929 in _raw_syscall () at ~/rr/src/preload/raw_syscall.S:120
#2 0x00007f6939831aee in traced_raw_syscall (call=call@entry=0x7f6938633fa0) at ~/rr/src/preload/syscallbuf.c:203
#3 0x00007f6939832b38 in sys_xstat64 (call=<optimized out>) at ~/rr/src/preload/syscallbuf.c:2179
#4 syscall_hook_internal (call=0x7f6938633fa0) at ~/rr/src/preload/syscallbuf.c:2504
#5 syscall_hook (call=0x7f6938633fa0) at ~/rr/src/preload/syscallbuf.c:2538
#6 0x00007f69398319ea in _syscall_hook_trampoline () at ~/rr/src/preload/syscall_hook.S:271
#7 0x00007f6939831a1a in __morestack () at ~/rr/src/preload/syscall_hook.S:406
#8 0x00007f6939831a20 in _syscall_hook_trampoline_48_3d_01_f0_ff_ff () at ~/rr/src/preload/syscall_hook.S:412
#9 0x00007f6938f3b3fd in setpriority () at ../sysdeps/unix/syscall-template.S:84
#10 0x0000000000400947 in low_priority_func (unused=0x0) at ~/rr/src/test/strict_priorities.c:14
#11 0x00007f693920d36d in start_thread (arg=0x7f6938e34700) at pthread_create.c:456
#12 0x00007f6938f45b9f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 1 (Thread 27554.27554):
#0 getpid () at ../sysdeps/unix/syscall-template.S:66
#1 0x00000000004009b0 in main () at ~/rr/src/test/strict_priorities.c:30
Detaching from program: /tmp/rr-test-strict_priorities-BRbf7AtLz/strict_priorities-BRbf7AtLz, process 27554
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test strict_priorities failed, leaving behind /tmp/rr-test-strict_priorities-BRbf7AtLz
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-strict_priorities-BRbf7AtLz rr replay
<end of output>
Test time = 4.19 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"strict_priorities" end time: Aug 24 16:46 MSK
"strict_priorities" time elapsed: 00:00:04
----------------------------------------------------------
667/2117 Testing: block_clone_interrupted-no-syscallbuf
667/2117 Test: block_clone_interrupted-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/block_clone_interrupted.run" "block_clone_interrupted" "-n" "~/obj" "120"
Directory: ~/obj
"block_clone_interrupted-no-syscallbuf" start time: Aug 24 16:50 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 31736 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'block_clone_interrupted' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 31745 (rec:31745) at time 170)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 29455 ticks, expected no more than 568
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 31737
NSpid: 31737
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 531260 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26180 kB
VmRSS: 26172 kB
RssAnon: 18516 kB
RssFile: 7652 kB
RssShmem: 4 kB
VmData: 53616 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 148 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 148
nonvoluntary_ctxt_switches: 6079
====== /proc/31737/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/31745/status
Name: block_clone_int
Umask: 0002
State: t (tracing stop)
Tgid: 31745
Ngid: 0
Pid: 31745
PPid: 31737
TracerPid: 31737
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 31745
NSpid: 31745
NSpgid: 1073
NSsid: 1026
VmPeak: 14912 kB
VmSize: 14852 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 968 kB
VmRSS: 968 kB
RssAnon: 244 kB
RssFile: 716 kB
RssShmem: 8 kB
VmData: 2292 kB
VmStk: 0 kB
VmExe: 8 kB
VmLib: 2280 kB
VmPTE: 52 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 6198
nonvoluntary_ctxt_switches: 0
====== /proc/31745/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff8116020e>] __seccomp_filter+0x17e/0x250
[<ffffffff8116095b>] __secure_computing+0x3b/0xc0
[<ffffffff8100335a>] syscall_trace_enter+0xda/0x2c0
[<ffffffff81003c4a>] do_syscall_64+0x10a/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 31737 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 31737
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f6cc460943d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f6cc5baf740 (LWP 31737)):
#0 0x00007f6cc460943d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x286c160,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x286ab60, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x286ab60)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x286ab60)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffffe12ea60, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x286ab88,
t=0x286ab60) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x286ab60, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x286ab60,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x2869998,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x2869830)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=8, argv=0x7ffffe12f1f8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 31737
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:31745' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-block_clone_interrupted-85tCst3oC/block_clone_interrupted-85tCst3oC
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-block_clone_interrupted-85tCst3oC/block_clone_interrupted-85tCst3oC...done.
Remote debugging using 127.0.0.1:31745
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fceced72120 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
rax 0xffffffffffffffda -38
rbx 0x0 0
rcx 0x7fceced72120 140526210195744
rdx 0x20000 131072
rsi 0x7ffc322f2a90 140721150438032
rdi 0x4 4
rbp 0x7ffc32312aa0 0x7ffc32312aa0
rsp 0x7ffc322f2a88 0x7ffc322f2a88
r8 0x400c90 4197520
r9 0x7fcecf5ca330 140526218945328
r10 0x7 7
r11 0x246 582
r12 0x400750 4196176
r13 0x7ffc32312b80 140721150569344
r14 0x0 0
r15 0x0 0
rip 0x7fceced72120 0x7fceced72120 <__write_nocancel+7>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7fcecf7cd480 0x7fcecf7cd480
gs_base 0x0 0x0
Thread 1 (Thread 31745.31745):
#0 0x00007fceced72120 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000400a83 in main () at ~/rr/src/test/block_clone_interrupted.c:20
Detaching from program: /tmp/rr-test-block_clone_interrupted-85tCst3oC/block_clone_interrupted-85tCst3oC, process 31745
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test block_clone_interrupted failed, leaving behind /tmp/rr-test-block_clone_interrupted-85tCst3oC
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-block_clone_interrupted-85tCst3oC rr replay
<end of output>
Test time = 3.58 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"block_clone_interrupted-no-syscallbuf" end time: Aug 24 16:50 MSK
"block_clone_interrupted-no-syscallbuf" time elapsed: 00:00:03
----------------------------------------------------------
692/2117 Testing: check_lost_interrupts
692/2117 Test: check_lost_interrupts
Command: "/usr/bin/bash" "~/rr/src/test/check_lost_interrupts.run" "check_lost_interrupts" "-b" "~/obj" "120"
Directory: ~/obj
"check_lost_interrupts" start time: Aug 24 16:51 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 2266 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'check_lost_interrupts' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 2275 (rec:2275) at time 7643)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 601309 ticks, expected no more than 7866
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
NStgid: 2267
NSpid: 2267
NSpgid: 1073
NSsid: 1026
VmPeak: 576924 kB
VmSize: 532284 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 33012 kB
VmRSS: 33004 kB
RssAnon: 25304 kB
RssFile: 7676 kB
RssShmem: 24 kB
VmData: 89100 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 192 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 1/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 164
nonvoluntary_ctxt_switches: 28300
====== /proc/2267/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/2275/status
Name: check_lost_inte
Umask: 0002
State: t (tracing stop)
Tgid: 2275
Ngid: 0
Pid: 2275
PPid: 2267
TracerPid: 2267
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 2275
NSpid: 2275
NSpgid: 1073
NSsid: 1026
VmPeak: 15876 kB
VmSize: 15876 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1048 kB
VmRSS: 1048 kB
RssAnon: 260 kB
RssFile: 784 kB
RssShmem: 4 kB
VmData: 2292 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 52 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 1/15687
SigPnd: 0000000020000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 27276
nonvoluntary_ctxt_switches: 332
====== /proc/2275/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003c7a>] do_syscall_64+0x13a/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 2267 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 2267
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f894c8e443d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f894de8a740 (LWP 2267)):
#0 0x00007f894c8e443d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x14f4bf0,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x14edd50, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x14edd50)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x14edd50)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffc5e8888c0, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x14edd78,
t=0x14edd50) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x14edd50, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x14edd50,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x14ecb78,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x14eca10)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=8, argv=0x7ffc5e889058)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 2267
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:2275' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-check_lost_interrupts-Pz3MIYg4v/check_lost_interrupts-Pz3MIYg4v
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-check_lost_interrupts-Pz3MIYg4v/check_lost_interrupts-Pz3MIYg4v...done.
Remote debugging using 127.0.0.1:2275
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x0000000070000017 in ?? ()
rax 0x0 0
rbx 0x0 0
rcx 0x70000017 1879048215
rdx 0x0 0
rsi 0x2400 9216
rdi 0x64 100
rbp 0x0 0x0
rsp 0x681ffd50 0x681ffd50
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x246 582
r12 0x0 0
r13 0x681fffa0 1746927520
r14 0x7fdcd282cf1e 140586401320734
r15 0x0 0
rip 0x70000017 0x70000017
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7fdcd2929480 0x7fdcd2929480
gs_base 0x0 0x0
Thread 1 (Thread 2275.2275):
#0 0x0000000070000017 in ?? ()
#1 0x00007fdcd24eb929 in _raw_syscall () at ~/rr/src/preload/raw_syscall.S:120
#2 0x00007fdcd24e8ec5 in arm_desched_event () at ~/rr/src/preload/syscallbuf.c:713
#3 start_commit_buffered_syscall (syscallno=<optimized out>, record_end=<optimized out>, blockness=<optimized out>) at ~/rr/src/preload/syscallbuf.c:807
#4 0x00007fdcd24e93c1 in sys_open (call=call@entry=0x681fffa0) at ~/rr/src/preload/syscallbuf.c:1611
#5 0x00007fdcd24ea878 in syscall_hook_internal (call=0x681fffa0) at ~/rr/src/preload/syscallbuf.c:2455
#6 syscall_hook (call=0x681fffa0) at ~/rr/src/preload/syscallbuf.c:2538
#7 0x00007fdcd24e89ea in _syscall_hook_trampoline () at ~/rr/src/preload/syscall_hook.S:271
#8 0x00007fdcd24e8a1a in __morestack () at ~/rr/src/preload/syscall_hook.S:406
#9 0x00007fdcd24e8a20 in _syscall_hook_trampoline_48_3d_01_f0_ff_ff () at ~/rr/src/preload/syscall_hook.S:412
#10 0x00007fdcd1ece886 in __open_nocancel () at ../sysdeps/unix/syscall-template.S:84
#11 0x0000000000400818 in main () at ~/rr/src/test/check_lost_interrupts.c:19
Detaching from program: /tmp/rr-test-check_lost_interrupts-Pz3MIYg4v/check_lost_interrupts-Pz3MIYg4v, process 2275
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test check_lost_interrupts failed, leaving behind /tmp/rr-test-check_lost_interrupts-Pz3MIYg4v
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-check_lost_interrupts-Pz3MIYg4v rr replay
<end of output>
Test time = 9.89 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"check_lost_interrupts" end time: Aug 24 16:51 MSK
"check_lost_interrupts" time elapsed: 00:00:09
----------------------------------------------------------
804/2117 Testing: reverse_step_threads
804/2117 Test: reverse_step_threads
Command: "/usr/bin/bash" "~/rr/src/test/reverse_step_threads.run" "reverse_step_threads" "-b" "~/obj" "120"
Directory: ~/obj
"reverse_step_threads" start time: Aug 24 16:57 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 19036 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 19069 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'reverse_step_threads' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-reverse_step_threads-uF4HQGwKh/reverse_step_threads-uF4HQGwKh-0/mmap_hardlink_3_reverse_step_threads-uF4HQGwKh...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:19073
warning: unable to open /proc file '/proc/19045/task/19045/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f8bc7186dd0 in _start () from /lib64/ld-linux-x86-64.so.2
(rr) b breakpoint
b breakpoint
Breakpoint 1 at 0x4007b3: file ~/rr/src/test/reverse_step_threads.c, line 8.
(rr) c
c
Continuing.
spinning
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/19070/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 19070
Ngid: 0
Pid: 19070
PPid: 19069
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 19070
NSpid: 19070
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8412 kB
VmRSS: 8412 kB
RssAnon: 3632 kB
RssFile: 4780 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 132 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 37
nonvoluntary_ctxt_switches: 17
====== /proc/19070/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/19072/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 19072
Ngid: 0
Pid: 19072
PPid: 19070
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 19072
NSpid: 19072
NSpgid: 19072
NSsid: 19072
VmPeak: 328368 kB
VmSize: 295020 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41424 kB
VmRSS: 41424 kB
RssAnon: 22332 kB
RssFile: 18548 kB
RssShmem: 544 kB
VmData: 80860 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1007
nonvoluntary_ctxt_switches: 30
====== /proc/19072/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/19082/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 19072
Ngid: 0
Pid: 19082
PPid: 19070
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 19072
NSpid: 19082
NSpgid: 19072
NSsid: 19072
VmPeak: 328368 kB
VmSize: 295020 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41424 kB
VmRSS: 41424 kB
RssAnon: 22332 kB
RssFile: 18548 kB
RssShmem: 544 kB
VmData: 80860 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 26
nonvoluntary_ctxt_switches: 0
====== /proc/19082/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/19083/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 19072
Ngid: 0
Pid: 19083
PPid: 19070
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 19072
NSpid: 19083
NSpgid: 19072
NSsid: 19072
VmPeak: 328368 kB
VmSize: 295020 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41424 kB
VmRSS: 41424 kB
RssAnon: 22332 kB
RssFile: 18548 kB
RssShmem: 544 kB
VmData: 80860 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 26
nonvoluntary_ctxt_switches: 0
====== /proc/19083/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/19084/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 19072
Ngid: 0
Pid: 19084
PPid: 19070
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 19072
NSpid: 19084
NSpgid: 19072
NSsid: 19072
VmPeak: 328368 kB
VmSize: 295020 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41424 kB
VmRSS: 41424 kB
RssAnon: 22332 kB
RssFile: 18548 kB
RssShmem: 544 kB
VmData: 80860 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 22
nonvoluntary_ctxt_switches: 8
====== /proc/19084/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/19073/status
Name: rr
State: Z (zombie)
Tgid: 19073
Ngid: 0
Pid: 19073
PPid: 19072
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 19073
NSpid: 19073
NSpgid: 19072
NSsid: 19072
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 988
nonvoluntary_ctxt_switches: 323
====== /proc/19073/stack
(file couldn't be opened)
====== gdb -p 19073 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 19073
warning: process 19073 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 19073 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 19073
warning: process 19073 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test reverse_step_threads failed, leaving behind /tmp/rr-test-reverse_step_threads-uF4HQGwKh
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-reverse_step_threads-uF4HQGwKh rr replay
<end of output>
Test time = 122.92 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"reverse_step_threads" end time: Aug 24 16:59 MSK
"reverse_step_threads" time elapsed: 00:02:02
----------------------------------------------------------
828/2117 Testing: string_instructions_async_signals
828/2117 Test: string_instructions_async_signals
Command: "/usr/bin/bash" "~/rr/src/test/string_instructions_async_signals.run" "string_instructions_async_signals" "-b" "~/obj" "120"
Directory: ~/obj
"string_instructions_async_signals" start time: Aug 24 17:01 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 236: 21319 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT replay.err rr $GLOBAL_OPTIONS replay -a $replayflags > replay.out 2> replay.err
Test 'string_instructions_async_signals' FAILED: : error during replay:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 21321 (rec:21310) at time 8666)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 148725 ticks, expected no more than 993
warning: unable to open /proc file '/proc/21310/task/21310/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
: 42096 kB
VmSize: 42096 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8988 kB
VmRSS: 8988 kB
RssAnon: 2000 kB
RssFile: 6976 kB
RssShmem: 12 kB
VmData: 10280 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 88 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180002000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 7
nonvoluntary_ctxt_switches: 195114
====== /proc/21320/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/21321/status
Name: rr:string_instr
Umask: 0002
State: t (tracing stop)
Tgid: 21321
Ngid: 0
Pid: 21321
PPid: 21320
TracerPid: 21320
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 21321
NSpid: 21321
NSpgid: 21321
NSsid: 21321
VmPeak: 27276 kB
VmSize: 27276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1172 kB
VmRSS: 1172 kB
RssAnon: 308 kB
RssFile: 864 kB
RssShmem: 0 kB
VmData: 12664 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 64 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000010000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 190660
nonvoluntary_ctxt_switches: 2
====== /proc/21321/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff810033eb>] syscall_trace_enter+0x16b/0x2c0
[<ffffffff81003c4a>] do_syscall_64+0x10a/0x140
[<ffffffff818777e7>] entry_SYSCALL64_slow_path+0x25/0x25
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/21326/status
Name: rr:string_instr
Umask: 0002
State: t (tracing stop)
Tgid: 21321
Ngid: 0
Pid: 21326
PPid: 21320
TracerPid: 21320
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 21321
NSpid: 21326
NSpgid: 21321
NSsid: 21321
VmPeak: 27276 kB
VmSize: 27276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1172 kB
VmRSS: 1172 kB
RssAnon: 308 kB
RssFile: 864 kB
RssShmem: 0 kB
VmData: 12664 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2284 kB
VmPTE: 64 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000010000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 2859
nonvoluntary_ctxt_switches: 0
====== /proc/21326/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 21320 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 21320
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f5745a9c43d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f5747042740 (LWP 21320)):
#0 0x00007f5745a9c43d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x16088e0,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x16014e0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x16014e0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x16014e0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffc88b5ca10, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1601508,
t=0x16014e0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x16014e0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x16014e0,
interrupt_after_elapsed=0) at ~/rr/src/Task.cc:1371
#9 0x000000000078b248 in rr::Task::resume_execution (this=0x16014e0,
how=rr::RESUME_SYSEMU, wait_how=rr::RESUME_WAIT, tick_period=893, sig=0)
at ~/rr/src/Task.cc:1046
#10 0x000000000073a8cd in rr::ReplaySession::continue_or_step (this=0x1600b50,
t=0x16014e0, constraints=..., tick_request=893,
resume_how=rr::RESUME_SYSEMU) at ~/rr/src/ReplaySession.cc:554
#11 0x000000000073b41e in rr::ReplaySession::emulate_async_signal (
this=0x1600b50, t=0x16014e0, constraints=..., ticks=1500974)
at ~/rr/src/ReplaySession.cc:687
#12 0x000000000073dbe6 in rr::ReplaySession::try_one_trace_step (
this=0x1600b50, t=0x16014e0, constraints=...)
at ~/rr/src/ReplaySession.cc:1234
#13 0x000000000073edf6 in rr::ReplaySession::replay_step (this=0x1600b50,
constraints=...) at ~/rr/src/ReplaySession.cc:1472
#14 0x00000000007375ac in rr::ReplaySession::replay_step (this=0x1600b50,
command=rr::RUN_CONTINUE) at ~/rr/src/ReplaySession.h:262
#15 0x0000000000736469 in rr::serve_replay_no_debugger (trace_dir="",
flags=...) at ~/rr/src/ReplayCommand.cc:322
#16 0x000000000073686f in rr::replay (trace_dir="", flags=...)
at ~/rr/src/ReplayCommand.cc:403
#17 0x00000000007373b6 in rr::ReplayCommand::run (
this=0xb5fa70 <rr::ReplayCommand::singleton>,
args=std::vector of length 0, capacity 8)
at ~/rr/src/ReplayCommand.cc:554
#18 0x00000000007cf1ad in main (argc=6, argv=0x7ffc88b5dee8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 21320
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:21321' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-string_instructions_async_signals-gPtICXHjF/string_instructions_async_signals-gPtICXHjF-0/mmap_hardlink_3_string_instructions_async_signals-gPtICXHjF
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-string_instructions_async_signals-gPtICXHjF/string_instructions_async_signals-gPtICXHjF-0/mmap_hardlink_3_string_instructions_async_signals-gPtICXHjF...done.
Remote debugging using 127.0.0.1:21321
Reading symbols from ~/obj/bin/../lib/rr/librrpreload.so...done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fef78b3613d in write () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
rax 0xffffffffffffffda -38
rbx 0x7ffff 524287
rcx 0x7fef78b3613d 140666498933053
rdx 0xd 13
rsi 0x7ffd5f7bb450 140726205396048
rdi 0x1 1
rbp 0x7ffd5f7bb920 0x7ffd5f7bb920
rsp 0x7ffd5f7bb430 0x7ffd5f7bb430
r8 0x400ba2 4197282
r9 0xfffffff4 4294967284
r10 0x7 7
r11 0x293 659
r12 0x400770 4196208
r13 0x7ffd5f7bba60 140726205397600
r14 0x0 0
r15 0x0 0
rip 0x7fef78b3613d 0x7fef78b3613d <write+45>
eflags 0x293 [ CF AF SF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7fef79591480 0x7fef79591480
gs_base 0x0 0x0
Thread 2 (Thread 21310.21316):
#0 0x0000000070000002 in ?? ()
#1 0x00007fef79153929 in _raw_syscall () at ~/rr/src/preload/raw_syscall.S:120
#2 0x00007fef79150aee in traced_raw_syscall (call=call@entry=0x7fef77f52fa0) at ~/rr/src/preload/syscallbuf.c:203
#3 0x00007fef79151b38 in sys_xstat64 (call=<optimized out>) at ~/rr/src/preload/syscallbuf.c:2179
#4 syscall_hook_internal (call=0x7fef77f52fa0) at ~/rr/src/preload/syscallbuf.c:2504
#5 syscall_hook (call=0x7fef77f52fa0) at ~/rr/src/preload/syscallbuf.c:2538
#6 0x00007fef791509ea in _syscall_hook_trampoline () at ~/rr/src/preload/syscall_hook.S:271
#7 0x00007fef79150a1a in __morestack () at ~/rr/src/preload/syscall_hook.S:406
#8 0x00007fef79150a20 in _syscall_hook_trampoline_48_3d_01_f0_ff_ff () at ~/rr/src/preload/syscall_hook.S:412
#9 0x00007fef78847b3d in sched_yield () at ../sysdeps/unix/syscall-template.S:84
#10 0x0000000000400a06 in do_thread (p=0x0) at ~/rr/src/test/string_instructions_async_signals.c:29
#11 0x00007fef78b2c36d in start_thread (arg=0x7fef78753700) at pthread_create.c:456
#12 0x00007fef78864b9f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 1 (Thread 21310.21310):
#0 0x00007fef78b3613d in write () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000400940 in atomic_printf (fmt=0x400ba0 "%s\n") at ~/rr/src/test/util.h:142
#2 0x0000000000400964 in atomic_puts (str=0x400c24 "EXIT-SUCCESS") at ~/rr/src/test/util.h:151
#3 0x0000000000400aff in main () at ~/rr/src/test/string_instructions_async_signals.c:67
Detaching from program: /tmp/rr-test-string_instructions_async_signals-gPtICXHjF/string_instructions_async_signals-gPtICXHjF-0/mmap_hardlink_3_string_instructions_async_signals-gPtICXHjF, process 21310
--------------------------------------------------
replay.out:
--------------------------------------------------
--------------------------------------------------
Test string_instructions_async_signals failed, leaving behind /tmp/rr-test-string_instructions_async_signals-gPtICXHjF
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-string_instructions_async_signals-gPtICXHjF rr replay
<end of output>
Test time = 19.60 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"string_instructions_async_signals" end time: Aug 24 17:01 MSK
"string_instructions_async_signals" time elapsed: 00:00:19
----------------------------------------------------------
876/2117 Testing: watchpoint_at_sched
876/2117 Test: watchpoint_at_sched
Command: "/usr/bin/bash" "~/rr/src/test/watchpoint_at_sched.run" "watchpoint_at_sched" "-b" "~/obj" "120"
Directory: ~/obj
"watchpoint_at_sched" start time: Aug 24 17:04 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 3283 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 3317 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'watchpoint_at_sched' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-watchpoint_at_sched-2OpUVBWAU/watchpoint_at_sched-2OpUVBWAU-0/mmap_hardlink_3_watchpoint_at_sched-2OpUVBWAU...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:3321
warning: unable to open /proc file '/proc/3292/task/3292/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f493c3d9dd0 in _start () from /lib64/ld-linux-x86-64.so.2
(rr) handle SIGKILL stop
c
handle SIGKILL stop
Signal Stop Print Pass to program Description
SIGKILL Yes Yes Yes Killed
(rr) c
Continuing.
watch -l x
watch -l x
Remote connection closed
(rr) watch -l x
Hardware watchpoint 1: -location x
(rr) rc
rc
Target exec does not support this command.
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/3318/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 3318
Ngid: 0
Pid: 3318
PPid: 3317
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 3318
NSpid: 3318
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8492 kB
VmRSS: 8492 kB
RssAnon: 3632 kB
RssFile: 4860 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 120 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 36
nonvoluntary_ctxt_switches: 9
====== /proc/3318/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3320/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 3320
Ngid: 0
Pid: 3320
PPid: 3318
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 3320
NSpid: 3320
NSpgid: 3320
NSsid: 3320
VmPeak: 328360 kB
VmSize: 295012 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41524 kB
VmRSS: 41524 kB
RssAnon: 22312 kB
RssFile: 18664 kB
RssShmem: 548 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 284 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 996
nonvoluntary_ctxt_switches: 121
====== /proc/3320/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3330/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 3320
Ngid: 0
Pid: 3330
PPid: 3318
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 3320
NSpid: 3330
NSpgid: 3320
NSsid: 3320
VmPeak: 328360 kB
VmSize: 295012 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41524 kB
VmRSS: 41524 kB
RssAnon: 22312 kB
RssFile: 18664 kB
RssShmem: 548 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 284 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 33
nonvoluntary_ctxt_switches: 1
====== /proc/3330/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3331/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 3320
Ngid: 0
Pid: 3331
PPid: 3318
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 3320
NSpid: 3331
NSpgid: 3320
NSsid: 3320
VmPeak: 328360 kB
VmSize: 295012 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41524 kB
VmRSS: 41524 kB
RssAnon: 22312 kB
RssFile: 18664 kB
RssShmem: 548 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 284 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 28
nonvoluntary_ctxt_switches: 0
====== /proc/3331/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3332/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 3320
Ngid: 0
Pid: 3332
PPid: 3318
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 3320
NSpid: 3332
NSpgid: 3320
NSsid: 3320
VmPeak: 328360 kB
VmSize: 295012 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41524 kB
VmRSS: 41524 kB
RssAnon: 22312 kB
RssFile: 18664 kB
RssShmem: 548 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 284 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 31
nonvoluntary_ctxt_switches: 0
====== /proc/3332/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3321/status
Name: rr
State: Z (zombie)
Tgid: 3321
Ngid: 0
Pid: 3321
PPid: 3320
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 3321
NSpid: 3321
NSpgid: 3320
NSsid: 3320
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000002
Cpus_allowed_list: 1
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 997
nonvoluntary_ctxt_switches: 319
====== /proc/3321/stack
(file couldn't be opened)
====== gdb -p 3321 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 3321
warning: process 3321 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 3321 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 3321
warning: process 3321 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test watchpoint_at_sched failed, leaving behind /tmp/rr-test-watchpoint_at_sched-2OpUVBWAU
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-watchpoint_at_sched-2OpUVBWAU rr replay
<end of output>
Test time = 122.99 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"watchpoint_at_sched" end time: Aug 24 17:06 MSK
"watchpoint_at_sched" time elapsed: 00:02:02
----------------------------------------------------------
913/2117 Testing: break_time_slice-no-syscallbuf
913/2117 Test: break_time_slice-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/break_time_slice.run" "break_time_slice" "-n" "~/obj" "120"
Directory: ~/obj
"break_time_slice-no-syscallbuf" start time: Aug 24 17:07 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 5630 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 5661 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'break_time_slice' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-break_time_slice-UhznOoAKX/chew_cpu-UhznOoAKX-0/mmap_hardlink_3_chew_cpu-UhznOoAKX...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:5665
warning: unable to open /proc file '/proc/5639/task/5639/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fcfedf72dd0 in _start () from /lib64/ld-linux-x86-64.so.2
(rr) b breakpoint
b breakpoint
Breakpoint 1 at 0x400713: file ~/rr/src/test/chew_cpu.c, line 8.
(rr) c
c
Continuing.
spinning
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/5662/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 5662
Ngid: 0
Pid: 5662
PPid: 5661
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 5662
NSpid: 5662
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8412 kB
VmRSS: 8412 kB
RssAnon: 3636 kB
RssFile: 4776 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 132 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 33
nonvoluntary_ctxt_switches: 9
====== /proc/5662/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/5664/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 5664
Ngid: 0
Pid: 5664
PPid: 5662
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 5664
NSpid: 5664
NSpgid: 5664
NSsid: 5664
VmPeak: 328364 kB
VmSize: 295016 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41436 kB
VmRSS: 41436 kB
RssAnon: 22308 kB
RssFile: 18580 kB
RssShmem: 548 kB
VmData: 80852 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1002
nonvoluntary_ctxt_switches: 40
====== /proc/5664/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/5675/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 5664
Ngid: 0
Pid: 5675
PPid: 5662
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 5664
NSpid: 5675
NSpgid: 5664
NSsid: 5664
VmPeak: 328364 kB
VmSize: 295016 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41436 kB
VmRSS: 41436 kB
RssAnon: 22308 kB
RssFile: 18580 kB
RssShmem: 548 kB
VmData: 80852 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 29
nonvoluntary_ctxt_switches: 2
====== /proc/5675/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/5676/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 5664
Ngid: 0
Pid: 5676
PPid: 5662
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 5664
NSpid: 5676
NSpgid: 5664
NSsid: 5664
VmPeak: 328364 kB
VmSize: 295016 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41436 kB
VmRSS: 41436 kB
RssAnon: 22308 kB
RssFile: 18580 kB
RssShmem: 548 kB
VmData: 80852 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 30
nonvoluntary_ctxt_switches: 0
====== /proc/5676/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/5677/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 5664
Ngid: 0
Pid: 5677
PPid: 5662
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 5664
NSpid: 5677
NSpgid: 5664
NSsid: 5664
VmPeak: 328364 kB
VmSize: 295016 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41436 kB
VmRSS: 41436 kB
RssAnon: 22308 kB
RssFile: 18580 kB
RssShmem: 548 kB
VmData: 80852 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 30
nonvoluntary_ctxt_switches: 0
====== /proc/5677/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/5665/status
Name: rr
State: Z (zombie)
Tgid: 5665
Ngid: 0
Pid: 5665
PPid: 5664
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 5665
NSpid: 5665
NSpgid: 5664
NSsid: 5664
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1007
nonvoluntary_ctxt_switches: 281
====== /proc/5665/stack
(file couldn't be opened)
====== gdb -p 5665 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 5665
warning: process 5665 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 5665 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 5665
warning: process 5665 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test break_time_slice failed, leaving behind /tmp/rr-test-break_time_slice-UhznOoAKX
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-break_time_slice-UhznOoAKX rr replay
<end of output>
Test time = 123.39 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"break_time_slice-no-syscallbuf" end time: Aug 24 17:09 MSK
"break_time_slice-no-syscallbuf" time elapsed: 00:02:03
----------------------------------------------------------
931/2117 Testing: cont_signal-no-syscallbuf
931/2117 Test: cont_signal-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/cont_signal.run" "cont_signal" "-n" "~/obj" "120"
Directory: ~/obj
"cont_signal-no-syscallbuf" start time: Aug 24 17:13 MSK
Output:
----------------------------------------------------------
Successfully delivered signal 10 to 'async_usr1-0DRxG53C7'
~/rr/src/test/util.sh: line 210: 13442 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 13485 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'cont_signal' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-cont_signal-0DRxG53C7/async_usr1-0DRxG53C7-0/mmap_hardlink_3_async_usr1-0DRxG53C7...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:13490
warning: unable to open /proc file '/proc/13451/task/13451/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f1ad9d80dd0 in _start () from /lib64/ld-linux-x86-64.so.2
(rr) c
c
Continuing.
ready
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/13486/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 13486
Ngid: 0
Pid: 13486
PPid: 13485
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 13486
NSpid: 13486
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8552 kB
VmRSS: 8552 kB
RssAnon: 3640 kB
RssFile: 4912 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 124 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 31
nonvoluntary_ctxt_switches: 9
====== /proc/13486/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/13488/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 13488
Ngid: 0
Pid: 13488
PPid: 13486
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 13488
NSpid: 13488
NSpgid: 13488
NSsid: 13488
VmPeak: 328356 kB
VmSize: 295008 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41756 kB
VmRSS: 41756 kB
RssAnon: 22312 kB
RssFile: 18900 kB
RssShmem: 544 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1000
nonvoluntary_ctxt_switches: 17
====== /proc/13488/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/13499/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 13488
Ngid: 0
Pid: 13499
PPid: 13486
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 13488
NSpid: 13499
NSpgid: 13488
NSsid: 13488
VmPeak: 328356 kB
VmSize: 295008 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41756 kB
VmRSS: 41756 kB
RssAnon: 22312 kB
RssFile: 18900 kB
RssShmem: 544 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 29
nonvoluntary_ctxt_switches: 0
====== /proc/13499/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/13500/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 13488
Ngid: 0
Pid: 13500
PPid: 13486
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 13488
NSpid: 13500
NSpgid: 13488
NSsid: 13488
VmPeak: 328356 kB
VmSize: 295008 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41756 kB
VmRSS: 41756 kB
RssAnon: 22312 kB
RssFile: 18900 kB
RssShmem: 544 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 31
nonvoluntary_ctxt_switches: 0
====== /proc/13500/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/13501/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 13488
Ngid: 0
Pid: 13501
PPid: 13486
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 13488
NSpid: 13501
NSpgid: 13488
NSsid: 13488
VmPeak: 328356 kB
VmSize: 295008 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 41756 kB
VmRSS: 41756 kB
RssAnon: 22312 kB
RssFile: 18900 kB
RssShmem: 544 kB
VmData: 80848 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 14876 kB
VmPTE: 288 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 32
nonvoluntary_ctxt_switches: 0
====== /proc/13501/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/13490/status
Name: rr
State: Z (zombie)
Tgid: 13490
Ngid: 0
Pid: 13490
PPid: 13488
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 13490
NSpid: 13490
NSpgid: 13488
NSsid: 13488
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000002
Cpus_allowed_list: 1
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 998
nonvoluntary_ctxt_switches: 298
====== /proc/13490/stack
(file couldn't be opened)
====== gdb -p 13490 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 13490
warning: process 13490 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 13490 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 13490
warning: process 13490 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test cont_signal failed, leaving behind /tmp/rr-test-cont_signal-0DRxG53C7
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-cont_signal-0DRxG53C7 rr replay
<end of output>
Test time = 123.56 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"cont_signal-no-syscallbuf" end time: Aug 24 17:15 MSK
"cont_signal-no-syscallbuf" time elapsed: 00:02:03
----------------------------------------------------------
1100/2117 Testing: chew_cpu-32
1100/2117 Test: chew_cpu-32
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "chew_cpu_32" "-b" "~/obj"
Directory: ~/obj
"chew_cpu-32" start time: Aug 24 17:19 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 24088 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'chew_cpu_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 24097 (rec:24097) at time 152)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 758558 ticks, expected no more than 379776
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 24089
NSpid: 24089
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 532284 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26288 kB
VmRSS: 26280 kB
RssAnon: 18464 kB
RssFile: 7808 kB
RssShmem: 8 kB
VmData: 53616 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000002
Cpus_allowed_list: 1
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 4416
nonvoluntary_ctxt_switches: 274
====== /proc/24089/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/24097/status
Name: chew_cpu_32-kpU
Umask: 0002
State: t (tracing stop)
Tgid: 24097
Ngid: 0
Pid: 24097
PPid: 24089
TracerPid: 24089
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 24097
NSpid: 24097
NSpgid: 1073
NSsid: 1026
VmPeak: 5720 kB
VmSize: 5720 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1004 kB
VmRSS: 1004 kB
RssAnon: 220 kB
RssFile: 780 kB
RssShmem: 4 kB
VmData: 2272 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000002
Cpus_allowed_list: 1
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 4526
nonvoluntary_ctxt_switches: 756
====== /proc/24097/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 24089 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 24089
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f1bcdd3743d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f1bcf2dd740 (LWP 24089)):
#0 0x00007f1bcdd3743d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x18d60a0,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x18d6c90, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x18d6c90)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x18d6c90)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7fff504e1ed0, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x18d6cb8,
t=0x18d6c90) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x18d6c90, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x18d6c90,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x18d5a18,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x18d58b0)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7fff504e2668)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 24089
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:24097' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-chew_cpu_32-kpU3p5B0D/chew_cpu_32-kpU3p5B0D
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-chew_cpu_32-kpU3p5B0D/chew_cpu_32-kpU3p5B0D...done.
Remote debugging using 127.0.0.1:24097
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
spin () at ~/obj/32/chew_cpu.c:21
21 dummy += i % (79 * (1 << 20));
eax 0xcf719 849689
ecx 0x23cf718 37549848
edx 0x0 0
ebx 0x0 0
esp 0xffacca70 0xffacca70
ebp 0xffacca88 0xffacca88
esi 0xf76fc000 -143671296
edi 0x0 0
eip 0x80485b9 0x80485b9 <spin+57>
eflags 0x216 [ PF AF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 24097.24097):
#0 spin () at ~/obj/32/chew_cpu.c:21
#1 0x08048614 in main () at ~/obj/32/chew_cpu.c:30
Detaching from program: /tmp/rr-test-chew_cpu_32-kpU3p5B0D/chew_cpu_32-kpU3p5B0D, process 24097
--------------------------------------------------
record.out:
--------------------------------------------------
spinning
--------------------------------------------------
Test chew_cpu_32 failed, leaving behind /tmp/rr-test-chew_cpu_32-kpU3p5B0D
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-chew_cpu_32-kpU3p5B0D rr replay
<end of output>
Test time = 5.94 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"chew_cpu-32" end time: Aug 24 17:19 MSK
"chew_cpu-32" time elapsed: 00:00:05
----------------------------------------------------------
1101/2117 Testing: chew_cpu-32-no-syscallbuf
1101/2117 Test: chew_cpu-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "chew_cpu_32" "-n" "~/obj"
Directory: ~/obj
"chew_cpu-32-no-syscallbuf" start time: Aug 24 17:19 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 24144 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'chew_cpu_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 24153 (rec:24153) at time 144)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 157974692 ticks, expected no more than 430986
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 24145
NSpid: 24145
NSpgid: 1073
NSsid: 1026
VmPeak: 572304 kB
VmSize: 531260 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26144 kB
VmRSS: 26128 kB
RssAnon: 18452 kB
RssFile: 7672 kB
RssShmem: 4 kB
VmData: 53616 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 3252
nonvoluntary_ctxt_switches: 136
====== /proc/24145/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/24153/status
Name: chew_cpu_32-ju9
Umask: 0002
State: t (tracing stop)
Tgid: 24153
Ngid: 0
Pid: 24153
PPid: 24145
TracerPid: 24145
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 24153
NSpid: 24153
NSpgid: 1073
NSsid: 1026
VmPeak: 4756 kB
VmSize: 4696 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1048 kB
VmRSS: 1048 kB
RssAnon: 220 kB
RssFile: 824 kB
RssShmem: 4 kB
VmData: 2272 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 3364
nonvoluntary_ctxt_switches: 7
====== /proc/24153/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 24145 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 24145
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007fd3e7bfd43d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7fd3e91a3740 (LWP 24145)):
#0 0x00007fd3e7bfd43d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1fe0eb0,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x1fe1aa0, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x1fe1aa0)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x1fe1aa0)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffe03e43ba0, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1fe1ac8,
t=0x1fe1aa0) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x1fe1aa0, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x1fe1aa0,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x1fe0868,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x1fe0700)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7ffe03e44338)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 24145
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:24153' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-chew_cpu_32-ju9I2lG4X/chew_cpu_32-ju9I2lG4X
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-chew_cpu_32-ju9I2lG4X/chew_cpu_32-ju9I2lG4X...done.
Remote debugging using 127.0.0.1:24153
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
spin () at ~/obj/32/chew_cpu.c:21
21 dummy += i % (79 * (1 << 20));
eax 0x88343 557891
ecx 0x3388342 54035266
edx 0x0 0
ebx 0x0 0
esp 0xff91c2a0 0xff91c2a0
ebp 0xff91c2b8 0xff91c2b8
esi 0xf76b1000 -143978496
edi 0x0 0
eip 0x80485b9 0x80485b9 <spin+57>
eflags 0x282 [ SF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 24153.24153):
#0 spin () at ~/obj/32/chew_cpu.c:21
#1 0x08048614 in main () at ~/obj/32/chew_cpu.c:30
Detaching from program: /tmp/rr-test-chew_cpu_32-ju9I2lG4X/chew_cpu_32-ju9I2lG4X, process 24153
--------------------------------------------------
record.out:
--------------------------------------------------
spinning
--------------------------------------------------
Test chew_cpu_32 failed, leaving behind /tmp/rr-test-chew_cpu_32-ju9I2lG4X
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-chew_cpu_32-ju9I2lG4X rr replay
<end of output>
Test time = 5.25 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"chew_cpu-32-no-syscallbuf" end time: Aug 24 17:19 MSK
"chew_cpu-32-no-syscallbuf" time elapsed: 00:00:05
----------------------------------------------------------
1260/2117 Testing: keyctl-32
1260/2117 Test: keyctl-32
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "keyctl_32" "-b" "~/obj"
Directory: ~/obj
"keyctl-32" start time: Aug 24 17:22 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 32285 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'keyctl_32' FAILED: : error during recording:
--------------------------------------------------
keyctl_32-EgD5dcmi9: ~/obj/32/keyctl.c:50: main: Assertion `"FAILED: !" && check_cond((*__errno_location ()) == 95)' failed.
--------------------------------------------------
record.out:
--------------------------------------------------
Wrote 36 bytes to magic fd
Wrote 10 bytes to magic fd
Wrote 54 bytes to magic fd
FAILED: errno=22 (Invalid argument)
--------------------------------------------------
Test keyctl_32 failed, leaving behind /tmp/rr-test-keyctl_32-EgD5dcmi9
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-keyctl_32-EgD5dcmi9 rr replay
<end of output>
Test time = 0.26 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"keyctl-32" end time: Aug 24 17:22 MSK
"keyctl-32" time elapsed: 00:00:00
----------------------------------------------------------
1261/2117 Testing: keyctl-32-no-syscallbuf
1261/2117 Test: keyctl-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/basic_test.run" "keyctl_32" "-n" "~/obj"
Directory: ~/obj
"keyctl-32-no-syscallbuf" start time: Aug 24 17:22 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 32331 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'keyctl_32' FAILED: : error during recording:
--------------------------------------------------
keyctl_32-cwkqZEz3N: ~/obj/32/keyctl.c:50: main: Assertion `"FAILED: !" && check_cond((*__errno_location ()) == 95)' failed.
--------------------------------------------------
record.out:
--------------------------------------------------
Wrote 36 bytes to magic fd
Wrote 10 bytes to magic fd
Wrote 54 bytes to magic fd
FAILED: errno=22 (Invalid argument)
--------------------------------------------------
Test keyctl_32 failed, leaving behind /tmp/rr-test-keyctl_32-cwkqZEz3N
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-keyctl_32-cwkqZEz3N rr replay
<end of output>
Test time = 0.23 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"keyctl-32-no-syscallbuf" end time: Aug 24 17:22 MSK
"keyctl-32-no-syscallbuf" time elapsed: 00:00:00
----------------------------------------------------------
1724/2117 Testing: block_clone_interrupted-32
1724/2117 Test: block_clone_interrupted-32
Command: "/usr/bin/bash" "~/rr/src/test/block_clone_interrupted.run" "block_clone_interrupted_32" "-b" "~/obj"
Directory: ~/obj
"block_clone_interrupted-32" start time: Aug 24 17:29 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 20565 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'block_clone_interrupted_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 20574 (rec:20574) at time 1446)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 5868 ticks, expected no more than 583
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 20566
NSpid: 20566
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 532452 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 81560 kB
VmRSS: 26736 kB
RssAnon: 18024 kB
RssFile: 7808 kB
RssShmem: 904 kB
VmData: 160764 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 332 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 185
nonvoluntary_ctxt_switches: 19934
====== /proc/20566/stack
[<ffffffff8100322c>] exit_to_usermode_loop+0x5c/0xb0
[<ffffffff81003b2f>] syscall_return_slowpath+0x8f/0xa0
[<ffffffff818777c0>] entry_SYSCALL_64_fastpath+0xa3/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/20574/status
Name: block_clone_int
Umask: 0002
State: t (tracing stop)
Tgid: 20574
Ngid: 0
Pid: 20574
PPid: 20566
TracerPid: 20566
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 20574
NSpid: 20574
NSpgid: 1073
NSsid: 1026
VmPeak: 5784 kB
VmSize: 5784 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 2448 kB
VmRSS: 2448 kB
RssAnon: 340 kB
RssFile: 1200 kB
RssShmem: 908 kB
VmData: 2336 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 28 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 19750
nonvoluntary_ctxt_switches: 100
====== /proc/20574/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff8116020e>] __seccomp_filter+0x17e/0x250
[<ffffffff8116095b>] __secure_computing+0x3b/0xc0
[<ffffffff8100335a>] syscall_trace_enter+0xda/0x2c0
[<ffffffff81003d84>] do_int80_syscall_32+0x104/0x140
[<ffffffff81879153>] entry_INT80_compat+0x33/0x40
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 20566 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 20566
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f1fc6d2743d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f1fc82cd740 (LWP 20566)):
#0 0x00007f1fc6d2743d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0xcfb200,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0xcfbd70, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0xcfbd70)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0xcfbd70)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffd3d9d28c0, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0xcfbd98,
t=0xcfbd70) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0xcfbd70, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0xcfbd70,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0xcfab78,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0xcfaa10)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=8, argv=0x7ffd3d9d3058)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 20566
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:20574' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-block_clone_interrupted_32-eRJTOuXXR/block_clone_interrupted_32-eRJTOuXXR
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-block_clone_interrupted_32-eRJTOuXXR/block_clone_interrupted_32-eRJTOuXXR...done.
Remote debugging using 127.0.0.1:20574
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0x70000002 in ?? ()
eax 0xffffffda -38
ecx 0xffc12510 -4119280
edx 0x20000 131072
ebx 0x4 4
esp 0x681ffe90 0x681ffe90
ebp 0xffc32528 0xffc32528
esi 0xf769d000 -144060416
edi 0x0 0
eip 0x70000002 0x70000002
eflags 0x206 [ PF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 20574.20574):
#0 0x70000002 in ?? ()
#1 0xf76e1350 in _raw_syscall () at ~/obj/32/raw_syscall.S:34
#2 0xf76de825 in traced_raw_syscall (call=<optimized out>) at ~/obj/32/syscallbuf.c:203
#3 0xf76df75e in sys_xstat64 (call=<optimized out>) at ~/obj/32/syscallbuf.c:2179
#4 syscall_hook_internal (call=0x681fffd8) at ~/obj/32/syscallbuf.c:2504
#5 syscall_hook (call=<optimized out>) at ~/obj/32/syscallbuf.c:2538
#6 0xf76de79e in _syscall_hook_trampoline () at ~/obj/32/syscall_hook.S:117
#7 0xf76de779 in _switch_stack_vsyscall () at ~/obj/32/syscall_hook.S:67
#8 0xf76de735 in _syscallbuf_code_start () at ~/obj/32/syscall_hook.S:37
#9 0xf76b1cc3 in __read_nocancel () from /lib/libpthread.so.0
#10 0x080488fb in main () at ~/obj/32/block_clone_interrupted.c:28
Detaching from program: /tmp/rr-test-block_clone_interrupted_32-eRJTOuXXR/block_clone_interrupted_32-eRJTOuXXR, process 20574
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test block_clone_interrupted_32 failed, leaving behind /tmp/rr-test-block_clone_interrupted_32-eRJTOuXXR
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-block_clone_interrupted_32-eRJTOuXXR rr replay
<end of output>
Test time = 7.33 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"block_clone_interrupted-32" end time: Aug 24 17:29 MSK
"block_clone_interrupted-32" time elapsed: 00:00:07
----------------------------------------------------------
1725/2117 Testing: block_clone_interrupted-32-no-syscallbuf
1725/2117 Test: block_clone_interrupted-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/block_clone_interrupted.run" "block_clone_interrupted_32" "-n" "~/obj"
Directory: ~/obj
"block_clone_interrupted-32-no-syscallbuf" start time: Aug 24 17:29 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 20621 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'block_clone_interrupted_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 20630 (rec:20630) at time 106)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 10875 ticks, expected no more than 560
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 20622
NSpid: 20622
NSpgid: 1073
NSsid: 1026
VmPeak: 572304 kB
VmSize: 531260 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26144 kB
VmRSS: 26128 kB
RssAnon: 18500 kB
RssFile: 7624 kB
RssShmem: 4 kB
VmData: 53656 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 148 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 149
nonvoluntary_ctxt_switches: 474
====== /proc/20622/stack
[<ffffffff8100322c>] exit_to_usermode_loop+0x5c/0xb0
[<ffffffff81003b2f>] syscall_return_slowpath+0x8f/0xa0
[<ffffffff818777c0>] entry_SYSCALL_64_fastpath+0xa3/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/20630/status
Name: block_clone_int
Umask: 0002
State: t (tracing stop)
Tgid: 20630
Ngid: 0
Pid: 20630
PPid: 20622
TracerPid: 20622
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 20630
NSpid: 20630
NSpgid: 1073
NSsid: 1026
VmPeak: 4756 kB
VmSize: 4756 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 608 kB
VmRSS: 608 kB
RssAnon: 208 kB
RssFile: 396 kB
RssShmem: 4 kB
VmData: 2304 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 595
nonvoluntary_ctxt_switches: 2
====== /proc/20630/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff8116020e>] __seccomp_filter+0x17e/0x250
[<ffffffff8116095b>] __secure_computing+0x3b/0xc0
[<ffffffff8100335a>] syscall_trace_enter+0xda/0x2c0
[<ffffffff81003d84>] do_int80_syscall_32+0x104/0x140
[<ffffffff81879153>] entry_INT80_compat+0x33/0x40
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 20622 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 20622
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f53833fb43d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f53849a1740 (LWP 20622)):
#0 0x00007f53833fb43d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1ca0f90,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x1ca1b80, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x1ca1b80)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x1ca1b80)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffe280b4930, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1ca1ba8,
t=0x1ca1b80) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x1ca1b80, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x1ca1b80,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x1ca0998,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x1ca0830)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=8, argv=0x7ffe280b50c8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 20622
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:20630' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-block_clone_interrupted_32-mvAZLJvsT/block_clone_interrupted_32-mvAZLJvsT
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-block_clone_interrupted_32-mvAZLJvsT/block_clone_interrupted_32-mvAZLJvsT...done.
Remote debugging using 127.0.0.1:20630
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf77ab8e4 in mprotect () from /lib/ld-linux.so.2
eax 0xffffffda -38
ecx 0x2000 8192
edx 0x1 1
ebx 0xf771a000 -143548416
esp 0xffce2e78 0xffce2e78
ebp 0xffce2f38 0xffce2f38
esi 0x1000 4096
edi 0xf778bf28 -143081688
eip 0xf77ab8e4 0xf77ab8e4 <mprotect+20>
eflags 0x206 [ PF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 20630.20630):
#0 0xf77ab8e4 in mprotect () from /lib/ld-linux.so.2
#1 0xf779b937 in _dl_relocate_object () from /lib/ld-linux.so.2
#2 0xf77931ca in dl_main () from /lib/ld-linux.so.2
#3 0xf77a8e0e in _dl_sysdep_start () from /lib/ld-linux.so.2
#4 0xf77909f2 in _dl_start () from /lib/ld-linux.so.2
#5 0xf778fad7 in _start () from /lib/ld-linux.so.2
Detaching from program: /tmp/rr-test-block_clone_interrupted_32-mvAZLJvsT/block_clone_interrupted_32-mvAZLJvsT, process 20630
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test block_clone_interrupted_32 failed, leaving behind /tmp/rr-test-block_clone_interrupted_32-mvAZLJvsT
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-block_clone_interrupted_32-mvAZLJvsT rr replay
<end of output>
Test time = 2.55 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"block_clone_interrupted-32-no-syscallbuf" end time: Aug 24 17:29 MSK
"block_clone_interrupted-32-no-syscallbuf" time elapsed: 00:00:02
----------------------------------------------------------
1750/2117 Testing: check_lost_interrupts-32
1750/2117 Test: check_lost_interrupts-32
Command: "/usr/bin/bash" "~/rr/src/test/check_lost_interrupts.run" "check_lost_interrupts_32" "-b" "~/obj"
Directory: ~/obj
"check_lost_interrupts-32" start time: Aug 24 17:30 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 23524 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Test 'check_lost_interrupts_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 23533 (rec:23533) at time 1496)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 815791 ticks, expected no more than 10108
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
1000
NStgid: 23525
NSpid: 23525
NSpgid: 1073
NSsid: 1026
VmPeak: 621380 kB
VmSize: 532284 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26964 kB
VmRSS: 26956 kB
RssAnon: 19260 kB
RssFile: 7680 kB
RssShmem: 16 kB
VmData: 62792 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 156 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 160
nonvoluntary_ctxt_switches: 5244
====== /proc/23525/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/23533/status
Name: check_lost_inte
Umask: 0002
State: t (tracing stop)
Tgid: 23533
Ngid: 0
Pid: 23533
PPid: 23525
TracerPid: 23525
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 23533
NSpid: 23533
NSpgid: 1073
NSsid: 1026
VmPeak: 5720 kB
VmSize: 5720 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1008 kB
VmRSS: 1008 kB
RssAnon: 228 kB
RssFile: 776 kB
RssShmem: 4 kB
VmData: 2272 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 5358
nonvoluntary_ctxt_switches: 6
====== /proc/23533/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 23525 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 23525
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f93232f443d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f932489a740 (LWP 23525)):
#0 0x00007f93232f443d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1c9f150,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x1c9fd40, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x1c9fd40)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x1c9fd40)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffcc3d54a10, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x1c9fd68,
t=0x1c9fd40) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x1c9fd40, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x1c9fd40,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x1c9eb78,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x1c9ea10)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=8, argv=0x7ffcc3d551a8)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 23525
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:23533' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-check_lost_interrupts_32-V2oQuB5VR/check_lost_interrupts_32-V2oQuB5VR
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-check_lost_interrupts_32-V2oQuB5VR/check_lost_interrupts_32-V2oQuB5VR...done.
Remote debugging using 127.0.0.1:23533
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0x08048601 in do_some_ticks () at ~/obj/32/check_lost_interrupts.c:10
10 dummy += i % 99;
eax 0x2b5 693
ecx 0x41 65
edx 0x7 7
ebx 0x0 0
esp 0xfffb8818 0xfffb8818
ebp 0xfffb8828 0xfffb8828
esi 0xf76fc000 -143671296
edi 0x0 0
eip 0x8048601 0x8048601 <do_some_ticks+49>
eflags 0x206 [ PF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 23533.23533):
#0 0x08048601 in do_some_ticks () at ~/obj/32/check_lost_interrupts.c:10
#1 0x0804863f in main () at ~/obj/32/check_lost_interrupts.c:18
Detaching from program: /tmp/rr-test-check_lost_interrupts_32-V2oQuB5VR/check_lost_interrupts_32-V2oQuB5VR, process 23533
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test check_lost_interrupts_32 failed, leaving behind /tmp/rr-test-check_lost_interrupts_32-V2oQuB5VR
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-check_lost_interrupts_32-V2oQuB5VR rr replay
<end of output>
Test time = 3.87 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"check_lost_interrupts-32" end time: Aug 24 17:30 MSK
"check_lost_interrupts-32" time elapsed: 00:00:03
----------------------------------------------------------
1802/2117 Testing: ignored_async_usr1-32
1802/2117 Test: ignored_async_usr1-32
Command: "/usr/bin/bash" "~/rr/src/test/ignored_async_usr1.run" "ignored_async_usr1_32" "-b" "~/obj"
Directory: ~/obj
"ignored_async_usr1-32" start time: Aug 24 17:32 MSK
Output:
----------------------------------------------------------
Waiting for token 'disabled' from tracee ...
grep: record.out: No such file or directory
grep: record.out: No such file or directory
grep: record.out: No such file or directory
done. Delivering SIGUSR1 ...
~/rr/src/test/util.sh: line 210: 3509 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
Replaying ...
Test 'ignored_async_usr1_32' FAILED: : error during recording:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 3533 (rec:3533) at time 156)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 3673971 ticks, expected no more than 209283
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
NStgid: 3512
NSpid: 3512
NSpgid: 1073
NSsid: 1026
VmPeak: 573328 kB
VmSize: 532284 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 26328 kB
VmRSS: 26320 kB
RssAnon: 18504 kB
RssFile: 7808 kB
RssShmem: 8 kB
VmData: 53616 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 152 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180006000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 379
nonvoluntary_ctxt_switches: 148
====== /proc/3512/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/3533/status
Name: ignored_async_u
Umask: 0002
State: t (tracing stop)
Tgid: 3533
Ngid: 0
Pid: 3533
PPid: 3512
TracerPid: 3512
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 3533
NSpid: 3533
NSpgid: 1073
NSsid: 1026
VmPeak: 5720 kB
VmSize: 5720 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1000 kB
VmRSS: 1000 kB
RssAnon: 220 kB
RssFile: 776 kB
RssShmem: 4 kB
VmData: 2272 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 28 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000200
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 2
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 490
nonvoluntary_ctxt_switches: 4
====== /proc/3533/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 3512 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 3512
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f7e1c74743d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f7e1dced740 (LWP 3512)):
#0 0x00007f7e1c74743d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x23cd200,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x23cdd70, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x23cdd70)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x23cdd70)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffd61220500, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x23cdd98,
t=0x23cdd70) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x23cdd70, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x23cdd70,
interrupt_after_elapsed=3) at ~/rr/src/Task.cc:1371
#9 0x000000000076adc5 in rr::Scheduler::reschedule (this=0x23ccac8,
switchable=rr::PREVENT_SWITCH) at ~/rr/src/Scheduler.cc:379
#10 0x00000000006d3f54 in rr::RecordSession::record_step (this=0x23cc960)
at ~/rr/src/RecordSession.cc:1740
#11 0x00000000006ca8c2 in rr::record (
args=std::vector of length 1, capacity 8 = {...}, flags=...)
at ~/rr/src/RecordCommand.cc:362
#12 0x00000000006cb158 in rr::RecordCommand::run (
this=0xb5e9a0 <rr::RecordCommand::singleton>,
args=std::vector of length 1, capacity 8 = {...})
at ~/rr/src/RecordCommand.cc:474
#13 0x00000000007cf1ad in main (argc=7, argv=0x7ffd61220c98)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 3512
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:3533' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-ignored_async_usr1_32-Ir7C9cYmo/ignored_async_usr1_32-Ir7C9cYmo
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-ignored_async_usr1_32-Ir7C9cYmo/ignored_async_usr1_32-Ir7C9cYmo...done.
Remote debugging using 127.0.0.1:3533
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0x080485e3 in main () at ~/obj/32/ignored_async_usr1.c:17
17 dummy += (dummy + i) % 9735;
eax 0x297 663
ecx 0x297 663
edx 0x7c3e3673 2084451955
ebx 0x0 0
esp 0xffb2c030 0xffb2c030
ebp 0xffb2c048 0xffb2c048
esi 0xf769e000 -144056320
edi 0x0 0
eip 0x80485e3 0x80485e3 <main+67>
eflags 0x293 [ CF AF SF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 1 (Thread 3533.3533):
#0 0x080485e3 in main () at ~/obj/32/ignored_async_usr1.c:17
Detaching from program: /tmp/rr-test-ignored_async_usr1_32-Ir7C9cYmo/ignored_async_usr1_32-Ir7C9cYmo, process 3533
--------------------------------------------------
record.out:
--------------------------------------------------
SIGUSR1 disabled
--------------------------------------------------
Test ignored_async_usr1_32 failed, leaving behind /tmp/rr-test-ignored_async_usr1_32-Ir7C9cYmo
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-ignored_async_usr1_32-Ir7C9cYmo rr replay
<end of output>
Test time = 3.11 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"ignored_async_usr1-32" end time: Aug 24 17:32 MSK
"ignored_async_usr1-32" time elapsed: 00:00:03
----------------------------------------------------------
1886/2117 Testing: string_instructions_async_signals-32
1886/2117 Test: string_instructions_async_signals-32
Command: "/usr/bin/bash" "~/rr/src/test/string_instructions_async_signals.run" "string_instructions_async_signals_32" "-b" "~/obj"
Directory: ~/obj
"string_instructions_async_signals-32" start time: Aug 24 17:36 MSK
Output:
----------------------------------------------------------
<end of output>
Test time = 1000.01 sec
----------------------------------------------------------
Test Failed.
"string_instructions_async_signals-32" end time: Aug 24 17:53 MSK
"string_instructions_async_signals-32" time elapsed: 00:16:40
----------------------------------------------------------
1887/2117 Testing: string_instructions_async_signals-32-no-syscallbuf
1887/2117 Test: string_instructions_async_signals-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/string_instructions_async_signals.run" "string_instructions_async_signals_32" "-n" "~/obj"
Directory: ~/obj
"string_instructions_async_signals-32-no-syscallbuf" start time: Aug 24 17:53 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 236: 11094 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT replay.err rr $GLOBAL_OPTIONS replay -a $replayflags > replay.out 2> replay.err
Test 'string_instructions_async_signals_32' FAILED: : error during replay:
--------------------------------------------------
[FATAL ~/rr/src/PerfCounters.cc:767:read_ticks() errno: SUCCESS]
(task 11096 (rec:11089) at time 5640)
-> Assertion `!counting_period || measure_val <= adjusted_counting_period' failed to hold. Detected 674985 ticks, expected no more than 948
warning: unable to open /proc file '/proc/11089/task/11089/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
[FATAL ~/rr/src/log.cc:356:emergency_debug() errno: SUCCESS] Can't resume execution from invalid state
: 39864 kB
VmSize: 39864 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8772 kB
VmRSS: 8772 kB
RssAnon: 1792 kB
RssFile: 6976 kB
RssShmem: 4 kB
VmData: 10096 kB
VmStk: 132 kB
VmExe: 5492 kB
VmLib: 5604 kB
VmPTE: 80 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180002000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 5
nonvoluntary_ctxt_switches: 123751
====== /proc/11095/stack
[<ffffffff81796d4e>] inet_csk_accept+0x21e/0x350
[<ffffffff817c76af>] inet_accept+0x3f/0x150
[<ffffffff8171f8c9>] SYSC_accept4+0xf9/0x210
[<ffffffff81721fb0>] SyS_accept+0x10/0x20
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/11096/status
Name: rr:string_instr
Umask: 0002
State: t (tracing stop)
Tgid: 11096
Ngid: 0
Pid: 11096
PPid: 11095
TracerPid: 11095
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 11096
NSpid: 11096
NSpgid: 11096
NSsid: 11096
VmPeak: 15072 kB
VmSize: 15072 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1052 kB
VmRSS: 1052 kB
RssAnon: 252 kB
RssFile: 800 kB
RssShmem: 0 kB
VmData: 12644 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000010000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 120866
nonvoluntary_ctxt_switches: 0
====== /proc/11096/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b2a58>] ptrace_do_notify+0xa8/0xd0
[<ffffffff810b3e7b>] ptrace_notify+0x5b/0x80
[<ffffffff810033eb>] syscall_trace_enter+0x16b/0x2c0
[<ffffffff81003d84>] do_int80_syscall_32+0x104/0x140
[<ffffffff81879153>] entry_INT80_compat+0x33/0x40
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/11100/status
Name: rr:string_instr
Umask: 0002
State: t (tracing stop)
Tgid: 11096
Ngid: 0
Pid: 11100
PPid: 11095
TracerPid: 11095
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 1024
Groups: 10 1000
NStgid: 11096
NSpid: 11100
NSpgid: 11096
NSsid: 11096
VmPeak: 15072 kB
VmSize: 15072 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1052 kB
VmRSS: 1052 kB
RssAnon: 252 kB
RssFile: 800 kB
RssShmem: 0 kB
VmData: 12644 kB
VmStk: 0 kB
VmExe: 4 kB
VmLib: 2384 kB
VmPTE: 24 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 2
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000010000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 1
Seccomp: 0
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1832
nonvoluntary_ctxt_switches: 0
====== /proc/11100/stack
[<ffffffff810b286b>] ptrace_stop+0x15b/0x2a0
[<ffffffff810b41f4>] get_signal+0x354/0x5e0
[<ffffffff81025f57>] do_signal+0x37/0x680
[<ffffffff81003246>] exit_to_usermode_loop+0x76/0xb0
[<ffffffff81003a90>] prepare_exit_to_usermode+0x40/0x50
[<ffffffff818780f4>] retint_user+0x8/0x10
[<ffffffffffffffff>] 0xffffffffffffffff
====== gdb -p 11095 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 11095
Reading symbols from ~/obj/bin/rr...done.
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.25.so.debug...done.
done.
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.25.so.debug...done.
done.
Reading symbols from /lib64/libcapnp.so.0.6.1...Reading symbols from /lib64/libcapnp.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libkj.so.0.6.1...Reading symbols from /lib64/libkj.so.0.6.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /lib64/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.25.so.debug...done.
done.
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.25.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.25.so.debug...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.25.so.debug...done.
done.
0x00007f427a59943d in accept () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Thread 1 (Thread 0x7f427bb3f740 (LWP 11095)):
#0 0x00007f427a59943d in accept () at ../sysdeps/unix/syscall-template.S:84
#1 0x0000000000667c84 in rr::GdbConnection::await_debugger (this=0x1900910,
listen_fd=...) at ~/rr/src/GdbConnection.cc:68
#2 0x000000000067ff64 in rr::await_connection (t=0x18fa460, listen_fd=...,
features=...) at ~/rr/src/GdbServer.cc:1383
#3 0x000000000068109f in rr::GdbServer::emergency_debug (t=0x18fa460)
at ~/rr/src/GdbServer.cc:1583
#4 0x00000000006a1413 in rr::emergency_debug (t=0x18fa460)
at ~/rr/src/log.cc:355
#5 0x00000000006a1600 in rr::EmergencyDebugOstream::~EmergencyDebugOstream (
this=0x7ffc62ebe3c0, __in_chrg=<optimized out>)
at ~/rr/src/log.cc:377
#6 0x00000000006c328c in rr::PerfCounters::read_ticks (this=0x18fa488,
t=0x18fa460) at ~/rr/src/PerfCounters.cc:767
#7 0x000000000078d09f in rr::Task::did_waitpid (this=0x18fa460, status=...)
at ~/rr/src/Task.cc:1506
#8 0x000000000078c9c3 in rr::Task::wait (this=0x18fa460,
interrupt_after_elapsed=0) at ~/rr/src/Task.cc:1371
#9 0x000000000078b248 in rr::Task::resume_execution (this=0x18fa460,
how=rr::RESUME_SYSEMU, wait_how=rr::RESUME_WAIT, tick_period=848, sig=0)
at ~/rr/src/Task.cc:1046
#10 0x000000000073a8cd in rr::ReplaySession::continue_or_step (this=0x18f9b50,
t=0x18fa460, constraints=..., tick_request=848,
resume_how=rr::RESUME_SYSEMU) at ~/rr/src/ReplaySession.cc:554
#11 0x000000000073b41e in rr::ReplaySession::emulate_async_signal (
this=0x18f9b50, t=0x18fa460, constraints=..., ticks=985588)
at ~/rr/src/ReplaySession.cc:687
#12 0x000000000073dbe6 in rr::ReplaySession::try_one_trace_step (
this=0x18f9b50, t=0x18fa460, constraints=...)
at ~/rr/src/ReplaySession.cc:1234
#13 0x000000000073edf6 in rr::ReplaySession::replay_step (this=0x18f9b50,
constraints=...) at ~/rr/src/ReplaySession.cc:1472
#14 0x00000000007375ac in rr::ReplaySession::replay_step (this=0x18f9b50,
command=rr::RUN_CONTINUE) at ~/rr/src/ReplaySession.h:262
#15 0x0000000000736469 in rr::serve_replay_no_debugger (trace_dir="",
flags=...) at ~/rr/src/ReplayCommand.cc:322
#16 0x000000000073686f in rr::replay (trace_dir="", flags=...)
at ~/rr/src/ReplayCommand.cc:403
#17 0x00000000007373b6 in rr::ReplayCommand::run (
this=0xb5fa70 <rr::ReplayCommand::singleton>,
args=std::vector of length 0, capacity 8)
at ~/rr/src/ReplayCommand.cc:554
#18 0x00000000007cf1ad in main (argc=6, argv=0x7ffc62ebf898)
at ~/rr/src/main.cc:227
Detaching from program: ~/obj/bin/rr, process 11095
====== gdb '-l' '10000' '-ex' 'target extended-remote 127.0.0.1:11096' -ex 'set confirm off' -ex 'set height 0' -ex 'info registers' -ex 'thread apply all bt' -ex q /tmp/rr-test-string_instructions_async_signals_32-RNJzQoaQU/string_instructions_async_signals_32-RNJzQoaQU-0/mmap_hardlink_3_string_instructions_async_signals_32-RNJzQoaQU
</dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-string_instructions_async_signals_32-RNJzQoaQU/string_instructions_async_signals_32-RNJzQoaQU-0/mmap_hardlink_3_string_instructions_async_signals_32-RNJzQoaQU...done.
Remote debugging using 127.0.0.1:11096
Reading symbols from ~/obj/bin/../lib/rr/librrpreload_32.so...done.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf7745db2 in ?? ()
eax 0xffffffda -38
ecx 0xffac3a38 -5490120
edx 0xd 13
ebx 0x1 1
esp 0xffac3a10 0xffac3a10
ebp 0xffac3e48 0xffac3e48
esi 0xf76d4000 -143835136
edi 0x9e0500a 165695498
eip 0xf7745db2 0xf7745db2
eflags 0x293 [ CF AF SF IF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
Thread 2 (Thread 11089.11093):
#0 0xf7745db2 in ?? ()
#1 0xf75dba3c in sched_yield () from /lib/libc.so.6
#2 0x080487a5 in do_thread (p=0x0) at ~/obj/32/string_instructions_async_signals.c:29
#3 0xf76de2d9 in start_thread () from /lib/libpthread.so.0
#4 0xf75fc6b6 in clone () from /lib/libc.so.6
Thread 1 (Thread 11089.11089):
#0 0xf7745db2 in ?? ()
#1 0xf76e8c7f in write () from /lib/libpthread.so.0
#2 0x080486ff in atomic_printf (fmt=0x8048934 "%s\n") at ~/obj/32/util.h:142
#3 0x0804871a in atomic_puts (str=0x80489b0 "EXIT-SUCCESS") at ~/obj/32/util.h:151
#4 0x08048898 in main () at ~/obj/32/string_instructions_async_signals.c:67
Detaching from program: /tmp/rr-test-string_instructions_async_signals_32-RNJzQoaQU/string_instructions_async_signals_32-RNJzQoaQU-0/mmap_hardlink_3_string_instructions_async_signals_32-RNJzQoaQU, process 11089
--------------------------------------------------
replay.out:
--------------------------------------------------
--------------------------------------------------
Test string_instructions_async_signals_32 failed, leaving behind /tmp/rr-test-string_instructions_async_signals_32-RNJzQoaQU
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-string_instructions_async_signals_32-RNJzQoaQU rr replay
<end of output>
Test time = 13.87 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"string_instructions_async_signals-32-no-syscallbuf" end time: Aug 24 17:53 MSK
"string_instructions_async_signals-32-no-syscallbuf" time elapsed: 00:00:13
----------------------------------------------------------
1888/2117 Testing: string_instructions_async_signals_shared-32
1888/2117 Test: string_instructions_async_signals_shared-32
Command: "/usr/bin/bash" "~/rr/src/test/string_instructions_async_signals_shared.run" "string_instructions_async_signals_shared_32" "-b" "~/obj"
Directory: ~/obj
"string_instructions_async_signals_shared-32" start time: Aug 24 17:53 MSK
Output:
----------------------------------------------------------
<end of output>
Test time = 1000.01 sec
----------------------------------------------------------
Test Failed.
"string_instructions_async_signals_shared-32" end time: Aug 24 18:10 MSK
"string_instructions_async_signals_shared-32" time elapsed: 00:16:40
----------------------------------------------------------
1889/2117 Testing: string_instructions_async_signals_shared-32-no-syscallbuf
1889/2117 Test: string_instructions_async_signals_shared-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/string_instructions_async_signals_shared.run" "string_instructions_async_signals_shared_32" "-n" "~/obj"
Directory: ~/obj
"string_instructions_async_signals_shared-32-no-syscallbuf" start time: Aug 24 18:10 MSK
Output:
----------------------------------------------------------
Test 'string_instructions_async_signals_shared_32' PASSED
<end of output>
Test time = 19.21 sec
----------------------------------------------------------
Test Passed.
"string_instructions_async_signals_shared-32-no-syscallbuf" end time: Aug 24 18:10 MSK
"string_instructions_async_signals_shared-32-no-syscallbuf" time elapsed: 00:00:19
----------------------------------------------------------
1937/2117 Testing: watchpoint_before_signal-32-no-syscallbuf
1937/2117 Test: watchpoint_before_signal-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/watchpoint_before_signal.run" "watchpoint_before_signal_32" "-n" "~/obj"
Directory: ~/obj
"watchpoint_before_signal-32-no-syscallbuf" start time: Aug 24 18:12 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 25678 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 25709 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'watchpoint_before_signal_32' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-watchpoint_before_signal_32-b48uvTadV/watchpoint_before_signal_32-b48uvTadV-0/mmap_hardlink_3_watchpoint_before_signal_32-b48uvTadV...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:25713
warning: unable to open /proc file '/proc/25687/task/25687/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf76f1ad0 in _start () from /lib/ld-linux.so.2
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25-6.fc26.i686
(rr) watch -l x
watch -l x
Hardware watchpoint 1: -location x
c
(rr) c
Continuing.
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/25710/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 25710
Ngid: 0
Pid: 25710
PPid: 25709
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 25710
NSpid: 25710
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8412 kB
VmRSS: 8412 kB
RssAnon: 3632 kB
RssFile: 4780 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 132 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 30
nonvoluntary_ctxt_switches: 7
====== /proc/25710/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/25712/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 25712
Ngid: 0
Pid: 25712
PPid: 25710
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 25712
NSpid: 25712
NSpgid: 25712
NSsid: 25712
VmPeak: 365060 kB
VmSize: 330652 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 45316 kB
VmRSS: 42380 kB
RssAnon: 19044 kB
RssFile: 22784 kB
RssShmem: 552 kB
VmData: 77336 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 235
nonvoluntary_ctxt_switches: 96
====== /proc/25712/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/25722/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 25712
Ngid: 0
Pid: 25722
PPid: 25710
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 25712
NSpid: 25722
NSpgid: 25712
NSsid: 25712
VmPeak: 365060 kB
VmSize: 330652 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 45316 kB
VmRSS: 42380 kB
RssAnon: 19044 kB
RssFile: 22784 kB
RssShmem: 552 kB
VmData: 77336 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 34
nonvoluntary_ctxt_switches: 0
====== /proc/25722/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/25723/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 25712
Ngid: 0
Pid: 25723
PPid: 25710
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 25712
NSpid: 25723
NSpgid: 25712
NSsid: 25712
VmPeak: 365060 kB
VmSize: 330652 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 45316 kB
VmRSS: 42380 kB
RssAnon: 19044 kB
RssFile: 22784 kB
RssShmem: 552 kB
VmData: 77336 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 33
nonvoluntary_ctxt_switches: 0
====== /proc/25723/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/25724/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 25712
Ngid: 0
Pid: 25724
PPid: 25710
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 25712
NSpid: 25724
NSpgid: 25712
NSsid: 25712
VmPeak: 365060 kB
VmSize: 330652 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 45316 kB
VmRSS: 42380 kB
RssAnon: 19044 kB
RssFile: 22784 kB
RssShmem: 552 kB
VmData: 77336 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 30
nonvoluntary_ctxt_switches: 0
====== /proc/25724/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/25713/status
Name: rr
State: Z (zombie)
Tgid: 25713
Ngid: 0
Pid: 25713
PPid: 25712
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 25713
NSpid: 25713
NSpgid: 25712
NSsid: 25712
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000004
Cpus_allowed_list: 2
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 219
nonvoluntary_ctxt_switches: 238
====== /proc/25713/stack
(file couldn't be opened)
====== gdb -p 25713 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 25713
warning: process 25713 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 25713 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 25713
warning: process 25713 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test watchpoint_before_signal_32 failed, leaving behind /tmp/rr-test-watchpoint_before_signal_32-b48uvTadV
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-watchpoint_before_signal_32-b48uvTadV rr replay
<end of output>
Test time = 122.67 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"watchpoint_before_signal-32-no-syscallbuf" end time: Aug 24 18:14 MSK
"watchpoint_before_signal-32-no-syscallbuf" time elapsed: 00:02:02
----------------------------------------------------------
1970/2117 Testing: break_time_slice-32
1970/2117 Test: break_time_slice-32
Command: "/usr/bin/bash" "~/rr/src/test/break_time_slice.run" "break_time_slice_32" "-b" "~/obj"
Directory: ~/obj
"break_time_slice-32" start time: Aug 24 18:15 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 27813 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 27846 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'break_time_slice_32' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-break_time_slice_32-dJfUf6sYR/chew_cpu_32-dJfUf6sYR-0/mmap_hardlink_3_chew_cpu_32-dJfUf6sYR...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:27850
warning: unable to open /proc file '/proc/27822/task/27822/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf774ead0 in _start () from /lib/ld-linux.so.2
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25-6.fc26.i686
(rr) b breakpoint
b breakpoint
Breakpoint 1 at 0x8048576: file ~/obj/32/chew_cpu.c, line 8.
c
(rr) c
Continuing.
spinning
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/27847/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 27847
Ngid: 0
Pid: 27847
PPid: 27846
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27847
NSpid: 27847
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8424 kB
VmRSS: 8424 kB
RssAnon: 3632 kB
RssFile: 4792 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 128 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 37
nonvoluntary_ctxt_switches: 9
====== /proc/27847/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27849/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27849
Ngid: 0
Pid: 27849
PPid: 27847
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27849
NSpid: 27849
NSpgid: 27849
NSsid: 27849
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49532 kB
VmRSS: 46556 kB
RssAnon: 22476 kB
RssFile: 23528 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 658
nonvoluntary_ctxt_switches: 39
====== /proc/27849/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27859/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27849
Ngid: 0
Pid: 27859
PPid: 27847
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27849
NSpid: 27859
NSpgid: 27849
NSsid: 27849
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49532 kB
VmRSS: 46556 kB
RssAnon: 22476 kB
RssFile: 23528 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 35
nonvoluntary_ctxt_switches: 0
====== /proc/27859/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27860/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27849
Ngid: 0
Pid: 27860
PPid: 27847
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27849
NSpid: 27860
NSpgid: 27849
NSsid: 27849
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49532 kB
VmRSS: 46556 kB
RssAnon: 22476 kB
RssFile: 23528 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 26
nonvoluntary_ctxt_switches: 0
====== /proc/27860/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27861/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27849
Ngid: 0
Pid: 27861
PPid: 27847
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27849
NSpid: 27861
NSpgid: 27849
NSsid: 27849
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49532 kB
VmRSS: 46556 kB
RssAnon: 22476 kB
RssFile: 23528 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 34
nonvoluntary_ctxt_switches: 0
====== /proc/27861/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27850/status
Name: rr
State: Z (zombie)
Tgid: 27850
Ngid: 0
Pid: 27850
PPid: 27849
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 27850
NSpid: 27850
NSpgid: 27849
NSsid: 27849
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000002
Cpus_allowed_list: 1
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 669
nonvoluntary_ctxt_switches: 287
====== /proc/27850/stack
(file couldn't be opened)
====== gdb -p 27850 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 27850
warning: process 27850 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 27850 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 27850
warning: process 27850 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test break_time_slice_32 failed, leaving behind /tmp/rr-test-break_time_slice_32-dJfUf6sYR
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-break_time_slice_32-dJfUf6sYR rr replay
<end of output>
Test time = 124.79 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"break_time_slice-32" end time: Aug 24 18:18 MSK
"break_time_slice-32" time elapsed: 00:02:04
----------------------------------------------------------
1971/2117 Testing: break_time_slice-32-no-syscallbuf
1971/2117 Test: break_time_slice-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/break_time_slice.run" "break_time_slice_32" "-n" "~/obj"
Directory: ~/obj
"break_time_slice-32-no-syscallbuf" start time: Aug 24 18:18 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 27901 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 27933 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'break_time_slice_32' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-break_time_slice_32-TeHijQhOp/chew_cpu_32-TeHijQhOp-0/mmap_hardlink_3_chew_cpu_32-TeHijQhOp...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:27938
warning: unable to open /proc file '/proc/27911/task/27911/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf7728ad0 in _start () from /lib/ld-linux.so.2
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25-6.fc26.i686
(rr) b breakpoint
b breakpoint
Breakpoint 1 at 0x8048576: file ~/obj/32/chew_cpu.c, line 8.
(rr) c
c
Continuing.
spinning
Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/27934/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 27934
Ngid: 0
Pid: 27934
PPid: 27933
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27934
NSpid: 27934
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8524 kB
VmRSS: 8524 kB
RssAnon: 3632 kB
RssFile: 4892 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 128 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 30
nonvoluntary_ctxt_switches: 20
====== /proc/27934/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27936/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27936
Ngid: 0
Pid: 27936
PPid: 27934
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27936
NSpid: 27936
NSpgid: 27936
NSsid: 27936
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49100 kB
VmRSS: 46120 kB
RssAnon: 22476 kB
RssFile: 23092 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 661
nonvoluntary_ctxt_switches: 8
====== /proc/27936/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27947/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27936
Ngid: 0
Pid: 27947
PPid: 27934
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27936
NSpid: 27947
NSpgid: 27936
NSsid: 27936
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49100 kB
VmRSS: 46120 kB
RssAnon: 22476 kB
RssFile: 23092 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 28
nonvoluntary_ctxt_switches: 0
====== /proc/27947/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27948/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27936
Ngid: 0
Pid: 27948
PPid: 27934
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27936
NSpid: 27948
NSpgid: 27936
NSsid: 27936
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49100 kB
VmRSS: 46120 kB
RssAnon: 22476 kB
RssFile: 23092 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 34
nonvoluntary_ctxt_switches: 0
====== /proc/27948/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27949/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 27936
Ngid: 0
Pid: 27949
PPid: 27934
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 27936
NSpid: 27949
NSpgid: 27936
NSsid: 27936
VmPeak: 367648 kB
VmSize: 334300 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49100 kB
VmRSS: 46120 kB
RssAnon: 22476 kB
RssFile: 23092 kB
RssShmem: 552 kB
VmData: 80764 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 368 kB
VmPMD: 16 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 37
nonvoluntary_ctxt_switches: 0
====== /proc/27949/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/27938/status
Name: rr
State: Z (zombie)
Tgid: 27938
Ngid: 0
Pid: 27938
PPid: 27936
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 27938
NSpid: 27938
NSpgid: 27936
NSsid: 27936
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 640
nonvoluntary_ctxt_switches: 298
====== /proc/27938/stack
(file couldn't be opened)
====== gdb -p 27938 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 27938
warning: process 27938 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 27938 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 27938
warning: process 27938 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test break_time_slice_32 failed, leaving behind /tmp/rr-test-break_time_slice_32-TeHijQhOp
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-break_time_slice_32-TeHijQhOp rr replay
<end of output>
Test time = 126.24 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"break_time_slice-32-no-syscallbuf" end time: Aug 24 18:20 MSK
"break_time_slice-32-no-syscallbuf" time elapsed: 00:02:06
----------------------------------------------------------
2045/2117 Testing: reverse_alarm-32-no-syscallbuf
2045/2117 Test: reverse_alarm-32-no-syscallbuf
Command: "/usr/bin/bash" "~/rr/src/test/reverse_alarm.run" "reverse_alarm_32" "-n" "~/obj"
Directory: ~/obj
"reverse_alarm-32-no-syscallbuf" start time: Aug 24 18:24 MSK
Output:
----------------------------------------------------------
~/rr/src/test/util.sh: line 210: 4940 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT record.err rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS "$exe" $exeargs > record.out 2> record.err
~/rr/src/test/util.sh: line 249: 4970 Aborted (core dumped) _RR_TRACE_DIR="$workdir" test-monitor $TIMEOUT debug.err python2 $TESTDIR/$expectscript.py rr $GLOBAL_OPTIONS replay -o-n -x $TESTDIR/test_setup.gdb $replayargs
Test 'reverse_alarm_32' FAILED: debug script failed
--------------------------------------------------
gdb_rr.log:
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /tmp/rr-test-reverse_alarm_32-Cxmc8Cyce/alarm_32-Cxmc8Cyce-0/mmap_hardlink_3_alarm_32-Cxmc8Cyce...done.
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal]
Remote debugging using 127.0.0.1:4975
warning: unable to open /proc file '/proc/4949/task/4949/maps'
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
0xf7777ad0 in _start () from /lib/ld-linux.so.2
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25-6.fc26.i686
(rr) break main
break main
Breakpoint 1 at 0x804871b: file ~/obj/32/alarm.c, line 19.
(rr) break breakpoint
break breakpoint
Breakpoint 2 at 0x80486f6: file ~/obj/32/alarm.c, line 5.
(rr) c
c
Continuing.
Breakpoint 1, main () at ~/obj/32/alarm.c:19
c
19 sigemptyset(&sact.sa_mask);
(rr) c
Continuing.
......................Remote connection closed
(rr) --------------------------------------------------
debug.err:
timeout 120 exceeded
====== /proc/4972/status
Name: python2
Umask: 0002
State: S (sleeping)
Tgid: 4972
Ngid: 0
Pid: 4972
PPid: 4970
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 4972
NSpid: 4972
NSpgid: 1073
NSsid: 1026
VmPeak: 162840 kB
VmSize: 162780 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 8532 kB
VmRSS: 8532 kB
RssAnon: 3640 kB
RssFile: 4892 kB
RssShmem: 0 kB
VmData: 3792 kB
VmStk: 132 kB
VmExe: 4 kB
VmLib: 5568 kB
VmPTE: 128 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 84
nonvoluntary_ctxt_switches: 16
====== /proc/4972/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127b924>] do_select+0x574/0x7e0
[<ffffffff8127c697>] core_sys_select+0x1d7/0x320
[<ffffffff8127c897>] SyS_select+0xb7/0x110
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/4974/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 4974
Ngid: 0
Pid: 4974
PPid: 4972
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 4974
NSpid: 4974
NSpgid: 4974
NSsid: 4974
VmPeak: 367676 kB
VmSize: 334328 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49260 kB
VmRSS: 46276 kB
RssAnon: 22508 kB
RssFile: 23220 kB
RssShmem: 548 kB
VmData: 80796 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 364 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 689
nonvoluntary_ctxt_switches: 125
====== /proc/4974/stack
[<ffffffff8127ae75>] poll_schedule_timeout+0x45/0x70
[<ffffffff8127c210>] do_sys_poll+0x3d0/0x590
[<ffffffff8127cb50>] SyS_poll+0x30/0x130
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/4984/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 4974
Ngid: 0
Pid: 4984
PPid: 4972
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 4974
NSpid: 4984
NSpgid: 4974
NSsid: 4974
VmPeak: 367676 kB
VmSize: 334328 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49260 kB
VmRSS: 46276 kB
RssAnon: 22508 kB
RssFile: 23220 kB
RssShmem: 548 kB
VmData: 80796 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 364 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 22
nonvoluntary_ctxt_switches: 1
====== /proc/4984/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/4985/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 4974
Ngid: 0
Pid: 4985
PPid: 4972
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 4974
NSpid: 4985
NSpgid: 4974
NSsid: 4974
VmPeak: 367676 kB
VmSize: 334328 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49260 kB
VmRSS: 46276 kB
RssAnon: 22508 kB
RssFile: 23220 kB
RssShmem: 548 kB
VmData: 80796 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 364 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 34
nonvoluntary_ctxt_switches: 0
====== /proc/4985/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/4986/status
Name: gdb
Umask: 0002
State: S (sleeping)
Tgid: 4974
Ngid: 0
Pid: 4986
PPid: 4972
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 10 1000
NStgid: 4974
NSpid: 4986
NSpgid: 4974
NSsid: 4974
VmPeak: 367676 kB
VmSize: 334328 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 49260 kB
VmRSS: 46276 kB
RssAnon: 22508 kB
RssFile: 23220 kB
RssShmem: 548 kB
VmData: 80796 kB
VmStk: 132 kB
VmExe: 8044 kB
VmLib: 20720 kB
VmPTE: 364 kB
VmPMD: 12 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Threads: 4
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe5f7bfeff
SigIgn: 0000000001001000
SigCgt: 00000001a8834087
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: ffffffff
Cpus_allowed_list: 0-31
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 21
nonvoluntary_ctxt_switches: 6
====== /proc/4986/stack
[<ffffffff81128ff0>] futex_wait_queue_me+0xc0/0x120
[<ffffffff8112a0ee>] futex_wait+0x10e/0x250
[<ffffffff8112bf91>] do_futex+0x511/0xac0
[<ffffffff8112c67b>] SyS_futex+0x13b/0x180
[<ffffffff81877737>] entry_SYSCALL_64_fastpath+0x1a/0xa5
[<ffffffffffffffff>] 0xffffffffffffffff
====== /proc/4975/status
Name: rr
State: Z (zombie)
Tgid: 4975
Ngid: 0
Pid: 4975
PPid: 4974
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 0
Groups: 10 1000
NStgid: 4975
NSpid: 4975
NSpgid: 4974
NSsid: 4974
Threads: 1
SigQ: 0/15687
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180002002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Cpus_allowed: 00000008
Cpus_allowed_list: 3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 686
nonvoluntary_ctxt_switches: 343
====== /proc/4975/stack
(file couldn't be opened)
====== gdb -p 4975 -ex 'set confirm off' -ex 'set height 0' -ex 'thread apply all bt' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 4975
warning: process 4975 is a zombie - the process has already terminated
ptrace: Operation not permitted.
====== gdb -p 4975 -ex 'set confirm off' -ex 'set height 0' -ex 'p rr::force_close_record_session()' -ex q </dev/null 2>&1
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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".
Attaching to process 4975
warning: process 4975 is a zombie - the process has already terminated
ptrace: Operation not permitted.
No symbol table is loaded. Use the "file" command.
--------------------------------------------------
Test reverse_alarm_32 failed, leaving behind /tmp/rr-test-reverse_alarm_32-Cxmc8Cyce
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-reverse_alarm_32-Cxmc8Cyce rr replay
<end of output>
Test time = 122.63 sec
----------------------------------------------------------
Test Fail Reason:
Error regular expression found in output. Regex=[FAILED]
"reverse_alarm-32-no-syscallbuf" end time: Aug 24 18:26 MSK
"reverse_alarm-32-no-syscallbuf" time elapsed: 00:02:02
----------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment