[rabbitmq-discuss] erlang client crashing

joe lee codewalkerjoe at gmail.com
Fri Mar 14 23:44:47 GMT 2008


I have tried using snapshot version of erlang rabbitmq client and rabbitmq
server, but it has not been a success.

client used: rabbitmq-erlang-client-200803131204.tar.gz
server used: rabbitmq-200712231455

Here is the erl shell output.  Maybe someone out there knows what the
problem is.

(rabbit at home1)1> blog_example_1:amqp_lifecycle().
Connection: {<0.160.0>,direct}
Message received: <<"Hello World">>
** exception exit: {{{amqp_channel,handle_info,2},
                     {line,246},
                     function_clause,
                     [{send_command_and_shutdown,{'channel.close_ok'}},
                      {channel_state,1,<0.160.0>,undefined,<0.162.0>,
                          #Fun<amqp_direct_driver.do.2>,
                          #Fun<amqp_direct_driver.do.3>,
                          {<0.46.0>,#Ref<0.0.0.561>},
                          <<>>,false,undefined,
                          {dict,0,16,16,8,80,48,{[],[],...},{{...}}}}]},
                    {gen_server,call,
                        [<0.161.0>,
                         {call,{'channel.close',200,<<"Goodbye">>,0,0}}]}}
     in function  gen_server:call/2
     in call from blog_example_1:amqp_lifecycle/0
(rabbit at home1)2>
=ERROR REPORT==== 14-Mar-2008::19:18:18 ===
** Generic server <0.161.0> terminating
** Last message in was {send_command_and_shutdown,{'channel.close_ok'}}
** When Server state == {channel_state,1,<0.160.0>,undefined,<0.162.0>,
                            #Fun<amqp_direct_driver.do.2>,
                            #Fun<amqp_direct_driver.do.3>,
                            {<0.46.0>,#Ref<0.0.0.561>},
                            <<>>,false,undefined,
                            {dict,0,16,16,8,80,48,

{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}}}
** Reason for termination ==
** {{amqp_channel,handle_info,2},
    {line,246},
    function_clause,
    [{send_command_and_shutdown,{'channel.close_ok'}},
     {channel_state,1,<0.160.0>,undefined,<0.162.0>,
                    #Fun<amqp_direct_driver.do.2>,
                    #Fun<amqp_direct_driver.do.3>,
                    {<0.46.0>,#Ref<0.0.0.561>},
                    <<>>,false,undefined,
                    {dict,0,16,16,8,80,48,
                          {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                          {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                            []}}}}]}

=CRASH REPORT==== 14-Mar-2008::19:18:18 ===
  crasher:
    pid: <0.161.0>
    registered_name: []
    exception exit: {{amqp_channel,handle_info,2},
                     {line,246},
                     function_clause,
                     [{send_command_and_shutdown,{'channel.close_ok'}},
                      {channel_state,1,<0.160.0>,undefined,<0.162.0>,
                          #Fun<amqp_direct_driver.do.2>,
                          #Fun<amqp_direct_driver.do.3>,
                          {<0.46.0>,#Ref<0.0.0.561>},
                          <<>>,false,undefined,
                          {dict,0,16,16,8,80,48,
                              {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                               []},

{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                []}}}}]}
      in function  gen_server:terminate/6
    initial call: gen:init_it(gen_server,<0.160.0>,<0.160.0>,amqp_channel,
                              [{channel_state,1,<0.160.0>,undefined,
                                   undefined,#Fun<amqp_direct_driver.do.2>,
                                   #Fun<amqp_direct_driver.do.3>,undefined,
                                   undefined,false,undefined,
                                   {dict,0,16,16,8,80,48,
                                       {[],[],[],[],[],[],[],[],[],[],[],[],
                                        [],[],[],[]},

{{[],[],[],[],[],[],[],[],[],[],[],[],
                                         [],[],[],[]}}}}],
                              [])
    ancestors: [<0.160.0>,<0.46.0>]
    messages: []
    links: [<0.160.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 23
    reductions: 477
  neighbours:


thank you.
joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080314/45fabc70/attachment.htm 


More information about the rabbitmq-discuss mailing list