{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/2499","labels_url":"https://api.github.com/repos/neovim/neovim/issues/2499/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2499/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/2499/events","html_url":"https://github.com/neovim/neovim/issues/2499","id":70755542,"number":2499,"title":"Assertion `!(handle->flags & (UV_CLOSING | UV_CLOSED))' failed.","user":{"login":"qstrahl","id":2235277,"avatar_url":"https://avatars.githubusercontent.com/u/2235277?v=3","gravatar_id":"","url":"https://api.github.com/users/qstrahl","html_url":"https://github.com/qstrahl","followers_url":"https://api.github.com/users/qstrahl/followers","following_url":"https://api.github.com/users/qstrahl/following{/other_user}","gists_url":"https://api.github.com/users/qstrahl/gists{/gist_id}","starred_url":"https://api.github.com/users/qstrahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qstrahl/subscriptions","organizations_url":"https://api.github.com/users/qstrahl/orgs","repos_url":"https://api.github.com/users/qstrahl/repos","events_url":"https://api.github.com/users/qstrahl/events{/privacy}","received_events_url":"https://api.github.com/users/qstrahl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-24T18:06:51Z","updated_at":"2015-04-24T22:51:42Z","closed_at":null,"body":"Hey, I don't have steps to reproduce or anything, but nvim suddenly froze up as I was working and I had to kill it from another terminal. Only happened once, not a recurring bug as far as I know. When it exited, it produced this message:\r\n\r\n```\r\nvim: /build/buildd/neovim-0.0.0+git201504231825+1546+8+9~ubuntu14.10.1/.deps/build/src/libuv/src/unix/core.c:95: uv_close: Assertion `!(handle->flags & (UV_CLOSING | UV_CLOSED))' failed.\r\n```\r\n\r\nI figured someone might want to know about it. Please close this issue if it's not helpful."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/96089621","html_url":"https://github.com/neovim/neovim/issues/2499#issuecomment-96089621","issue_url":"https://api.github.com/repos/neovim/neovim/issues/2499","id":96089621,"user":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T22:51:42Z","updated_at":"2015-04-24T22:51:42Z","body":"It would seem the assert is there to check if uv_close is called twice on the same handle\r\n\r\n```C\r\nvoid uv_close(uv_handle_t* handle, uv_close_cb close_cb) {\r\n  assert(!(handle->flags & (UV_CLOSING | UV_CLOSED)));\r\n\r\n  handle->flags |= UV_CLOSING;\r\n  handle->close_cb = close_cb;\r\n\r\n```"}}