Thin crashes when connecting with eventmachine-0.12.10
Reported by eXine | June 3rd, 2010 @ 05:02 AM
I'm not completely sure if it's Thin fault or eventmachine's, but I bet on first.
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/connection.rb:39:in
block in new': undefined
method
associate_callback_target' for #Thin::Connection:0xa3402c8
(NoMethodError) from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in
instance_eval' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in
new'
from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1430:in
event_callback' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:815:in
block
in eventable_read' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:812:in
times' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:812:in
eventable_read'
from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in
block in crank_selectables' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in
each'
from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in
crank_selectables' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:324:in
block
in run' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:318:in
loop' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:318:in
run'
from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:64:in
run_machine' from
/usr/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
run'
from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in
start' from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/server.rb:156:in
start'
from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/controllers/controller.rb:80:in
start' from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:177:in
run_command'
from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:143:in
run!' from
/usr/lib/ruby/gems/1.9.1/gems/thin-1.2.7/bin/thin:6:in
' from
/usr/bin/thin:19:in load' from
/usr/bin/thin:19:in
'
After reverting to eventmachine-0.12.8 and removing 0.12.10 it works fine.
Comments and changes to this ticket
-
rsclarke June 24th, 2010 @ 04:50 PM
I too came across a similar issue when updating thin recently regarding Thin::UnixConnection, same undefined method error. I forcibly uninstalled eventmachine 0.12.10 gem and reinstalled (rather than reverting to 0.12.8) and it worked fine after starting thin again.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป