{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/rr/issues/1816","repository_url":"https://api.github.com/repos/mozilla/rr","labels_url":"https://api.github.com/repos/mozilla/rr/issues/1816/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/rr/issues/1816/comments","events_url":"https://api.github.com/repos/mozilla/rr/issues/1816/events","html_url":"https://github.com/mozilla/rr/issues/1816","id":178214759,"number":1816,"title":"Assertion failure when attempting to step backwards","user":{"login":"Keno","id":1291671,"avatar_url":"https://avatars.githubusercontent.com/u/1291671?v=3","gravatar_id":"","url":"https://api.github.com/users/Keno","html_url":"https://github.com/Keno","followers_url":"https://api.github.com/users/Keno/followers","following_url":"https://api.github.com/users/Keno/following{/other_user}","gists_url":"https://api.github.com/users/Keno/gists{/gist_id}","starred_url":"https://api.github.com/users/Keno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keno/subscriptions","organizations_url":"https://api.github.com/users/Keno/orgs","repos_url":"https://api.github.com/users/Keno/repos","events_url":"https://api.github.com/users/Keno/events{/privacy}","received_events_url":"https://api.github.com/users/Keno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-21T00:26:09Z","updated_at":"2016-09-21T19:19:46Z","closed_at":null,"body":"```\r\nThread 1 received signal SIGSEGV, Segmentation fault.\r\n0x00007f2ba2477d68 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6\r\n(rr) rsi\r\n[FATAL /home/keno/rr-vanilla/src/ReplayTimeline.cc:408:replay_step_to_mark() errno: SUCCESS]\r\n (task 16330 (rec:9297) at time 23290)\r\n -> Assertion `current->trace_reader().time() == mark.ptr->proto.key.trace_time' failed to hold.\r\nLaunch gdb with\r\n  gdb '-l' '-1' '-ex' 'target extended-remote :16330' /home/keno/.local/share/rr/latest-trace/mmap_hardlink_2_julia\r\n```\r\n```\r\n(gdb) p current->trace_reader().time()\r\n$1 = 23290\r\n(gdb) p mark.ptr->proto.key.trace_time\r\n$2 = 23289\r\n```\r\nThe backwards step doesn't seem to have worked, attaching emergency debugger:\r\n```\r\n0x00007f2ba2477d68 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6\r\n```\r\ntrace before those times:\r\n```\r\n{\r\n  real_time:1723052.485656 global_time:23284, event:`SYSCALLBUF_FLUSH' tid:9297, ticks:11131168057\r\n}\r\n{\r\n  real_time:1723052.485658 global_time:23285, event:`SYSCALL: epoll_wait' (state:ENTERING_SYSCALL) tid:9297, ticks:11131168057\r\n rax:0xffffffffffffffda rbx:0xe8 rcx:0xffffffffffffffff rdx:0x400 rsi:0x7fff9fca9e90 rdi:0x5 rbp:0x7fff9fca9d90 rsp:0x7fff9fca9ab8 r8:0x7f299a5c0010 r9:0x7f2ba34f0\r\n1d0 r10:0x0 r11:0x246 r12:0x7fff9fcad0e8 r13:0x7fff9fcad0e8 r14:0x0 r15:0x7fff9fca9c18 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig\r\n_rax:0xe8 fs_base:0x7f2ba34f0c40 gs_base:0x0\r\n}\r\n{\r\n  real_time:1723052.485659 global_time:23286, event:`SYSCALLBUF_RESET' tid:9297, ticks:11131168057\r\n}\r\n{\r\n  real_time:1723052.485712 global_time:23287, event:`SYSCALL: epoll_wait' (state:EXITING_SYSCALL) tid:9297, ticks:11131168057\r\n rax:0x0 rbx:0xe8 rcx:0xffffffffffffffff rdx:0x400 rsi:0x7fff9fca9e90 rdi:0x5 rbp:0x7fff9fca9d90 rsp:0x7fff9fca9ab8 r8:0x7f299a5c0010 r9:0x7f2ba34f01d0 r10:0x0 r11\r\n:0x246 r12:0x7fff9fcad0e8 r13:0x7fff9fcad0e8 r14:0x0 r15:0x7fff9fca9c18 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0xe8 fs_ba\r\nse:0x7f2ba34f0c40 gs_base:0x0\r\n}\r\n{\r\n  real_time:1723052.485749 global_time:23288, event:`SYSCALLBUF_FLUSH' tid:9297, ticks:11131168170\r\n}\r\n{\r\n  real_time:1723052.485749 global_time:23289, event:`SIGNAL: SIGSEGV(det)' tid:9297, ticks:11131168170\r\n rax:0x7f2ba2477d68 rbx:0x16312fc0 rcx:0x7f29839d9640 rdx:0x0 rsi:0x1 rdi:0x16312fc0 rbp:0x7fff9fcad7d0 rsp:0x7fff9fcad7b8 r8:0x7f299a5c0010 r9:0x7f299a5c0010 r10:\r\n0x0 r11:0x0 r12:0x163679c0 r13:0x7f29a18f4070 r14:0x7f29839dc710 r15:0x7f29a1d61350 rip:0x7f2ba2477d68 eflags:0x10246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 o\r\nrig_rax:0xffffffffffffffff fs_base:0x7f2ba34f0c40 gs_base:0x0\r\n}\r\n{\r\n  real_time:1723052.485750 global_time:23290, event:`SYSCALLBUF_RESET' tid:9297, ticks:11131168170\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/rr/issues/comments/248714744","html_url":"https://github.com/mozilla/rr/issues/1816#issuecomment-248714744","issue_url":"https://api.github.com/repos/mozilla/rr/issues/1816","id":248714744,"user":{"login":"Keno","id":1291671,"avatar_url":"https://avatars.githubusercontent.com/u/1291671?v=3","gravatar_id":"","url":"https://api.github.com/users/Keno","html_url":"https://github.com/Keno","followers_url":"https://api.github.com/users/Keno/followers","following_url":"https://api.github.com/users/Keno/following{/other_user}","gists_url":"https://api.github.com/users/Keno/gists{/gist_id}","starred_url":"https://api.github.com/users/Keno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keno/subscriptions","organizations_url":"https://api.github.com/users/Keno/orgs","repos_url":"https://api.github.com/users/Keno/repos","events_url":"https://api.github.com/users/Keno/events{/privacy}","received_events_url":"https://api.github.com/users/Keno/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T19:19:46Z","updated_at":"2016-09-21T19:19:46Z","body":"Fix incoming."}}
{"actor":{"display_login":"Keno"}}