#134 new
eXine

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 methodassociate_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:innew' 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:inblock 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:ineventable_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:ineach' 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:inblock 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:inrun' 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:inrun' 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:instart' 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:inrun_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

    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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages