[ejabberd] Ejabberd crashes on as soon as user connects to it

Abhishek Ranjan abhishek at blacklightsw.com
Mon May 8 13:45:05 MSK 2017


This is the full error

2017-05-08 10:38:17 =ERROR REPORT====
** Generic server <0.480.0> terminating
** Last message in was {'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"type">>,<<"set">>},{<<"id">>,<<"purplef73fb28">>}],[{xmlel,<<"bind">>,[{<<"xmlns">>,<<"urn:$
** When Server state == #{auth_module => ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip => {{203,92,39,138},62959},lang => <<>>,lserver => <<"bsw.c$
** Reason for termination ==
** {function_clause,[{ejabberd_c2s,bind,[<<"-">>,#{auth_module => ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip => {{203,92,39,138},62959},lang =>$

2017-05-08 10:38:17 =CRASH REPORT====
crasher:
initial call: gen:init_it/6
pid: <0.480.0>
registered_name: []
exception exit: {{function_clause,[{ejabberd_c2s,bind,[<<"-">>,#{auth_module => ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip => {{203,92,39,1$
ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.41.0>]
messages: []
links: [#Port<0.16043>,<0.477.0>]
dictionary: [{'$internal_queue_len',0},{already_terminated,true}]
trap_exit: false
status: running
heap_size: 1598
stack_size: 27
reductions: 10361
neighbours:

2017-05-08 10:38:17 =SUPERVISOR REPORT====
Supervisor: {local,ejabberd_c2s_sup}
Context: child_terminated
Reason: {function_clause,[{ejabberd_c2s,bind,[<<"-">>,#{auth_module => ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip => {{203,92,39,138},$
Offender: [{pid,<0.480.0>},{name,undefined},{mfargs,{ejabberd_c2s,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]

> On May 8, 2017 at 4:02 PM Evgeny Khramtsov <xramtsov at gmail.com> wrote:
>
>
> Mon, 8 May 2017 15:56:10 +0530 (IST)
> Abhishek Ranjan <abhishek at blacklightsw.com> wrote:
>
> > I am using pidgin client to make a chat application using ejabberd
> > server. Ejabberd server allowed the two users to register . But after
> > that when any of the two users try to connect the server crashes with
> > the following error :
> >
> > [error] gen_server <0.480.0> terminated with reason: no function
> > clause matching ejabberd_c2s:bind(<<"-">>, #{auth_module =>
> > ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip =>
> > {{203,92,...},...},...}) line 388
> >
> >
> > [error] CRASH REPORT Process <0.480.0> with 0 neighbours exited with
> > reason: no function clause matching ejabberd_c2s:bind(<<"-">>,
> > #{auth_module => ejabberd_auth_mnesia,csi_queue =>
> > {0,0,#{}},csi_state => active,ip => {{203,92,...},...},...}) line 388
> > in p1_server:terminate/7 line 878
> >
> >
> > [error] Supervisor ejabberd_c2s_sup had child undefined started with
> > {ejabberd_c2s,start_link,undefined} at <0.480.0> exit with reason no
> > function clause matching ejabberd_c2s:bind(<<"-">>, #{auth_module =>
> > ejabberd_auth_mnesia,csi_queue => {0,0,#{}},csi_state => active,ip =>
> > {{203,92,...},...},...}) line 388 in context child_terminated
> >
> >
>
> We need a full error from crash.log. Also, looks like an installation
> mess again (a mix of different versions of beam files).
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20170508/662a72ce/attachment.html>


More information about the ejabberd mailing list