{"action":"created","issue":{"url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/30","repository_url":"https://api.github.com/repos/KalitaAlexey/vscode-rust","labels_url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/30/comments","events_url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/30/events","html_url":"https://github.com/KalitaAlexey/vscode-rust/issues/30","id":197971108,"number":30,"title":"Racer crash is not restored","user":{"login":"sinkuu","id":7091080,"avatar_url":"https://avatars.githubusercontent.com/u/7091080?v=3","gravatar_id":"","url":"https://api.github.com/users/sinkuu","html_url":"https://github.com/sinkuu","followers_url":"https://api.github.com/users/sinkuu/followers","following_url":"https://api.github.com/users/sinkuu/following{/other_user}","gists_url":"https://api.github.com/users/sinkuu/gists{/gist_id}","starred_url":"https://api.github.com/users/sinkuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinkuu/subscriptions","organizations_url":"https://api.github.com/users/sinkuu/orgs","repos_url":"https://api.github.com/users/sinkuu/repos","events_url":"https://api.github.com/users/sinkuu/events{/privacy}","received_events_url":"https://api.github.com/users/sinkuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-29T08:25:52Z","updated_at":"2016-12-29T09:42:04Z","closed_at":null,"body":"When racer is crashed, `Racer: Off` is shown in the statusbar and racer is not restarted.\r\n\r\nSteps to reproduce the problem:\r\n\r\nI'm using Linux 4.8.13-1-ARCH x86_64 GNU/Linux, node.js v6.5.0, vscode 1.8.1, racer 2.0.3.\r\n\r\n1. Crash racer. e.g. Copy this snippet and try typing `r` after the `c` in the main fn. This will crash racer with stack overflow.\r\n\r\n```rust\r\npub use self::{crash as crash};\r\n\r\nfn main() {\r\n    c\r\n}\r\n```\r\n\r\n2. Somehow [`stopDaemon`](https://github.com/KalitaAlexey/vscode-rust/blob/b9269f2e87e58abc0fc9b87e3e822d202874cd72/src/services/suggestService.ts#L144) is called with `null`, and Racer status is changed to `Racer: Off` because `!null == true` (at [L152](https://github.com/KalitaAlexey/vscode-rust/blob/b9269f2e87e58abc0fc9b87e3e822d202874cd72/src/services/suggestService.ts#L152))."},"comment":{"url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/comments/269605201","html_url":"https://github.com/KalitaAlexey/vscode-rust/issues/30#issuecomment-269605201","issue_url":"https://api.github.com/repos/KalitaAlexey/vscode-rust/issues/30","id":269605201,"user":{"login":"KalitaAlexey","id":11215191,"avatar_url":"https://avatars.githubusercontent.com/u/11215191?v=3","gravatar_id":"","url":"https://api.github.com/users/KalitaAlexey","html_url":"https://github.com/KalitaAlexey","followers_url":"https://api.github.com/users/KalitaAlexey/followers","following_url":"https://api.github.com/users/KalitaAlexey/following{/other_user}","gists_url":"https://api.github.com/users/KalitaAlexey/gists{/gist_id}","starred_url":"https://api.github.com/users/KalitaAlexey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KalitaAlexey/subscriptions","organizations_url":"https://api.github.com/users/KalitaAlexey/orgs","repos_url":"https://api.github.com/users/KalitaAlexey/repos","events_url":"https://api.github.com/users/KalitaAlexey/events{/privacy}","received_events_url":"https://api.github.com/users/KalitaAlexey/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T09:42:04Z","updated_at":"2016-12-29T09:42:04Z","body":"@sinkuu,\r\nWrite about it later.\r\nAnyway what OS do you use?"}}
{"actor":{"display_login":"KalitaAlexey"}}