-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ticks mismatch (aarch64) #3649
Comments
Ah, every time I |
Following Debugging divergence:
(gdb) where #0 0x0000000070000024 in syscall_untraced_record_only () #1 0x0000fffeec8f5d60 in _raw_syscall () at /home/anm-la/rr/src/preload/raw_syscall.S:161 #2 0x0000fffeec8f2af4 in untraced_syscall_full (a3=0, stack_param_1=0, stack_param_2=0, syscall_instruction=0x70000020, a5=0, a4=0, a2=8192, a1=1882276198, a0=0, syscallno=63) at /home/anm-la/rr/src/preload/syscallbuf.c:449 #3 sys_read (call=) at /home/anm-la/rr/src/preload/syscallbuf.c:2901 #4 0x0000fffeec8f5b90 in syscall_hook (call=0xfffeea96fd50) at /home/anm-la/rr/src/preload/syscallbuf.c:4234 #5 syscall_hook (call=0xfffeea96fd50) at /home/anm-la/rr/src/preload/syscallbuf.c:4218 #6 0x0000fffeec8f0324 in _syscall_hook_trampoline () at /home/anm-la/rr/src/preload/syscall_hook.S:804 #7 0x0000fffeec8f0424 in _syscall_hook_trampoline_raw () at /home/anm-la/rr/src/preload/syscall_hook.S:978 #8 0x0000fffeec694da8 in __GI___libc_read (nbytes=8192, buf=0xfffee0000ca0, fd=0) at ../sysdeps/unix/sysv/linux/read.c:26 #9 __GI___libc_read (fd=0, buf=0xfffee0000ca0, nbytes=8192) at ../sysdeps/unix/sysv/linux/read.c:24 #10 0x0035aaab15a52a60 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Doesn't look particularly suspicious to me, but I'm not familiar enough to rule it out? The debuggee is named |
With some logging: [ReplaySession] [event 5684] 2195261: replaying SYSCALLBUF_FLUSH; state (none) [ReplaySession] (syscllbufsz:0, abrtcmt:0, locked:0) [ReplaySession] Prepared 312 bytes of syscall records [ReplaySession] Adding breakpoint [Task] resuming execution of 2263651 with PTRACE_CONT tick_period -1 wait 0 [Task] Flushing registers for tid 2263651 { ip:0x7000000c args:(0x17,0xfffee0000ca0,0x2000,0,0xfffeeab7ce78,281470212031496) orig_syscall: 63 syscallno: 1002 orig_arg1: 0 } [Task] Changing syscall to 63 [Task] going into blocking wait for 2263651 ... [Task] Task 2263651 changed status to 0xb7f (STOP-SIGSEGV) [Task] (refreshing register cache) [Task] Requesting registers from tracee 2263651 [ReplaySession] Removing breakpoint 0xb7f (STOP-SIGSEGV) [ReplaySession] [event 5685] 2195261: replaying SYSCALL: read; state ENTERING_SYSCALL [ReplaySession] (syscllbufsz:312, abrtcmt:0, locked:0) [Task] resuming execution of 2263651 with PTRACE_SYSEMU tick_period -1 wait 0 [Task] Flushing registers for tid 2263651 { ip:0xfffeec8f050c args:(0xfffffffffffffff0,0xfffeea96fbf8,0x27,0xfffffffffffffff0,0xfffffffffffffff0,98) orig_syscall: 63 syscallno: 98 orig_arg1: 0 } [Task] going into blocking wait for 2263651 ... [Task] Task 2263651 changed status to 0x57f (STOP-SIGTRAP) [Task] (refreshing register cache) [Task] Requesting registers from tracee 2263651 [FATAL src/ReplaySession.cc:1184:check_ticks_consistency()] (task 2263651 (rec:2195261) at time 5685) -> Assertion `ticks_now == trace_ticks' failed to hold. ticks mismatch for 'SYSCALL: read'; expected 1701293, got 1701294 |
The suspicious part (if any) would be frames 10 or lower, everything that's visible is just rr internals unfortunately. |
Hadn't completely digested that RR isn't yet fully working on Asahi. Will close this. |
Encountered the following during
rr replay
(on 6.5.11-407.asahi.fc39.aarch64+16k, using 920add3 to workaround #3568):The text was updated successfully, but these errors were encountered: