Skip to content

Instantly share code, notes, and snippets.

@rigid
Created February 7, 2013 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rigid/4732688 to your computer and use it in GitHub Desktop.
Save rigid/4732688 to your computer and use it in GitHub Desktop.
=ERROR REPORT==== 2013-02-07 18:28:50 ===
** State machine <0.630.0> terminating
** Last message in was {ircstring,":niven.freenode.net 433 * danielh :Nickname is already in use."}
** When State == wait_for_registration
** Data == {error,
{xmlelement,"error",
[{"code","409"},{"type","cancel"}],
[{xmlelement,"conflict",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-stanzas"}],
[]},
{xmlelement,"text",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-stanzas"}],
[{xmlcdata,
"danielh :Nickname is already in use."}]}]},
{state,#Port<0.4151>,"utf-8",6667,[],
{[],[]},
{jid,"foo","bar","mobile",
"foo","bar","mobile"},
"irc.bar","irc.freenode.net","danielh",
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],
[["libvisual"|{0,nil}]],
[],[],[],[],[],[],[],[],[]}}},
undefined,mod_irc,[],
[74,79,73,78,32,35,"mychannel",32,[],13,10]}}
** Reason for termination =
** {{badrecord,state},
[{mod_irc_connection,terminate,3,
[{file,"mod_irc_connection.erl"},{line,685}]},
{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,586}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
==> /var/log/jabber/erlang.log <==
=CRASH REPORT==== 7-Feb-2013::18:28:50 ===
crasher:
initial call: mod_irc_connection:init/1
pid: <0.630.0>
registered_name: []
exception exit: {{badrecord,state},
[{mod_irc_connection,terminate,3,
[{file,"mod_irc_connection.erl"},{line,685}]},
{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,586}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
in function gen_fsm:terminate/7 (gen_fsm.erl, line 589)
ancestors: ['ejabberd_mod_irc_sup_bar',ejabberd_sup,<0.37.0>]
messages: []
links: [<0.325.0>,#Port<0.4151>]
dictionary: []
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 3089
neighbours:
=SUPERVISOR REPORT==== 7-Feb-2013::18:28:50 ===
Supervisor: {local,
'ejabberd_mod_irc_sup_bar'}
Context: child_terminated
Reason: {{badrecord,state},
[{mod_irc_connection,terminate,3,
[{file,"mod_irc_connection.erl"},{line,685}]},
{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,586}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
Offender: [{pid,<0.630.0>},
{name,undefined},
{mfargs,{mod_irc_connection,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment