[rabbitmq-discuss] custom plugin debugging

Jerry Kuch jerryk at rbcon.com
Thu Nov 8 21:28:05 GMT 2012


Looks like the start on rabbitmq_cas_whatever is perhaps undefined or not exported?

Sent from my iPhone (Brevity and typos are hopefully the result of 1-fingered typing rather than rudeness or illiteracy).


On Nov 8, 2012, at 1:09 PM, Prabodh Upreti <prabodh.upreti at vce.com> wrote:

> Hello
> 
> I am trying to test my custom plugin and need to find out what is the best
> way to debug it:
> 
> When I start the server I get is crash:
> 
> broker running
> {"Kernel pid
> terminated",application_controller,"{application_start_failure,rabb
> itmq_cas_authen,{bad_return,{{rabbitmq_cas_authen,start,[normal,[]]},{'EXIT',{un
> def,[{rabbitmq_cas_authen,start,[normal,[]],[]},{application_master,start_it_old
> ,4,[{file,[97,112,112,108,105,99,97,116,105,111,110,95,109,97,115,116,101,114,46
> ,101,114,108]},{line,274}]}]}}}}}"}
> 
> Crash dump was written to: erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,rabbi
> tmq_cas_authen,{bad_return,{{rabbitmq_cas_authen,start,[normal,[]]},{'EXIT',{und
> ef,[{rabbitmq_cas_authen,start,[normal
> 
> 
> how would i go about debugging this
> 
> Log file show this:
> 
> =INFO REPORT==== 8-Nov-2012::15:53:25 ===
>    application: rabbitmq_cas_authen
>    exited: {bad_return,
>                {{rabbitmq_cas_authen,start,[normal,[]]},
>                 {'EXIT',
>                     {undef,
>                         [{rabbitmq_cas_authen,start,[normal,[]],[]},
>                          {application_master,start_it_old,4,
>                              [{file,"application_master.erl"},
>                               {line,274}]}]}}}}
>    type: permanent
> 
> I would appreciate any help. thank you.
> 
> 
> 
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/custom-plugin-debugging-tp23233.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list