tarcieri/celluloid — Issue #27: Terminating a working actor causes crash
Author: mperham
Created: 2012-02-19 03:54:52+00:00
State: open

^CI, [2012-02-18T19:51:35.056764 #62323] INFO -- : Shutting down
I, [2012-02-18T19:51:35.066260 #62323] INFO -- : Pausing 5 seconds to allow workers to finish...
E, [2012-02-18T19:51:43.739123 #62323] ERROR -- : Sidekiq::Manager crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/responses.rb:22:in `value'
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/actor.rb:183:in `handle_message'
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/actor.rb:130:in `run'
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/actor.rb:89:in `block in initialize'
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/thread_pool.rb:46:in `call'
/Users/mperham/.rvm/gems/ruby-1.9.3-p125@sidekiq/gems/celluloid-0.8.0/lib/celluloid/thread_pool.rb:46:in `block in create'

After 5 seconds, Sidekiq calls terminate on all busy actors. The stack trace results (that's the entire trace).