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

RR crash #3975

@CGQAQ

Description

@CGQAQ

Kernel:

Linux cg-Legion-R9000P-ARX8 6.8.0-60-generic #63~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 22 19:00:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Distro:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
commands & stacktrace

(rr) reverse-finish 
Run back to call of #0  0x00007d00bab0da88 in absl::cleanup_internal::Storage<logging::LogMessage::Flush()::$_0>::InvokeCallback() (this=0x7ffc4c4bdcb8) at ../../third_party/abseil-cpp/absl/cleanup/internal/cleanup.h:86
[FATAL src/ReplaySession.cc:1265:check_ticks_consistency()] 
 (task 9084 (rec:8943) at time 9649)
 -> Assertion `ticks_now == trace_ticks' failed to hold. ticks mismatch for 'SYSCALL: clock_gettime'; expected 31271592, got 31271593
Tail of trace dump:
{
  real_time:748.462344 global_time:9629, event:`SYSCALL: clock_gettime' (state:ENTERING_SYSCALL) tid:8943, ticks:30529651
rax:0xffffffffffffffda rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bf008 rdi:0x1 rbp:0x7ffc4c4bf020 rsp:0x7ffc4c4befd8 r8:0x7d00bae3b844 r9:0x7ffc4c4bef70 r10:0x7d00b9606858 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462361 global_time:9630, event:`SYSCALL: clock_gettime' (state:EXITING_SYSCALL) tid:8943, ticks:30529651
rax:0x0 rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bf008 rdi:0x1 rbp:0x7ffc4c4bf020 rsp:0x7ffc4c4befd8 r8:0x7d00bae3b844 r9:0x7ffc4c4bef70 r10:0x7d00b9606858 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bf008, length:0x10 }
}
{
  real_time:748.462387 global_time:9631, event:`SYSCALL: openat' (state:ENTERING_SYSCALL) tid:8943, ticks:30530465
rax:0xffffffffffffffda rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x80000 rsi:0x7ffc4c4bf588 rdi:0xffffff9c rbp:0x7ffc4c4bf588 rsp:0x7ffc4c4bf1f0 r8:0x8 r9:0x1 r10:0x0 r11:0x246 r12:0x80000 r13:0x7ffc4c4bf360 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b971453b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x101 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462421 global_time:9632, event:`SYSCALL: openat' (state:EXITING_SYSCALL) tid:8943, ticks:30530465
rax:0xf8 rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x80000 rsi:0x7ffc4c4bf588 rdi:0xffffff9c rbp:0x7ffc4c4bf588 rsp:0x7ffc4c4bf1f0 r8:0x8 r9:0x1 r10:0x0 r11:0x246 r12:0x80000 r13:0x7ffc4c4bf360 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b971453b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x101 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462444 global_time:9633, event:`SYSCALL: fstatat' (state:ENTERING_SYSCALL) tid:8943, ticks:30530970
rax:0xffffffffffffffda rbx:0x7d00b9817600 rcx:0xffffffffffffffff rdx:0x7ffc4c4bef90 rsi:0x7d00b97d844f rdi:0xf8 rbp:0x3d6000090000 rsp:0x7ffc4c4bef88 r8:0x8 r9:0x1 r10:0x1000 r11:0x246 r12:0x0 r13:0x0 r14:0x0 r15:0x1 rip:0x7d00b9713d3e eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x106 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462460 global_time:9634, event:`SYSCALL: fstatat' (state:EXITING_SYSCALL) tid:8943, ticks:30530970
rax:0x0 rbx:0x7d00b9817600 rcx:0xffffffffffffffff rdx:0x7ffc4c4bef90 rsi:0x7d00b97d844f rdi:0xf8 rbp:0x3d6000090000 rsp:0x7ffc4c4bef88 r8:0x8 r9:0x1 r10:0x1000 r11:0x246 r12:0x0 r13:0x0 r14:0x0 r15:0x1 rip:0x7d00b9713d3e eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x106 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bef90, length:0x90 }
}
{
  real_time:748.462478 global_time:9635, event:`SYSCALL: lseek' (state:ENTERING_SYSCALL) tid:8943, ticks:30531077
rax:0xffffffffffffffda rbx:0xd68 rcx:0xffffffffffffffff rdx:0x0 rsi:0x0 rdi:0xf8 rbp:0x3d6000090000 rsp:0x7ffc4c4bf068 r8:0x7ffc4c4bede0 r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x0 r13:0x0 r14:0x7d00b9816a00 r15:0x1 rip:0x7d00b971491b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x8 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462494 global_time:9636, event:`SYSCALL: lseek' (state:EXITING_SYSCALL) tid:8943, ticks:30531077
rax:0x0 rbx:0xd68 rcx:0xffffffffffffffff rdx:0x0 rsi:0x0 rdi:0xf8 rbp:0x3d6000090000 rsp:0x7ffc4c4bf068 r8:0x7ffc4c4bede0 r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x0 r13:0x0 r14:0x7d00b9816a00 r15:0x1 rip:0x7d00b971491b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x8 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462513 global_time:9637, event:`SYSCALL: clock_gettime' (state:ENTERING_SYSCALL) tid:8943, ticks:30531121
rax:0xffffffffffffffda rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bef78 rdi:0x1 rbp:0x7ffc4c4bef90 rsp:0x7ffc4c4bef48 r8:0x7d00bae0aa1a r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462528 global_time:9638, event:`SYSCALL: clock_gettime' (state:EXITING_SYSCALL) tid:8943, ticks:30531121
rax:0x0 rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bef78 rdi:0x1 rbp:0x7ffc4c4bef90 rsp:0x7ffc4c4bef48 r8:0x7d00bae0aa1a r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bef78, length:0x10 }
}
{
  real_time:748.462547 global_time:9639, event:`SYSCALL: clock_gettime' (state:ENTERING_SYSCALL) tid:8943, ticks:30531181
rax:0xffffffffffffffda rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bee78 rdi:0x1 rbp:0x7ffc4c4bee90 rsp:0x7ffc4c4bee48 r8:0x7d00bae0aa1a r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462564 global_time:9640, event:`SYSCALL: clock_gettime' (state:EXITING_SYSCALL) tid:8943, ticks:30531181
rax:0x0 rbx:0x0 rcx:0xffffffffffffffff rdx:0x1 rsi:0x7ffc4c4bee78 rdi:0x1 rbp:0x7ffc4c4bee90 rsp:0x7ffc4c4bee48 r8:0x7d00bae0aa1a r9:0x7ffc4c4bedd0 r10:0x1000 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bee78, length:0x10 }
}
{
  real_time:748.462584 global_time:9641, event:`SYSCALL: fstat' (state:ENTERING_SYSCALL) tid:8943, ticks:30531572
rax:0xffffffffffffffda rbx:0x0 rcx:0xffffffffffffffff rdx:0x7ffc4c4bf240 rsi:0x7ffc4c4bf240 rdi:0xf8 rbp:0x7ffc4c4bf190 rsp:0x7ffc4c4bf108 r8:0x1 r9:0x7ffc4c4bedd0 r10:0x7d00b96068d0 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b97264e9 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x5 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462600 global_time:9642, event:`SYSCALL: fstat' (state:EXITING_SYSCALL) tid:8943, ticks:30531572
rax:0x0 rbx:0x0 rcx:0xffffffffffffffff rdx:0x7ffc4c4bf240 rsi:0x7ffc4c4bf240 rdi:0xf8 rbp:0x7ffc4c4bf190 rsp:0x7ffc4c4bf108 r8:0x1 r9:0x7ffc4c4bedd0 r10:0x7d00b96068d0 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b97264e9 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x5 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bf240, length:0x90 }
}
{
  real_time:748.462629 global_time:9643, event:`SYSCALL: read' (state:ENTERING_SYSCALL) tid:8943, ticks:30536037
rax:0xffffffffffffffda rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x1000 rsi:0x3d6000086800 rdi:0xf8 rbp:0x7d00b9817600 rsp:0x7ffc4c4bf0f8 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b9614148 r11:0x246 r12:0x1000 r13:0x3d6000086800 r14:0xd68 r15:0x7d00b9816a00 rip:0x7d00b97147e2 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x0 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462651 global_time:9644, event:`SYSCALL: read' (state:EXITING_SYSCALL) tid:8943, ticks:30536037
rax:0x4d rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x1000 rsi:0x3d6000086800 rdi:0xf8 rbp:0x7d00b9817600 rsp:0x7ffc4c4bf0f8 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b9614148 r11:0x246 r12:0x1000 r13:0x3d6000086800 r14:0xd68 r15:0x7d00b9816a00 rip:0x7d00b97147e2 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x0 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x3d6000086800, length:0x4d }
}
{
  real_time:748.462670 global_time:9645, event:`SYSCALL: read' (state:ENTERING_SYSCALL) tid:8943, ticks:30536050
rax:0xffffffffffffffda rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0xc00 rsi:0x3d600008684d rdi:0xf8 rbp:0x7d00b9817600 rsp:0x7ffc4c4bf0f8 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b9614148 r11:0x246 r12:0xfb3 r13:0x3d600008684d r14:0xd68 r15:0x7d00b9816a00 rip:0x7d00b97147e2 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x0 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462688 global_time:9646, event:`SYSCALL: read' (state:EXITING_SYSCALL) tid:8943, ticks:30536050
rax:0x0 rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0xc00 rsi:0x3d600008684d rdi:0xf8 rbp:0x7d00b9817600 rsp:0x7ffc4c4bf0f8 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b9614148 r11:0x246 r12:0xfb3 r13:0x3d600008684d r14:0xd68 r15:0x7d00b9816a00 rip:0x7d00b97147e2 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x0 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x3d600008684d, length:(nil) }
}
{
  real_time:748.462712 global_time:9647, event:`SYSCALL: close' (state:ENTERING_SYSCALL) tid:8943, ticks:30536778
rax:0xffffffffffffffda rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x7d00b9816a00 rsi:0xfbad2418 rdi:0xf8 rbp:0x0 rsp:0x7ffc4c4bf358 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b960a980 r11:0x246 r12:0x7d00b9817600 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b971986b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x3 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.462727 global_time:9648, event:`SYSCALL: close' (state:EXITING_SYSCALL) tid:8943, ticks:30536778
rax:0x0 rbx:0x3d6000090000 rcx:0xffffffffffffffff rdx:0x7d00b9816a00 rsi:0xfbad2418 rdi:0xf8 rbp:0x0 rsp:0x7ffc4c4bf358 r8:0xf8 r9:0x7ffc4c4bebe0 r10:0x7d00b960a980 r11:0x246 r12:0x7d00b9817600 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x7d00b971986b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x3 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.463955 global_time:9649, event:`SYSCALL: clock_gettime' (state:ENTERING_SYSCALL) tid:8943, ticks:31271592
rax:0xffffffffffffffda rbx:0x0 rcx:0xffffffffffffffff rdx:0x15a rsi:0x7ffc4c4bf358 rdi:0x0 rbp:0x7ffc4c4bf370 rsp:0x7ffc4c4bf318 r8:0x7bffa2cb5174a4a3 r9:0xff61dd2ae000c6f0 r10:0x7d00b96163c8 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
}
{
  real_time:748.463973 global_time:9650, event:`SYSCALL: clock_gettime' (state:EXITING_SYSCALL) tid:8943, ticks:31271592
rax:0x0 rbx:0x0 rcx:0xffffffffffffffff rdx:0x15a rsi:0x7ffc4c4bf358 rdi:0x0 rbp:0x7ffc4c4bf370 rsp:0x7ffc4c4bf318 r8:0x7bffa2cb5174a4a3 r9:0xff61dd2ae000c6f0 r10:0x7d00b96163c8 r11:0x246 r12:0x7ffc4c4c00f8 r13:0x5f8ab3dc7d70 r14:0x0 r15:0x7d00bc66b040 rip:0x6ffff05b eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe4 fs_base:0x7d00a8963740 gs_base:0x0
  { tid:8943, addr:0x7ffc4c4bf358, length:0x10 }
}
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackERNS_8ScopedFdE+0x5b)[0x5e2638df79ab]
rr(_ZN2rr15emergency_debugEPNS_4TaskE+0x172)[0x5e2638f2e2a2]
rr(+0x22fbca)[0x5e2638f22bca]
rr(+0x22fdbf)[0x5e2638f22dbf]
rr(_ZN2rr13ReplaySession23check_ticks_consistencyEPNS_10ReplayTaskERKNS_5EventE+0x1e4)[0x5e2638e86834]
rr(_ZN2rr13ReplaySession11replay_stepERKNS0_15StepConstraintsE+0x8a5)[0x5e2638e83fc5]
rr(_ZN2rr14ReplayTimeline19replay_step_to_markERKNS0_4MarkERNS0_24ReplayStepToMarkStrategyE+0x18e)[0x5e2638e7099e]
rr(_ZN2rr14ReplayTimeline16reverse_continueERKSt8functionIFbPNS_10ReplayTaskERKNS_11BreakStatusEEERKS1_IFbvEE+0x119c)[0x5e2638e645ec]
rr(_ZN2rr9GdbServer14debug_one_stepERNS_10GdbRequestE+0xe6e)[0x5e2638f3f20e]
rr(_ZN2rr9GdbServer12serve_replayESt10shared_ptrINS_13ReplaySessionEERKNS0_6TargetEPVbNS_12DebuggerTypeERKNS0_15ConnectionFlagsE+0x9bf)[0x5e2638f3ffef]
rr(_ZN2rr13ReplayCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xc2d)[0x5e2638e9549d]
rr(main+0x199)[0x5e2638dd5c89]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7caf39229d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7caf39229e40]
rr(_start+0x2e)[0x5e2638dd627e]
=== End rr backtrace
Launch debugger with
  'gdb' '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:9084' '/mnt/code/chromium2/src/out/Default/wtf_unittests'

run gdb

'gdb' '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:9084' '/mnt/code/chromium2/src/out/Default/wtf_unittests' 
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /mnt/code/chromium2/src/out/Default/wtf_unittests...
Remote debugging using 127.0.0.1:9084

...

Reading symbols from /lib/x86_64-linux-gnu/libbrotlicommon.so.1...
(No debugging symbols found in /lib/x86_64-linux-gnu/libbrotlicommon.so.1)
BFD: warning: system-supplied DSO at 0x6fffd000 has a section extending past end of file
0x000000006ffff05b in clock_gettime@LINUX_2.6 ()

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