[ejabberd] Disconnects related to error report State machine <0.18424.612> terminating ... badmatch

Favio Manríquez León favio at favrik.com
Fri Aug 14 00:49:08 MSD 2009


Hello,

I'm getting random disconnects on a web application that uses BOSH,
mod_muc, and mod_disco.  I'm using ejabberd-2.0.2_2.  The disconnects
appear to be related to this error (The error is reported almost at
the same time the disconnect happens):

=ERROR REPORT==== 2009-08-13 15:20:36 ===
** State machine <0.18424.612> terminating
** Last message in was {'$gen_sync_all_state_event',
                           {<0.20825.612>,#Ref<0.0.726.147657>},
                           {http_put,630279393,
                               [{"rid","630279393"},
                                {"xmlns",
                                 "http://jabber.org/protocol/httpbind"},
                                {"sid",
                                 "9aacac64a0a203626281cbb887ef33c209987bb3"}],
                               [],1,[],
                               {{192,168,100,27},39718}}}
** When State == loop
**      Data  == {state,"9aacac64a0a203626281cbb887ef33c209987bb3",630279394,
                        [],
                        {http_bind,<0.18424.612>,{{192,168,100,27},47059}},
                        [],[],
                        {<0.18425.612>,ok},
                        <0.18425.612>,0,undefined,undefined,1250194835595226,
                        #Ref<0.0.726.147551>,0,
                        [{hbr,630279394,[],[],
                              [[],60,"iq",
                               [[32,"from",61,39,
                                 "conference.example.com",39],
                                [32,"to",61,39,
                                 "user_319 at bosh1.example.com/Home",39],
                                [32,"type",61,39,"result",39]],
                               62,
                               [[60,"query",
                                 [[32,"xmlns",61,39,
                                   "http://jabber.org/protocol/disco#items",
                                   39]],
                                 62,
                                 [[60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13611-165 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",79,118,101,114,116,117,114,102,
                                      32,77,111,116,111,114,115,"&quot;",125,
                                      124,32,40,50,41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13623-248 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",82,101,100,32,77,99,67,111,109,
                                      98,115,32,84,111,121,111,116,97,
                                      "&quot;",125,124,32,40,50,41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13619-360 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",76,117,99,107,121,32,77,111,
                                      116,111,114,115,"&quot;",125,124,32,40,
                                      50,41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13621-340 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",77,99,67,111,109,98,115,32,65,
                                      117,116,111,109,111,116,105,118,101,32,
                                      71,114,111,117,112,"&quot;",125,124,32,
                                      40,49,41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,

"negotiation-9430-298 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",110,97,109,101,"&quot;",58,
                                      "&quot;","&quot;",44,"&quot;",115,101,
                                      108,108,101,114,95,112,114,111,100,117,
                                      99,116,95,105,100,"&quot;",58,"&quot;",
                                      83,51,53,51,51,"&quot;",44,"&quot;",98,
                                      117,115,105,110,101,115,115,95,110,97,
                                      109,101,"&quot;",58,"&quot;",84,104,101,
                                      32,83,104,97,114,112,101,115,116,32,82,
                                      105,100,101,115,"&quot;",44,"&quot;",
                                      112,114,111,100,117,99,116,95,105,100,
                                      "&quot;",58,"&quot;",52,48,57,57,
                                      "&quot;",125,124,32,40,50,41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13612-231 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",83,111,117,116,104,119,101,115,
                                      116,32,68,101,97,108,101,114,32,71,114,
                                      111,117,112,"&quot;",125,124,32,40,50,
                                      41],
                                     39]],
                                   47,62],
                                  [60,"item",
                                   [[32,"jid",61,39,
                                     "chat-13535-248 at conference.example.com",
                                     39],
                                    [32,"name",61,39,
                                     [123,"&quot;",99,104,97,116,"&quot;",58,
                                      "&quot;",82,101,100,32,77,99,67,111,109,
                                      98,115,32,84,111,121,111,116,97,
                                      "&quot;",125,124,32,40,52,41],
                                     39]],
                                   47,62]],
                                 60,47,"query",62]],
                               60,47,"iq",62]}],
                        {{192,168,100,27},39707}}
** Reason for termination =
** {{badmatch,[]},
    [{ejabberd_http_bind,handle_sync_event,4},
     {gen_fsm,handle_msg,7},
 {proc_lib,init_p,5}]}


Any ideas?


Thanks.


More information about the ejabberd mailing list