muc_room crashes

sometimes when a user joins a muc_room, the whole room crashes and throws everyone but the one joining out :( it needs to be reconfigured then.. if this error occurs, log says:
[i changed some of the names and content to xxxxxx]

=ERROR REPORT==== 2006-08-24 02:56:39 ===
** State machine <0.267.0> terminating 
** Last event in was {route,{jid,"system",
                                 "xxx.netzbeben.de",
                                 "Exodus",
                                 "system",
                                 "xxx.netzbeben.de",
                                 "Exodus"},
                            [], 
[..and so on..]

** Reason for termination = 
** {badarg,[{io,format,
                [<0.40.0>,
                 "~s~n",
                 {state,"lobby",
                        "conference.xxx.netzbeben.de",
                        "xxx.netzbeben.de",
                        {muc,muc_admin,muc_admin},
                        {jid,"lobby",
                             "conference.xxx.netzbeben.de",
                             [],
                             "lobby",
                             "conference.xxx.netzbeben.de",
                             []},
                        {config,[],
                                true,
                                true,
                                true,
                                true,
                                true,
                                true,
                                false,
                                true,
                                false,
                                false,
                                false,
                                [],
                                true,
                                true},
                        {dict,5,
                              16,
                              16,
                              8,
                              80,
                              48,
                              {[],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               []},
                              {{[[{"rxxxxxxx",
                                   "verrueckt.de",
                                   "2d71228bc7f0eeb7afdd4ec24154efb4caf68091"}|
                                  {user,
                                      {jid,
                                          "Rxxxxxxx",
                                          "verrueckt.de",
                                          "2d71228bc7f0eeb7afdd4ec24154efb4caf68091",
                                          "rxxxxxxx",
                                          "verrueckt.de",
                                          "2d71228bc7f0eeb7afdd4ec24154efb4caf68091"},
                                      "Rxxxxxxx",
                                      moderator,
                                      {xmlelement,
                                          "presence",
                                          [{"to",
                                            "lobby@conference.xxx.netzbeben.de/Rxxxxxxx"}],
                                          [{xmlelement,
                                               "status",
                                               [],
                                               [{xmlcdata,<<" ">>}]},
                                           {xmlelement,
                                               "show",
                                               [],
                                               [{xmlcdata,<<"dnd">>}]}]}}]],
                                [],
                                [],
                                [[{"axxxxxxx",
                                   "verrueckt.de",
                                   "8619ab533c63d2d67310f4e1bd6096567780bcc0"}|
                                  {user,
                                      {jid,
                                          "Axxxxxxx",
                                          "verrueckt.de",
                                          "8619ab533c63d2d67310f4e1bd6096567780bcc0",
                                          "axxxxxxx",
                                          "verrueckt.de",
                                          "8619ab533c63d2d67310f4e1bd6096567780bcc0"},
                                      "Axxxxxxx",
                                      participant,
                                      {xmlelement,
                                          "presence",
                                          [{"to",
                                            "lobby@conference.xxx.netzbeben.de/Axxxxxx"}],
                                          []}}]],
                                [],
                                [],
                                [[{"pxxxx",
                                   "verrueckt.de",
                                   "f0dff4d244be8906a36c6db2b976acbf5907d747"}|
                                  {user,
                                      {jid,
                                          "pxxxx",
                                          "verrueckt.de",
                                          "f0dff4d244be8906a36c6db2b976acbf5907d747",
                                          "pxxxx",
                                          "verrueckt.de",
                                          "f0dff4d244be8906a36c6db2b976acbf5907d747"},
                                      "pxxxx",
                                      participant,
                                      {xmlelement,
                                          "presence",
                                          [{"to",
                                            "lobby@conference.xxx.netzbeben.de/pxxxx"}],
                                          []}}]],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [[{"axxxxxxxxxx",
                                   "verrueckt.de",
                                   "695d7e17c53de0637dd9a726cd2148ff5738d2a8"}|
                                  {user,
                                      {jid,
                                          "axxxxxxxxxx",
                                          "verrueckt.de",
                                          "695d7e17c53de0637dd9a726cd2148ff5738d2a8",
                                          "axxxxxxxxxx",
                                          "verrueckt.de",
                                          "695d7e17c53de0637dd9a726cd2148ff5738d2a8"},
                                      "axxxxxxxxxx",
                                      participant,
                                      {xmlelement,
                                          "presence",
                                          [{"to",
                                            "lobby@conference.xxx.netzbeben.de/axxxxxxxxxx"}],
                                          [{xmlelement,
                                               "status",
                                               [],
                                               [{xmlcdata,<<"playing">>}]},
                                           {xmlelement,
                                               "show",
                                               [],
                                               [{xmlcdata,<<"xa">>}]}]}}]],
                                [],
                                [[{"philipp","verrueckt.de","Gajim"}|
                                  {user,
                                      {jid,
                                          "philipp",
                                          "verrueckt.de",
                                          "Gajim",
                                          "philipp",
                                          "verrueckt.de",
                                          "Gajim"},
                                      "philipp",
                                      moderator,
                                      {xmlelement,
                                          "presence",
                                          [{"to",
                                            "lobby@conference.xxx.netzbeben.de/philipp"},
                                           {"id","56"}],
                                          [{xmlelement,
                                               "x",
                                               [{"xmlns",
                                                 "vcard-temp:x:update"}],
                                               []},
                                           {xmlelement,
                                               "c",
                                               [{"xmlns",
                                                 "http://jabber.org/protocol/caps"},
                                                {"node",
                                                 "http://gajim.org/caps"},
                                                {"ext","ftrans"},
                                                {"ver","0.10.1"}],
                                               []}]}}]],
                                []}}},
                        {dict,5,
                              16,
                              16,
                              8,
                              80,
                              48,
                              {[],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               []},
                              {{[],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [[{"xxxxx","verrueckt.de",[]}|owner]],
                                [],
                                [[{"philipp","verrueckt.de",[]}|owner],
                                 [{"xxxxxxxxxx","verrueckt.de",[]}|admin]],
                                [[{"rxxxxxxx","verrueckt.de",[]}|admin]],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [[{"xxxxxx","verrueckt.de",[]}|{outcast,[]}]]}}},
                        {lqueue,{[{"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"hi xxx (xxx)">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:56:14"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,56,14}},
                                   221},
                                  {"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"hi">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:56:01"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,56,1}},
                                   192},
                                  {"philipp",
                                   {xmlelement,
                                       "message",
                                       [{"to",
                                         "lobby@conference.xxx.netzbeben.de"},
                                        {"type","groupchat"},
                                        {"id","62"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"huhu">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:53"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,53}},
                                   202},
                                  {"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"dies und das">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:42"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,42}},
                                   211},
                                  {"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"und">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:35"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,35}},
                                   194},
                                  {"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"lang ists her">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:27"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,27}},
                                   209},
                                  {"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"hi phil">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:26"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,26}},
                                   197},
                                  {"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"ihr seid zusammen">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:55:14"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,55,14}},
                                   220},
                                  {"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"für dich">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:54:27"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,54,27}},
                                   216},
                                  {"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"muuuhh">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:54:18"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,54,18}},
                                   197},
                                  {"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"ja der ists">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:53:58"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,53,58}},
                                   211}],
                                 [{"pxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,<<"und eine">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:51:57"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,51,57}},
                                   201},
                                  {"Axxxxxxx",
                                   {xmlelement,
                                       "message",
                                       [{"type","groupchat"},
                                        {"to",
                                         "lobby@conference.xxx.netzbeben.de"}],
                                       [{xmlelement,
                                            "body",
                                            [],
                                            [{xmlcdata,
                                                 <<"sie schläft">>}]},
                                        {xmlelement,
                                            "x",
                                            [{"xmlns","jabber:x:delay"},
                                             {"stamp","20060824T00:53:33"}],
                                            []}]},
                                   false,
                                   {{2006,8,24},{0,53,33}},
                                   220}]},
                                20,
                                20},
                        "Offener Chat",
                        "philipp",
                        false}]},
            {mod_muc_room,iq_disco_info_extras,2},
            {mod_muc_room,process_iq_disco_info,4},
            {mod_muc_room,normal_state,2},
            {gen_fsm,handle_msg,7},
            {proc_lib,init_p,5}]}

thanks for your help.

flip

Even if it isn't mentioned,

Even if it isn't mentioned, the error ends with mod_muc_log trying to print the full room configuration, or something like that.

  1. What ejabberd and Erlang version?
  2. Do you have mod_muc_log enabled?
  3. Does logging work on other chatrooms?
  4. Does the crash happen only when that particular user joins?
  5. Can you tell that person to use another Jabber client and check if it crashes?
  6. If it only happens with that specific Jabber client and version, which one and version?

null and void

there were many modifications, so i tried it with the current svn-version and everything works fine. the problem is one of my own modifications :) so don't worry.

flip

Syndicate content