{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/rr/issues/1764","repository_url":"https://api.github.com/repos/mozilla/rr","labels_url":"https://api.github.com/repos/mozilla/rr/issues/1764/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/rr/issues/1764/comments","events_url":"https://api.github.com/repos/mozilla/rr/issues/1764/events","html_url":"https://github.com/mozilla/rr/issues/1764","id":169010082,"number":1764,"title":"Hang during recording","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":9,"created_at":"2016-08-02T23:07:31Z","updated_at":"2016-08-04T04:18:55Z","closed_at":null,"body":"RR hangs during recording of a rather complicated julia test. Stack trace is:\r\n```\r\n#0  0x00007f453f430ed9 in __libc_waitpid (pid=3292, stat_loc=0x7ffc61a1b9e4,\r\n    options=1073741824) at ../sysdeps/unix/sysv/linux/waitpid.c:40\r\n#1  0x00007f45407f36a2 in rr::Task::wait (this=0x1099970,\r\n    interrupt_after_elapsed=0) at /home/kfischer/rr/src/Task.cc:1077\r\n#2  0x00007f45407f09d1 in rr::Task::resume_execution (this=0x1099970,\r\n    how=rr::RESUME_SINGLESTEP, wait_how=rr::RESUME_WAIT,\r\n    tick_period=rr::RESUME_NO_TICKS, sig=11)\r\n    at /home/kfischer/rr/src/Task.cc:848\r\n#3  0x00007f45407343cd in rr::inject_handled_signal (t=0x1099970)\r\n    at /home/kfischer/rr/src/RecordSession.cc:998\r\n#4  0x00007f4540733f07 in rr::RecordSession::signal_state_changed (\r\n    this=0x1064a10, t=0x1099970, step_state=0x7ffc61a1bf50)\r\n    at /home/kfischer/rr/src/RecordSession.cc:1084\r\n#5  0x00007f4540738763 in rr::RecordSession::record_step (this=0x1064a10)\r\n    at /home/kfischer/rr/src/RecordSession.cc:1709\r\n#6  0x00007f454072f715 in rr::record (\r\n    args=std::vector of length 2, capacity 4 = {...}, flags=...)\r\n    at /home/kfischer/rr/src/RecordCommand.cc:296\r\n#7  0x00007f454072ed96 in rr::RecordCommand::run (\r\n    this=0x6091f8 <rr::RecordCommand::singleton>,\r\n    args=std::vector of length 2, capacity 4 = {...})\r\n    at /home/kfischer/rr/src/RecordCommand.cc:363\r\n#8  0x0000000000404ae5 in main (argc=4, argv=0x7ffc61a1c358)\r\n    at /home/kfischer/rr/src/main.cc:270\r\n```\r\nHowever, the pid it seems to be waiting for is in disk sleep state trying to create a core dump? Not sure what exactly is happening. Core dumps should be disabled on this machine.\r\n```\r\nkfischer2@nanosoldier1:~/julia$ cat /proc/3292/status\r\nName:\tjulia\r\nState:\tD (disk sleep)\r\nTgid:\t3291\r\nNgid:\t0\r\nPid:\t3292\r\nPPid:\t3244\r\nTracerPid:\t2347\r\nUid:\t1003\t1003\t1003\t1003\r\nGid:\t1003\t1003\t1003\t1003\r\nFDSize:\t1024\r\nGroups:\t1003 1095828719\r\nVmPeak:\t 9043356 kB\r\nVmSize:\t 9033132 kB\r\nVmLck:\t       0 kB\r\nVmPin:\t       0 kB\r\nVmHWM:\t  169580 kB\r\nVmRSS:\t  169580 kB\r\nVmData:\t 8788992 kB\r\nVmStk:\t       0 kB\r\nVmExe:\t       8 kB\r\nVmLib:\t  104220 kB\r\nVmPTE:\t     676 kB\r\nVmSwap:\t       0 kB\r\nThreads:\t9\r\nSigQ:\t0/256922\r\nSigPnd:\t0000000000000000\r\nShdPnd:\t0000000000000000\r\nSigBlk:\t0000000000004226\r\nSigIgn:\t0000000000001010\r\nSigCgt:\t00000001c0000ae8\r\nCapInh:\t0000000000000000\r\nCapPrm:\t0000000000000000\r\nCapEff:\t0000000000000000\r\nCapBnd:\t0000001fffffffff\r\nSeccomp:\t2\r\nCpus_allowed:\t10\r\nCpus_allowed_list:\t4\r\nMems_allowed:\t00000000,00000001\r\nMems_allowed_list:\t0\r\nvoluntary_ctxt_switches:\t1058\r\nnonvoluntary_ctxt_switches:\t3\r\nkfischer2@nanosoldier1:~/julia$ cat /proc/3292/stack\r\n[<ffffffff8121e9b3>] do_coredump+0x343/0xea0\r\n[<ffffffff8107c6e7>] get_signal_to_deliver+0x1c7/0x6f0\r\n[<ffffffff81014418>] do_signal+0x48/0xa10\r\n[<ffffffff81014e49>] do_notify_resume+0x69/0xb0\r\n[<ffffffff81731ee2>] retint_signal+0x48/0x86\r\n[<ffffffffffffffff>] 0xffffffffffffffff\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/rr/issues/comments/237448508","html_url":"https://github.com/mozilla/rr/issues/1764#issuecomment-237448508","issue_url":"https://api.github.com/repos/mozilla/rr/issues/1764","id":237448508,"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-08-04T04:18:55Z","updated_at":"2016-08-04T04:18:55Z","body":"Ah, I of course mindlessly set SA_NODEFER, which is precisely that case that I'm not interested in here. Hold on, PR incoming."}}
{"actor":{"display_login":"Keno"}}