{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3488","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3488/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3488/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3488/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3488","id":184930297,"number":3488,"title":"Attempting to complete a specific nonexistent command locks up fish, given local fish_user_key_bindings definition","user":{"login":"TieDyedDevil","id":4656502,"avatar_url":"https://avatars.githubusercontent.com/u/4656502?v=3","gravatar_id":"","url":"https://api.github.com/users/TieDyedDevil","html_url":"https://github.com/TieDyedDevil","followers_url":"https://api.github.com/users/TieDyedDevil/followers","following_url":"https://api.github.com/users/TieDyedDevil/following{/other_user}","gists_url":"https://api.github.com/users/TieDyedDevil/gists{/gist_id}","starred_url":"https://api.github.com/users/TieDyedDevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TieDyedDevil/subscriptions","organizations_url":"https://api.github.com/users/TieDyedDevil/orgs","repos_url":"https://api.github.com/users/TieDyedDevil/repos","events_url":"https://api.github.com/users/TieDyedDevil/events{/privacy}","received_events_url":"https://api.github.com/users/TieDyedDevil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-24T19:19:15Z","updated_at":"2016-10-24T20:13:48Z","closed_at":null,"body":"<!-- check if this problem is already solved! github.com/issues?q=is:issue+user:fish-shell -->\r\n- [ x] Have you checked if problem occurs with [fish 2.3.1](/fish-shell/fish-shell/releases/tag/2.3.1)?\r\n- [ x] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version installed** *(`fish --version`)*: fish, version 2.3.1-670-g37d91d0\r\nFWIW, this is my fork, but built from upstream/master.\r\n\r\n**OS/terminal used**: Fedora 24/st\r\n\r\nTalk about the the issue here. \r\n\r\n## Reproduction steps\r\n1. Create the file `/.config/fish/conf.d/fish_user_key_bindings.fish` as noted below.\r\n2. Save current work, just in case the runaway process gets out of hand.\r\n3. Start a new fish shell.\r\n4. At the fish prompt, type `bindi<tab>`.\r\n\r\n<!-- Hard to explain? Post a screen recording on asciinema.org then link it here -->\r\n\r\n## Results\r\nCPU utilization spikes and memory gets eaten up very quickly. Be prepared to do `pkill -9 fish` before your system runs out of memory and starts swapping.\r\n\r\nThis is an interesting bug in that it seems specific to that one particular completion. Other command completions work as expected. Variations of this completion, e.g. binda<tab>, bindx<tab> do the right thing.\r\n\r\nThe issue does NOT occur if I run fish w/o third-party customizations.\r\n\r\nIn my installation (w/ third-party customizations) the issue is triggered by the presence of `~/.config/fish/conf.d/fish_user_key_bindings.fish`. The content of this file is:\r\n\r\n```\r\nfunction fish_user_key_bindings\r\n\r\n\tbind -M normal \\e\\[80\\~ media-toggle-mute\r\n\tbind -M insert \\e\\[80\\~ media-toggle-mute\r\n\tbind -M replace-one \\e\\[80\\~ media-toggle-mute\r\n\tbind -M visual \\e\\[80\\~ media-toggle-mute\r\n\r\n\tbind -M normal \\e\\[81\\~ media-volume-down\r\n\tbind -M insert \\e\\[81\\~ media-volume-down\r\n\tbind -M replace-one \\e\\[81\\~ media-volume-down\r\n\tbind -M visual \\e\\[81\\~ media-volume-down\r\n\r\n\tbind -M normal \\e\\[82\\~ media-volume-up\r\n\tbind -M insert \\e\\[82\\~ media-volume-up\r\n\tbind -M replace-one \\e\\[82\\~ media-volume-up\r\n\tbind -M visual \\e\\[82\\~ media-volume-up\r\n\r\n\tbind -M normal \\e\\[83\\~ media-audio-next\r\n\tbind -M insert \\e\\[83\\~ media-audio-next\r\n\tbind -M replace-one \\e\\[83\\~ media-audio-next\r\n\tbind -M visual \\e\\[83\\~ media-audio-next\r\n\r\n\tbind -M normal \\e\\[84\\~ media-audio-play\r\n\tbind -M insert \\e\\[84\\~ media-audio-play\r\n\tbind -M replace-one \\e\\[84\\~ media-audio-play\r\n\tbind -M visual \\e\\[84\\~ media-audio-play\r\n\r\n\tbind -M normal \\e\\[85\\~ media-audio-prev\r\n\tbind -M insert \\e\\[85\\~ media-audio-prev\r\n\tbind -M replace-one \\e\\[85\\~ media-audio-prev\r\n\tbind -M visual \\e\\[85\\~ media-audio-prev\r\n\r\n\tbind -M normal \\e\\[86\\~ media-mic-mute\r\n\tbind -M insert \\e\\[86\\~ media-mic-mute\r\n\tbind -M replace-one \\e\\[86\\~ media-mic-mute\r\n\tbind -M visual \\e\\[86\\~ media-mic-mute\r\n\r\nend\r\n```\r\n\r\nThe presence of this file does not cause the issue when running the fish 2.3.1 release from the Fedora 24 repo."},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/255852413","html_url":"https://github.com/fish-shell/fish-shell/issues/3488#issuecomment-255852413","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3488","id":255852413,"user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T20:13:48Z","updated_at":"2016-10-24T20:13:48Z","body":"Bisected to 851e44934780f469927f19770d0fc65d82bed129 @krader1961 "}}
{"actor":{"display_login":"floam"}}