{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1958","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1958/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1958/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1958/events","html_url":"https://github.com/fish-shell/fish-shell/issues/1958","id":59022793,"number":1958,"title":"99% cpu in hung telnet session, fish process group not quit when terminal.app windows are closed","user":{"login":"breathe","id":434034,"avatar_url":"https://avatars.githubusercontent.com/u/434034?v=3","gravatar_id":"","url":"https://api.github.com/users/breathe","html_url":"https://github.com/breathe","followers_url":"https://api.github.com/users/breathe/followers","following_url":"https://api.github.com/users/breathe/following{/other_user}","gists_url":"https://api.github.com/users/breathe/gists{/gist_id}","starred_url":"https://api.github.com/users/breathe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breathe/subscriptions","organizations_url":"https://api.github.com/users/breathe/orgs","repos_url":"https://api.github.com/users/breathe/repos","events_url":"https://api.github.com/users/breathe/events{/privacy}","received_events_url":"https://api.github.com/users/breathe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/9","html_url":"https://github.com/fish-shell/fish-shell/milestones/next-minor","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/9/labels","id":462599,"number":9,"title":"next-minor","description":"the next minor release of fish (2.2)","creator":{"login":"zanchey","id":520741,"avatar_url":"https://avatars.githubusercontent.com/u/520741?v=3","gravatar_id":"","url":"https://api.github.com/users/zanchey","html_url":"https://github.com/zanchey","followers_url":"https://api.github.com/users/zanchey/followers","following_url":"https://api.github.com/users/zanchey/following{/other_user}","gists_url":"https://api.github.com/users/zanchey/gists{/gist_id}","starred_url":"https://api.github.com/users/zanchey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanchey/subscriptions","organizations_url":"https://api.github.com/users/zanchey/orgs","repos_url":"https://api.github.com/users/zanchey/repos","events_url":"https://api.github.com/users/zanchey/events{/privacy}","received_events_url":"https://api.github.com/users/zanchey/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":297,"state":"open","created_at":"2013-10-23T13:44:11Z","updated_at":"2015-03-29T19:01:19Z","due_on":null,"closed_at":null},"comments":23,"created_at":"2015-02-26T05:46:01Z","updated_at":"2015-03-29T19:04:33Z","closed_at":"2015-03-29T19:01:19Z","body":"I'm on OS X Yosemite (10.10.2) with:\r\n\r\n~> fish --version\r\nfish, version 2.1.1-1191-g1ff9aba\r\n\r\nI was debugging an issue with a mail-server via telnet -- after closing the window containing the fish process from which I ran the telnet sessions -- I'm seeing the process group that owning the telnet process fail to shut down ...  After awhile the two telnet processes each started using 99% cpu ...\r\n\r\n ~> ps\r\n  PID TTY           TIME CMD\r\n83498 ttys000    0:00.07 -fish\r\n 7496 ttys001    0:00.08 -fish\r\n 7506 ttys001  3210:46.14 telnet foo.smtp.com 25\r\n70932 ttys004    0:00.15 -fish\r\n71193 ttys004    0:00.06 ssh root@rr-ns\r\n47337 ttys009    0:00.05 -fish\r\n47346 ttys009  617:22.03 telnet foo.smtp.com 587\r\n 3187 ttys015    0:00.09 /usr/local/bin/fish\r\n\r\nprocesses 7506 (child of 7496) and 47346 (child of 47337) are each using 99% cpu.\r\n\r\nIt seems that neither closing all the terminal windows within terminal.app nor quitting terminal.app is sufficient to clean these processes up.  I'm not actually sure if this is a fish bug -- but this behaviour is unexpected to me and I'm if its the result of some non-ideal interaction between fish and terminal.app ...?"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/87455600","html_url":"https://github.com/fish-shell/fish-shell/issues/1958#issuecomment-87455600","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/1958","id":87455600,"user":{"login":"turing-complete","id":726974,"avatar_url":"https://avatars.githubusercontent.com/u/726974?v=3","gravatar_id":"","url":"https://api.github.com/users/turing-complete","html_url":"https://github.com/turing-complete","followers_url":"https://api.github.com/users/turing-complete/followers","following_url":"https://api.github.com/users/turing-complete/following{/other_user}","gists_url":"https://api.github.com/users/turing-complete/gists{/gist_id}","starred_url":"https://api.github.com/users/turing-complete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turing-complete/subscriptions","organizations_url":"https://api.github.com/users/turing-complete/orgs","repos_url":"https://api.github.com/users/turing-complete/repos","events_url":"https://api.github.com/users/turing-complete/events{/privacy}","received_events_url":"https://api.github.com/users/turing-complete/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T19:04:33Z","updated_at":"2015-03-29T19:04:33Z","body":"anytime :)"}}