After upgrade from version 2.2.1 to 2.3.1, touch tone heavy application crashes calls 50% of the time

40 views
Skip to first unread message

Douglas Seifert

unread,
Apr 10, 2013, 2:32:34 PM4/10/13
to adhea...@googlegroups.com
Will try to get you a trace log, but this is a running system in production and it has not failed in dev mode.  After the upgrade to 2.3.1, many calls fail with time outs waiting for touch tones from callers with exceptions in the log like this:

[2013-04-10 10:29:11] ERROR Celluloid: Punchblock::Translator::DTMFRecognizer crashed!
Celluloid::DeadActorError: attempted to call a dead actor
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:66:in `rescue in call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:63:in `call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/legacy.rb:14:in `method_missing'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/punchblock-1.8.1/lib/punchblock/translator/dtmf_recognizer.rb:28:in `<<'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `public_send'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:63:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:326:in `block in handle_message'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/tasks/task_fiber.rb:28:in `block in initialize'
[2013-04-10 10:29:11] ERROR Celluloid: Punchblock::Translator::Asterisk::Call crashed!
Celluloid::DeadActorError: attempted to call a dead actor
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:66:in `rescue in call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:63:in `call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/legacy.rb:14:in `method_missing'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/punchblock-1.8.1/lib/punchblock/translator/dtmf_recognizer.rb:28:in `<<'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `public_send'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:63:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:326:in `block in handle_message'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/tasks/task_fiber.rb:28:in `block in initialize'
        (celluloid):0:in `remote procedure call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:69:in `call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/legacy.rb:14:in `method_missing'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/punchblock-1.8.1/lib/punchblock/translator/asterisk/component/input.rb:20:in `block in register_dtmf_event_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:105:in `call'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:105:in `call_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:91:in `block (3 levels) in trigger_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:87:in `catch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:87:in `block (2 levels) in trigger_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:85:in `each'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:85:in `find'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:85:in `block in trigger_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:84:in `catch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/has-guarded-handlers-1.5.0/lib/has_guarded_handlers.rb:84:in `trigger_handler'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/punchblock-1.8.1/lib/punchblock/translator/asterisk/call.rb:155:in `process_ami_event'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `public_send'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:11:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/calls.rb:96:in `dispatch'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/actor.rb:326:in `block in handle_message'
        /opt/medready/mr1650/shared/bundle/ruby/1.9.1/gems/celluloid-0.13.0/lib/celluloid/tasks/task_fiber.rb:28:in `block in initialize'

Ben Langfeld

unread,
Apr 11, 2013, 9:10:10 PM4/11/13
to adhea...@googlegroups.com
Ai bollocks

Can you explain the behaviour a little more. Do these exceptions actually trigger any noticeable failure for the user or not? It looks like they are simply stale resources hanging around. I'll see what I can do to tidy them up over the weekend.

Enviado via iPad
--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adhearsion+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ben Langfeld

unread,
Apr 12, 2013, 6:55:31 PM4/12/13
to adhea...@googlegroups.com
Just received another report of this and it's solidified my thinking on the cause. I should have a fix for you by Monday :)

Regards,
Ben Langfeld

Ben Langfeld

unread,
Apr 14, 2013, 10:28:05 AM4/14/13
to adhea...@googlegroups.com
I just pushed a commit which I think will resolve this for you: https://github.com/adhearsion/punchblock/commit/fa9f5cb75a2960fda8a524a89b6704af1603c4c1

Let me know if the problem continues or if this fixes it and I'll see if we can get it released quickly.

Regards,
Ben Langfeld
Reply all
Reply to author
Forward
0 new messages