{"action":"created","issue":{"url":"https://api.github.com/repos/vifm/vifm/issues/142","labels_url":"https://api.github.com/repos/vifm/vifm/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/vifm/vifm/issues/142/comments","events_url":"https://api.github.com/repos/vifm/vifm/issues/142/events","html_url":"https://github.com/vifm/vifm/issues/142","id":124853631,"number":142,"title":"\":!/etc/init.d/cryptdisks reload\" → askpass hangs using 99.5% CPU","user":{"login":"aleksejrs","id":1025861,"avatar_url":"https://avatars.githubusercontent.com/u/1025861?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksejrs","html_url":"https://github.com/aleksejrs","followers_url":"https://api.github.com/users/aleksejrs/followers","following_url":"https://api.github.com/users/aleksejrs/following{/other_user}","gists_url":"https://api.github.com/users/aleksejrs/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksejrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksejrs/subscriptions","organizations_url":"https://api.github.com/users/aleksejrs/orgs","repos_url":"https://api.github.com/users/aleksejrs/repos","events_url":"https://api.github.com/users/aleksejrs/events{/privacy}","received_events_url":"https://api.github.com/users/aleksejrs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-04T22:28:07Z","updated_at":"2016-01-05T12:11:31Z","closed_at":null,"body":"`:!/etc/init.d/cryptdisks reload` starts `cryptdisks` (from the `cryptsetup` package), which finds an unmounted encrypted container and runs `/lib/cryptsetup/askpass` to ask for a password.  Normally (or now without Vifm) it processes the password correctly, but now, when I press Enter, `askpass` hangs, loading the whole CPU.\r\n\r\n```\r\n[info] sdxe (starting)...\r\nPass_sdc:\r\n```\r\nhtop:\r\n```\r\n23645 root       20   0  4204   704   628 R 99.8  0.0  0:43.02 /lib/cryptsetup/askpass Pass_sdc:\r\n```\r\nA simple `killall cryptdisks` kills it, but not a simple `killall askpass`.\r\n\r\n```\r\nVersion: 0.8.1-beta\r\nGit info: v0.8.1-beta-11-g66ee57588fac-dirty\r\nCompiled at: Jan  3 2016 23:26:11\r\n```"},"comment":{"url":"https://api.github.com/repos/vifm/vifm/issues/comments/168983820","html_url":"https://github.com/vifm/vifm/issues/142#issuecomment-168983820","issue_url":"https://api.github.com/repos/vifm/vifm/issues/142","id":168983820,"user":{"login":"aleksejrs","id":1025861,"avatar_url":"https://avatars.githubusercontent.com/u/1025861?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksejrs","html_url":"https://github.com/aleksejrs","followers_url":"https://api.github.com/users/aleksejrs/followers","following_url":"https://api.github.com/users/aleksejrs/following{/other_user}","gists_url":"https://api.github.com/users/aleksejrs/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksejrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksejrs/subscriptions","organizations_url":"https://api.github.com/users/aleksejrs/orgs","repos_url":"https://api.github.com/users/aleksejrs/repos","events_url":"https://api.github.com/users/aleksejrs/events{/privacy}","received_events_url":"https://api.github.com/users/aleksejrs/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T12:11:31Z","updated_at":"2016-01-05T12:11:31Z","body":"(Now with the master build.  Note that askpass hangs no matter if it's in X or in a VC.)\r\n\r\nIn Vifm, `:.!/etc/init.d/cryptdisks reload`\r\n\r\nEnd of the output after pressing Enter:\r\n```\r\nvroot@d:~# vifm\r\n(…)\r\n[warn] sdxe: device '/dev/sdc' is not a LUKS partition, skipping ... (warning).\r\n[FAIL(failed)...failed.\r\n[info] sdxe (starting)...\r\nPass_sde:\r\n```\r\n\r\n* Entering \"`123`\", pressing `<Enter>`.  askpass hangs.\r\n* In a different shell, `pkill -u root vifm`\r\n\r\nVifm is killed, the output with the same part skipped:\r\n```\r\nvroot@d:~# vifm\r\n(…)\r\n[warn] sdxe: device '/dev/sdc' is not a LUKS partition, skipping ... (warning).\r\nVifm killed by signal: 15 (Terminated).\r\nroot@d:~# 123starting)...\r\nbash: 123: command not found\r\nroot@d:~# \r\n```"}}