{"action":"created","issue":{"url":"https://api.github.com/repos/kenichi/angelo/issues/53","labels_url":"https://api.github.com/repos/kenichi/angelo/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/kenichi/angelo/issues/53/comments","events_url":"https://api.github.com/repos/kenichi/angelo/issues/53/events","html_url":"https://github.com/kenichi/angelo/issues/53","id":67888007,"number":53,"title":"ArgumentError: this IO is already registered with selector","user":{"login":"mighe","id":1152697,"avatar_url":"https://avatars.githubusercontent.com/u/1152697?v=3","gravatar_id":"","url":"https://api.github.com/users/mighe","html_url":"https://github.com/mighe","followers_url":"https://api.github.com/users/mighe/followers","following_url":"https://api.github.com/users/mighe/following{/other_user}","gists_url":"https://api.github.com/users/mighe/gists{/gist_id}","starred_url":"https://api.github.com/users/mighe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mighe/subscriptions","organizations_url":"https://api.github.com/users/mighe/orgs","repos_url":"https://api.github.com/users/mighe/repos","events_url":"https://api.github.com/users/mighe/events{/privacy}","received_events_url":"https://api.github.com/users/mighe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-12T08:33:35Z","updated_at":"2015-04-13T20:14:55Z","closed_at":null,"body":"This happened a couple of times:\r\n\r\n```\r\nERROR -- : Actor crashed!\r\nArgumentError: this IO is already registered with selector\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/reactor.rb:42:in `register'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/reactor.rb:42:in `wait'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/reactor.rb:26:in `wait_writable'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io.rb:65:in `wait_writable'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:33:in `wait_writable'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:63:in `rescue in block in syswrite'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:60:in `block in syswrite'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:389:in `synchronize'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:58:in `syswrite'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:355:in `do_write'\r\n\t/xxx/gems/celluloid-io-0.16.2/lib/celluloid/io/stream.rb:256:in `<<'\r\n\t/xxx/gems/reel-0.5.0/lib/reel/websocket.rb:80:in `write'\r\n\t/yyy/angelo_apis.rb:32:in `block (2 levels) in <class:AngeloApis>'\r\n\t/xxx/gems/angelo-0.4.1/lib/angelo/stash.rb:56:in `block in each'\r\n\t/xxx/gems/angelo-0.4.1/lib/angelo/stash.rb:54:in `each'\r\n\t/xxx/gems/angelo-0.4.1/lib/angelo/stash.rb:54:in `each'\r\n\t/yyy/angelo_apis.rb:32:in `block in <class:AngeloApis>'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'\r\n\t/xxx/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'\r\n```\r\n\r\ncalling this task:\r\n```ruby\r\n  task :custom_event do |event|\r\n    websockets.each { |ws| ws.write event.to_json }\r\n  end\r\n```\r\n\r\nI saw this error a couple of times recently.\r\nDo you think it can be an Angelo issue or can it be a problem of one of its dependency?\r\nI found [this](https://github.com/celluloid/celluloid-io/issues/121)"},"comment":{"url":"https://api.github.com/repos/kenichi/angelo/issues/comments/92484789","html_url":"https://github.com/kenichi/angelo/issues/53#issuecomment-92484789","issue_url":"https://api.github.com/repos/kenichi/angelo/issues/53","id":92484789,"user":{"login":"digitalextremist","id":21095,"avatar_url":"https://avatars.githubusercontent.com/u/21095?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalextremist","html_url":"https://github.com/digitalextremist","followers_url":"https://api.github.com/users/digitalextremist/followers","following_url":"https://api.github.com/users/digitalextremist/following{/other_user}","gists_url":"https://api.github.com/users/digitalextremist/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalextremist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalextremist/subscriptions","organizations_url":"https://api.github.com/users/digitalextremist/orgs","repos_url":"https://api.github.com/users/digitalextremist/repos","events_url":"https://api.github.com/users/digitalextremist/events{/privacy}","received_events_url":"https://api.github.com/users/digitalextremist/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T20:14:55Z","updated_at":"2015-04-13T20:14:55Z","body":"Usually this sort of thing happens when you start multiple server instances on top of each other, but I would need to look further into angelo to fully see the implications of your repro."}}