{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12855","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12855/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12855/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12855/events","html_url":"https://github.com/JuliaLang/julia/pull/12855","id":103780032,"number":12855,"title":"fix #12853: kill detached compilation process on an exception","user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/precompile","name":"precompile","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-08-28T19:22:00Z","updated_at":"2015-09-01T18:30:25Z","closed_at":"2015-09-01T17:02:34Z","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12855","html_url":"https://github.com/JuliaLang/julia/pull/12855","diff_url":"https://github.com/JuliaLang/julia/pull/12855.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12855.patch"},"body":"This fixes #12853 by the simple expedient of wrapping the compilation in a `try` block and making sure that things are cleaned up on exit (julia subprocess is killed and file is closed)."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/136821112","html_url":"https://github.com/JuliaLang/julia/pull/12855#issuecomment-136821112","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12855","id":136821112,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T18:30:25Z","updated_at":"2015-09-01T18:30:25Z","body":"It's not really fixed, just worked around (temporarily, until our tests get so memory-hungry that even two processes is not enough) at the cost of increased Travis latency.   Please take further discussions to #11553."}}