{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/4373","labels_url":"https://api.github.com/repos/netty/netty/issues/4373/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/4373/comments","events_url":"https://api.github.com/repos/netty/netty/issues/4373/events","html_url":"https://github.com/netty/netty/issues/4373","id":112050348,"number":4373,"title":"FixedChannelPool race condition when closed during acquire","user":{"login":"stau","id":2217577,"avatar_url":"https://avatars.githubusercontent.com/u/2217577?v=3","gravatar_id":"","url":"https://api.github.com/users/stau","html_url":"https://github.com/stau","followers_url":"https://api.github.com/users/stau/followers","following_url":"https://api.github.com/users/stau/following{/other_user}","gists_url":"https://api.github.com/users/stau/gists{/gist_id}","starred_url":"https://api.github.com/users/stau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stau/subscriptions","organizations_url":"https://api.github.com/users/stau/orgs","repos_url":"https://api.github.com/users/stau/repos","events_url":"https://api.github.com/users/stau/events{/privacy}","received_events_url":"https://api.github.com/users/stau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/defect","name":"defect","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/128","html_url":"https://github.com/netty/netty/milestones/4.0.33.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/128/labels","id":1330526,"number":128,"title":"4.0.33.Final","description":"","creator":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":33,"state":"open","created_at":"2015-09-30T06:32:01Z","updated_at":"2015-10-20T18:02:04Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-10-18T23:32:41Z","updated_at":"2015-10-20T21:17:27Z","closed_at":null,"body":"An AssertionError is thrown when FixedChannelPool is being closed, while somewhere at the same time an acquire occurs. \r\nThe acquire triggers FixedChannelPool::decrementAndRunTaskQueue(), while FixedChannelPool::close() sets                 acquiredChannelCount = 0;\r\n\r\nThis only happens when objects using the pool are not terminated prior to calling close."},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/149706171","html_url":"https://github.com/netty/netty/issues/4373#issuecomment-149706171","issue_url":"https://api.github.com/repos/netty/netty/issues/4373","id":149706171,"user":{"login":"stau","id":2217577,"avatar_url":"https://avatars.githubusercontent.com/u/2217577?v=3","gravatar_id":"","url":"https://api.github.com/users/stau","html_url":"https://github.com/stau","followers_url":"https://api.github.com/users/stau/followers","following_url":"https://api.github.com/users/stau/following{/other_user}","gists_url":"https://api.github.com/users/stau/gists{/gist_id}","starred_url":"https://api.github.com/users/stau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stau/subscriptions","organizations_url":"https://api.github.com/users/stau/orgs","repos_url":"https://api.github.com/users/stau/repos","events_url":"https://api.github.com/users/stau/events{/privacy}","received_events_url":"https://api.github.com/users/stau/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T21:17:26Z","updated_at":"2015-10-20T21:17:26Z","body":"@fratboy This shouldn't occur in normal circumstances, however when attempting to (best effort) clean up after an Exception, the pool may be closed before an acquired Channel is released. For example having a handler which releases a Channel after an operation is complete."}}