FS#39840 - ejabberd (13.12-1) crashes on start

Attached to Project: Community Packages
Opened by Timi (timi) - Sunday, 13 April 2014, 21:00 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 17 April 2014, 09:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

ejabberd (13.12-1) crashes on start with recent erlang (17.0-1)
ejabberdctl stopped working

Additional info:
* package version(s)

ejabberd 13.12-1
erlang 17.0-1

* config and/or log files etc.

/var/log/ejabberd/ejabberd.log:
2014-04-13 22:50:31.833 [info] <0.7.0> Application lager started on node ejabberd@localhost
2014-04-13 22:50:31.860 [info] <0.7.0> Application sasl started on node ejabberd@localhost
2014-04-13 22:50:31.871 [info] <0.7.0> Application crypto started on node ejabberd@localhost
2014-04-13 22:50:31.885 [info] <0.7.0> Application asn1 started on node ejabberd@localhost
2014-04-13 22:50:31.885 [info] <0.7.0> Application public_key started on node ejabberd@localhost
2014-04-13 22:50:31.897 [info] <0.7.0> Application ssl started on node ejabberd@localhost
2014-04-13 22:50:31.901 [info] <0.7.0> Application p1_yaml started on node ejabberd@localhost
2014-04-13 22:50:31.910 [info] <0.7.0> Application p1_tls started on node ejabberd@localhost
2014-04-13 22:50:31.917 [info] <0.7.0> Application p1_xml started on node ejabberd@localhost
2014-04-13 22:50:31.920 [info] <0.7.0> Application p1_stringprep started on node ejabberd@localhost
2014-04-13 22:50:31.924 [info] <0.7.0> Application p1_zlib started on node ejabberd@localhost
2014-04-13 22:50:31.927 [info] <0.7.0> Application p1_cache_tab started on node ejabberd@localhost
2014-04-13 22:50:32.113 [info] <0.7.0> Application mnesia started on node ejabberd@localhost
2014-04-13 22:50:32.193 [error] <0.37.0> CRASH REPORT Process <0.37.0> with 0 neighbours exited with reason: bad argument in call to erlang:iolist_to_binary([3585,3634,3619,3585,3635,3627,3609,3604,3588,3656,3634,3585,3634,3619,3648,3586,3657,3634,3606,...]) in translate:'-load_file/2-fun-0-'/2 line 89 in application_master:init/4 line 133
2014-04-13 22:50:32.193 [info] <0.7.0> Application ejabberd exited with reason: bad argument in call to erlang:iolist_to_binary([3585,3634,3619,3585,3635,3627,3609,3604,3588,3656,3634,3585,3634,3619,3648,3586,3657,3634,3606,...]) in translate:'-load_file/2-fun-0-'/2 line 89

/var/log/ejabberd/crash.log:
2014-04-13 22:50:32 =CRASH REPORT====
crasher:
initial call: application_master:init/4
pid: <0.37.0>
registered_name: []
exception exit: {{bad_return,{{ejabberd_app,start,[normal,[]]},{'EXIT',{badarg,[{erlang,iolist_to_binary,[[3585,3634,3619,3585,3635,3627,3609,3604,3588,3656,3634,3585,3634,3619,3648,3586,3657,3634,3606,3638,3591]],[]},{translate,'-load_file/2-fun-0-',2,[{file,"src/translate.erl"},{line,89}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{translate,load_dir,1,[{file,"src/translate.erl"},{line,64}]},{translate,start,0,[{file,"src/translate.erl"},{line,47}]},{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,49}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,272}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
ancestors: [<0.36.0>]
messages: [{'EXIT',<0.38.0>,normal}]
links: [<0.36.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 219
neighbours:

Steps to reproduce:

systemctl start ejabberd.service
then check the logs
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 17 April 2014, 09:42 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Monday, 14 April 2014, 07:01 GMT
https://github.com/processone/ejabberd/issues/164

> ejabberd is not yet tested with R17

You should downgrade for now.
Comment by Timi (timi) - Monday, 14 April 2014, 07:51 GMT
Thanks for the info; I am going to do that.

Loading...