这是indexloc提供的服务,不要输入任何密码
Skip to content

SIGTTOU causes rr to fail assertion !t->emulated_stop_pending #3970

@vtjnash

Description

@vtjnash
$ ~/rr/bin/rr ./julia -q
rr: Saving execution to trace directory `/home/vtjnash/.local/share/rr/julia-42'.
julia> run(ignorestatus(`bash -i -c ls`))
analyzegc     CITATION.cff  CONTRIBUTING.md  etc         julia-03e2a561a1  julia-tsan   Makefile   normalizetypes.jl  src          test.ll        usr
base          cli           deps             Hello       julia-8b2824314a  julia-win32  Make.inc   nothing.jl         stdlib       THIRDPARTY.md  usr-staging
build-x86     Compiler      dist-extras      HISTORY.md  julia-asan        julia-win64  Make.user  pkgimage.mk        sysimage.mk  typos.toml     VERSION
CITATION.bib  contrib       doc              julia       julia.spdx.json   LICENSE.md   NEWS.md    README.md          test         ui             zipyard
Process(`bash -i -c ls`, ProcessExited(0))

julia> [FATAL src/RecordSession.cc:834:task_continue()] 
 (task 3764226 (rec:3764226) at time 5866)
 -> Assertion `!t->emulated_stop_pending' failed to hold. 
Tail of trace dump:
{
  real_time:30568399.848184 global_time:5846, event:`SYSCALLBUF_RESET' tid:3764226, ticks:1411912920
}
{
  real_time:30568399.848228 global_time:5847, event:`SYSCALL: write' (state:EXITING_SYSCALL) tid:3764226, ticks:1411912920
rax:0x1 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7f573ad46c48 rdi:0xd rbp:0x7f5722e6b090 rsp:0x681ffdf0 r8:0x0 r9:0x7f57333824e0 r10:0x7f57454c3080 r11:0x246 r12:0x5608acfd0670 r13:0x5608ac6beb50 r14:0x7f57312f4790 r15:0x7f57454def30 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x1 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848388 global_time:5848, event:`SYSCALLBUF_FLUSH' tid:3764226, ticks:1411924018
  { syscall:'epoll_pwait', ret:0x0, size:0x10 }
  { syscall:'clock_gettime', ret:0x0, size:0x20 }
  { syscall:'clock_gettime', ret:0x0, size:0x20 }
}
{
  real_time:30568399.848399 global_time:5849, event:`SYSCALL: ioctl' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411924018
rax:0xffffffffffffffda rbx:0x7f5722e6af10 rcx:0xffffffffffffffff rdx:0x7f5722e6ae80 rsi:0x5413 rdi:0xd rbp:0x7f5722e6ae90 rsp:0x7f5722e6ae00 r8:0x1 r9:0x7f573a53a000 r10:0x7f57454c3080 r11:0x246 r12:0x0 r13:0x7f57312f4828 r14:0x7f57320001a0 r15:0x7f57340c0000 rip:0x7f5745cdf94f eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848407 global_time:5850, event:`SYSCALLBUF_RESET' tid:3764226, ticks:1411924018
}
{
  real_time:30568399.848456 global_time:5851, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:3764226, ticks:1411924018
rax:0x0 rbx:0x7f5722e6af10 rcx:0xffffffffffffffff rdx:0x7f5722e6ae80 rsi:0x5413 rdi:0xd rbp:0x7f5722e6ae90 rsp:0x7f5722e6ae00 r8:0x1 r9:0x7f573a53a000 r10:0x7f57454c3080 r11:0x246 r12:0x0 r13:0x7f57312f4828 r14:0x7f57320001a0 r15:0x7f57340c0000 rip:0x7f5745cdf94f eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
  { tid:3764226, addr:0x7f5722e6ae80, length:0x8 }
}
{
  real_time:30568399.848521 global_time:5852, event:`SYSCALL: ioctl' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411924534
rax:0xffffffffffffffda rbx:0x7f5722e6af10 rcx:0xffffffffffffffff rdx:0x7f5722e6ae80 rsi:0x5413 rdi:0xd rbp:0x7f5722e6ae90 rsp:0x7f5722e6ae00 r8:0x1 r9:0x7f573a53a000 r10:0x7f57454c3080 r11:0x246 r12:0x0 r13:0x7f57312f4828 r14:0x7f57320001a0 r15:0x7f57340c0000 rip:0x7f5745cdf94f eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848565 global_time:5853, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:3764226, ticks:1411924534
rax:0x0 rbx:0x7f5722e6af10 rcx:0xffffffffffffffff rdx:0x7f5722e6ae80 rsi:0x5413 rdi:0xd rbp:0x7f5722e6ae90 rsp:0x7f5722e6ae00 r8:0x1 r9:0x7f573a53a000 r10:0x7f57454c3080 r11:0x246 r12:0x0 r13:0x7f57312f4828 r14:0x7f57320001a0 r15:0x7f57340c0000 rip:0x7f5745cdf94f eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
  { tid:3764226, addr:0x7f5722e6ae80, length:0x8 }
}
{
  real_time:30568399.848664 global_time:5854, event:`SYSCALL: write' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411927203
rax:0xffffffffffffffda rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x2c rsi:0x7f571f17f498 rdi:0xd rbp:0x7f5722e6af30 rsp:0x681ffdf0 r8:0x0 r9:0x7f57333824e0 r10:0x7f57454c3080 r11:0x246 r12:0x5608acfd0670 r13:0x5608ac6beb50 r14:0x7f57312f4790 r15:0x7f57454def30 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x1 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848711 global_time:5855, event:`SYSCALL: write' (state:EXITING_SYSCALL) tid:3764226, ticks:1411927203
rax:0x2c rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x2c rsi:0x7f571f17f498 rdi:0xd rbp:0x7f5722e6af30 rsp:0x681ffdf0 r8:0x0 r9:0x7f57333824e0 r10:0x7f57454c3080 r11:0x246 r12:0x5608acfd0670 r13:0x5608ac6beb50 r14:0x7f57312f4790 r15:0x7f57454def30 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x1 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848824 global_time:5856, event:`SYSCALLBUF_FLUSH' tid:3764226, ticks:1411928752
  { syscall:'epoll_pwait', ret:0x0, size:0x10 }
  { syscall:'clock_gettime', ret:0x0, size:0x20 }
  { syscall:'clock_gettime', ret:0x0, size:0x20 }
}
{
  real_time:30568399.848834 global_time:5857, event:`SYSCALL: ioctl' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411928752
rax:0xffffffffffffffda rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b810 rsi:0x5401 rdi:0xa rbp:0x7f5722e6b8d0 rsp:0x681ffdd0 r8:0x5608ac6beb08 r9:0x7f57395a7010 r10:0x7f57454c3080 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848840 global_time:5858, event:`SYSCALLBUF_RESET' tid:3764226, ticks:1411928752
}
{
  real_time:30568399.848884 global_time:5859, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:3764226, ticks:1411928752
rax:0x0 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b810 rsi:0x5401 rdi:0xa rbp:0x7f5722e6b8d0 rsp:0x681ffdd0 r8:0x5608ac6beb08 r9:0x7f57395a7010 r10:0x7f57454c3080 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
  { tid:3764226, addr:0x7f5722e6b810, length:0x24 }
}
{
  real_time:30568399.848935 global_time:5860, event:`SYSCALL: ioctl' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411928776
rax:0xffffffffffffffda rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7d0 rsi:0x5401 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x7f57454c3080 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.848982 global_time:5861, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:3764226, ticks:1411928776
rax:0x0 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7d0 rsi:0x5401 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x7f57454c3080 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
  { tid:3764226, addr:0x7f5722e6b7d0, length:0x24 }
}
{
  real_time:30568399.849036 global_time:5862, event:`SYSCALL: ioctl' (state:ENTERING_SYSCALL) tid:3764226, ticks:1411928793
rax:0xffffffffffffffda rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7a0 rsi:0x5403 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x0 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.849081 global_time:5863, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:3764226, ticks:1411928793
rax:0xfffffffffffffe00 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7a0 rsi:0x5403 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x0 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
}
{
  real_time:30568399.849138 global_time:5864, event:`SIGNAL: SIGTTOU(async)' tid:3764226, ticks:1411928793
rax:0xfffffffffffffe00 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7a0 rsi:0x5403 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x0 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0 st0:0x0 st1:0x0 st2:0x0 st3:0x0 st4:0x0 st5:0x0 st6:0x0 st7:0x0 ymm0:0xa30000000bf0000000500004000 ymm1:0xa30000000bf ymm2:0xa30 ymm3:0x5 ymm4:0x16170f12001a131100010004157f1c03 ymm5:0x5608acb1d8e000005608acb1d8f0 ymm6:0x5608acb1d8e000005608acb1d8f0 ymm7:0x0 ymm8:0x6a8678e0c6558f31a585f270791a5e86 ymm9:0x7f571ec9651000007f571ec8a5b0 ymm10:0x7f571ec8af3000007f571ec8a1d0 ymm11:0x7f571ec8a6b000007f571ec8a690 ymm12:0x7f571ec89e1000007f571ec88070 ymm13:0x7f571ec8973000007f571ec89750 ymm14:0x7f571ec960f000007f571ec964d0 ymm15:0x7f571ec9613000007f571ec97590
}
{
  real_time:30568399.849197 global_time:5865, event:`SIGNAL_DELIVERY: SIGTTOU(async)' tid:3764226, ticks:1411928793
rax:0x10 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x7f5722e6b7a0 rsi:0x5403 rdi:0xa rbp:0x7f5722e6b840 rsp:0x681ffdd0 r8:0x7f5722e6b870 r9:0x1 r10:0x0 r11:0x246 r12:0x977f r13:0x7f57312f4828 r14:0x1 r15:0x7f57234b93e0 rip:0x70000000 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7f5745ba0c40 gs_base:0x0
  { tid:3764226, addr:0x681ffdd0, length:(nil) }
}
=== Start rr backtrace:
/home/vtjnash/rr/bin/rr(_ZN2rr13dump_rr_stackERNS_8ScopedFdE+0x5b)[0x55c2341d5a4b]
/home/vtjnash/rr/bin/rr(_ZN2rr15emergency_debugEPNS_4TaskE+0x152)[0x55c2340a9032]
/home/vtjnash/rr/bin/rr(+0xdfba2)[0x55c2340a9ba2]
/home/vtjnash/rr/bin/rr(+0xe01af)[0x55c2340aa1af]
/home/vtjnash/rr/bin/rr(_ZN2rr13RecordSession13task_continueERKNS0_9StepStateE+0x505)[0x55c2340d0725]
/home/vtjnash/rr/bin/rr(_ZN2rr13RecordSession11record_stepEv+0x3aa)[0x55c2340df28a]
/home/vtjnash/rr/bin/rr(_ZN2rr13RecordCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xda1)[0x55c2340d3271]
/home/vtjnash/rr/bin/rr(main+0x1a1)[0x55c23401f481]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f62581cbd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f62581cbe40]
/home/vtjnash/rr/bin/rr(_start+0x25)[0x55c234021f65]
=== End rr backtrace
Launch debugger with
  'gdb' '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:28674' '/home/vtjnash/julia/usr/bin/julia' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions