Comments (6)
Hi,
I have tried again with the last version (git) and manually doing the "stringprep.erl" modifications you said.
The result is the same. But now I have a crash log :
[root@rt-ap102 logiciels]# cat /logiciels/ejabberd-20130615/var/lib/ejabberd/log/crash.log
2013-06-15 11:45:27 =ERROR REPORT====
** State machine <0.407.0> terminating
** Last message in was {route,{jid,<<>>,<<"pubsub.xmpp.c14.fr">>,<<>>,<<>>,<<"pubsub.xmpp.c14.fr">>,<<>>},{jid,<<"userbench1">>,<<"xmpp.c14.fr">>,<<"Smack">>,<<"userbench1">>,<<"xmpp.c14.fr">>,<<"Smack">>},{xmlel,<<"iq">>,[{<<"id">>,<<"w4D00-4">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>},{<<"node">>,<<"test1.test1">>}],[<<"leaf">>,{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-open">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-presence">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-whitelist">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#collections">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#config-node">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-and-configure">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#item-ids">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#last-published">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#member-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publisher-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-default">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#auto-create">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-authorize">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#get-pending">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#instant-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#manage-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#modify-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#multi-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#outcast-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#persistent-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publish">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#purge-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retract-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-options">>}],[]},{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"result">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"http://jabber.org/network/serverinfo">>}]}]}]}]}]}}
** When State == session_established
** Data == {state,{socket_state,gen_tcp,#Port<0.4073>,<0.406.0>},ejabberd_socket,#Ref<0.0.0.11492>,false,<<"1055600860">>,{sasl_state,<<"jabber">>,<<"xmpp.c14.fr">>,<<>>,#Fun<ejabberd_c2s.2.49665429>,#Fun<ejabberd_c2s.3.49665429>,#Fun<ejabberd_c2s.4.49665429>,cyrsasl_digest,{state,5,<<"2348657138">>,<<"userbench1">>,<<"userbench1">>,#Fun<ejabberd_c2s.2.49665429>,#Fun<ejabberd_c2s.4.49665429>,ejabberd_auth_internal,<<"xmpp.c14.fr">>,<<"xmpp.c14.fr">>}},c2s,c2s_shaper,false,false,false,false,[verify_none],true,{jid,<<"userbench1">>,<<"xmpp.c14.fr">>,<<"Smack">>,<<"userbench1">>,<<"xmpp.c14.fr">>,<<"Smack">>},<<"userbench1">>,<<"xmpp.c14.fr">>,<<"Smack">>,{{1371,289527,213751},<0.407.0>},{pres_t,1},{pres_f,1},{pres_a,1},{pres_i,0},{xmlel,<<"presence">>,[{<<"id">>,<<"w4D00-3">>}],[]},undefined,{{2013,6,15},{9,45,27}},false,{userlist,none,[],false},c2s,ejabberd_auth_internal,{{10,0,1,55},37964},[{caps_resources,{0,nil}}],<<>>}
** Reason for termination =
** {{badxml,{xmlel,<<"iq">>,[{<<"from">>,<<"pubsub.xmpp.c14.fr">>},{<<"to">>,<<"[email protected]/Smack">>},{<<"id">>,<<"w4D00-4">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>},{<<"node">>,<<"test1.test1">>}],[<<"leaf">>,{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-open">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-presence">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-whitelist">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#collections">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#config-node">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-and-configure">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#item-ids">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#last-published">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#member-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publisher-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-default">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#auto-create">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-authorize">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#get-pending">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#instant-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#manage-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#modify-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#multi-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#outcast-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#persistent-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publish">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#purge-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retract-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-options">>}],[]},{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"result">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"http://jabber.org/network/serverinfo">>}]}]}]}]}]},{{case_clause,<<"leaf">>},[{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,132}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string,1,[{file,"src/xml.erl"},{line,120}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]}]}},[{xml,element_to_string,1,[{file,"src/xml.erl"},{line,121}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]},{ejabberd_c2s,handle_info,3,[{file,"src/ejabberd_c2s.erl"},{line,1508}]},{p1_fsm,handle_msg,10,[{file,"src/p1_fsm.erl"},{line,578}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
2013-06-15 11:45:27 =CRASH REPORT====
crasher:
initial call: gen:init_it/6
pid: <0.407.0>
registered_name: []
exception exit: {{{badxml,{xmlel,<<"iq">>,[{<<"from">>,<<"pubsub.xmpp.c14.fr">>},{<<"to">>,<<"[email protected]/Smack">>},{<<"id">>,<<"w4D00-4">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>},{<<"node">>,<<"test1.test1">>}],[<<"leaf">>,{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-open">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-presence">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-whitelist">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#collections">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#config-node">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-and-configure">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#item-ids">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#last-published">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#member-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publisher-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-default">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#auto-create">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-authorize">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#get-pending">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#instant-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#manage-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#modify-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#multi-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#outcast-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#persistent-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publish">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#purge-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retract-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-options">>}],[]},{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"result">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"http://jabber.org/network/serverinfo">>}]}]}]}]}]},{{case_clause,<<"leaf">>},[{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,132}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string,1,[{file,"src/xml.erl"},{line,120}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]}]}},[{xml,element_to_string,1,[{file,"src/xml.erl"},{line,121}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]},{ejabberd_c2s,handle_info,3,[{file,"src/ejabberd_c2s.erl"},{line,1508}]},{p1_fsm,handle_msg,10,[{file,"src/p1_fsm.erl"},{line,578}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},[{p1_fsm,terminate,7,[{file,"src/p1_fsm.erl"},{line,733}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.37.0>]
messages: []
links: [<0.292.0>]
dictionary: [{'$internal_queue_len',0}]
trap_exit: false
status: running
heap_size: 2586
stack_size: 27
reductions: 17513
neighbours:
2013-06-15 11:45:27 =SUPERVISOR REPORT====
Supervisor: {local,ejabberd_c2s_sup}
Context: child_terminated
Reason: {{badxml,{xmlel,<<"iq">>,[{<<"from">>,<<"pubsub.xmpp.c14.fr">>},{<<"to">>,<<"[email protected]/Smack">>},{<<"id">>,<<"w4D00-4">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>},{<<"node">>,<<"test1.test1">>}],[<<"leaf">>,{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-open">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-presence">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-whitelist">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#collections">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#config-node">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-and-configure">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#item-ids">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#last-published">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#member-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#presence-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publisher-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-default">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#create-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#auto-create">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#access-authorize">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#delete-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#get-pending">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#instant-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#manage-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#modify-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#multi-subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#outcast-affiliation">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#persistent-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#publish">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#purge-nodes">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retract-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-affiliations">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-items">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#retrieve-subscriptions">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscribe">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-notifications">>}],[]},{xmlel,<<"feature">>,[{<<"var">>,<<"http://jabber.org/protocol/pubsub#subscription-options">>}],[]},{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"result">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"http://jabber.org/network/serverinfo">>}]}]}]}]}]},{{case_clause,<<"leaf">>},[{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,132}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string_nocatch,1,[{file,"src/xml.erl"},{line,136}]},{xml,element_to_string,1,[{file,"src/xml.erl"},{line,120}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]}]}},[{xml,element_to_string,1,[{file,"src/xml.erl"},{line,121}]},{xml,element_to_binary,1,[{file,"src/xml.erl"},{line,110}]},{ejabberd_c2s,send_element,2,[{file,"src/ejabberd_c2s.erl"},{line,1665}]},{ejabberd_c2s,handle_info,3,[{file,"src/ejabberd_c2s.erl"},{line,1508}]},{p1_fsm,handle_msg,10,[{file,"src/p1_fsm.erl"},{line,578}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
Offender: [{pid,<0.407.0>},{name,undefined},{mfargs,{ejabberd_c2s,start_link,undefined}},{restart_type,temporary},{shutdown,brutal_kill},{child_type,worker}]
from ejabberd.
Looking forward we have capture the network traffic and it seems that one XML dialog from the client to the server contains is not "full" XML compliant and Ejabberd is no more able to parse it :
12:24:13.970445 IP rt-ap105.gfisoblagnac.37972 > rt-ap102.xmpp-client: Flags [P.], seq 666:786, ack 886, win 140, options [nop,nop,TS val 218773625 ecr 219106865], length 120
0x0000: 000c 29b1 fea7 000c 2969 d62a 0800 4500 ..).....)i.*..E.
0x0010: 00ac 5c8a 4000 4006 c757 0a00 0137 0a00 ..\.@[email protected]..
0x0020: 0134 9454 1466 3094 6e01 74f7 4c44 8018 .4.T.f0.n.t.LD..
0x0030: 008c 4de6 0000 0101 080a 0d0a 3879 0d0f ..M.........8y..
0x0040: 4e31 3c73 7472 6561 6d3a 7374 7265 616d N1<stream:stream
0x0050: 2074 6f3d 2278 6d70 702e 6331 342e 6564 .to="xmpp.c14
0x0060: 662e 6672 2220 786d 6c6e 733d 226a 6162 .fr".xmlns="jab
0x0070: 6265 723a 636c 6965 6e74 2220 786d 6c6e ber:client".xmln
0x0080: 733a 7374 7265 616d 3d22 6874 7470 3a2f s:stream="http:/
0x0090: 2f65 7468 6572 782e 6a61 6262 6572 2e6f /etherx.jabber.o
0x00a0: 7267 2f73 7472 6561 6d73 2220 7665 7273 rg/streams".vers
0x00b0: 696f 6e3d 2231 2e30 223e ion="1.0">
from ejabberd.
@philcero what's wrong with this packet?
from ejabberd.
The problem with badxml is that there is an invalid packet generated by the pubsub service (see <<"leaf">> tag).
AFAIR, this should be fixed in recent versions.
from ejabberd.
Last version corrected the problem, issue terminated...
from ejabberd.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ejabberd.
Related Issues (20)
- Assigning INET_DIST_INTERFACE to an IPv6 address HOT 3
- exception error: {unregistered_route,<<"pubsub.domain.tld">>} HOT 4
- Dependency conflicts when using Timex with Ejabberd HOT 2
- Update mod_muc_room to support XEP-0425 0.3.0 (VERY EARLY DRAFT)
- erts_vsn inside ejabberdctl never gets set HOT 3
- SASL2: Stable resource is used if no user-agent id is set. HOT 8
- Error While call /api/get_user_subscriptions at localhost HOT 3
- Return type of get_vcard API call changed (and is different from docs) HOT 2
- ejabberd do not start after update from 23.10 to 24.02 HOT 5
- Store data into nick column on archive table.
- Date and reason for banned accounts not stored when using SCRAM HOT 6
- How to get the current date for created_at when create a Multi-User Chat. HOT 19
- Stream closed by local host: has been kicked (policy-violation) HOT 2
- Mucsub subscription messages are not receiving when create a new group in a other xmpp connection. HOT 23
- [Question] Custom Module deps HOT 7
- mod_block_strangers: Allow messages from joined MIX channels HOT 1
- "Internal error of module mod_mam has occurred during start" related to origin_id HOT 9
- Error after diabling and enabling back mod_fail2ban HOT 1
- Rebar3 downloads all dependencies in rebar.lock, even the disabled ones
- jose_server.erl - syntax error before: 'catch', function handle_call/3 undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejabberd.