Below is the error i am getting after i have updated to Ejab 15.09 for mod_mam module though it is working fine for me too.
[error] <0.397.0>@gen_iq_handler:process_iq:120 {badarg,[{erlang,binary_to_atom,[null,utf8],[]},{jlib,binary_to_atom,1,[{file,"src/jlib.erl"},{line,934}]},{mod_mam,'-select/8-fun-2-',3,[{file,"src/mod_mam.erl"},{line,674}]},{lists,map,2,[{file,"lists.erl"},{line,1237}]},{mod_mam,select,8,[{file,"src/mod_mam.erl"},{line,668}]},{mod_mam,select_and_send,10,[{file,"src/mod_mam.erl"},{line,568}]},{gen_iq_handler,process_iq,6,[{file,"src/gen_iq_handler.erl"},{line,119}]},{gen_iq_handler,handle_info,2,[{file,"src/gen_iq_handler.erl"},{line,191}]}]}
[error] <0.4353.0>@ejabberd_hooks:run_fold1:371 {function_clause,[{mod_roster,raw_to_record,[<<"ejab.ngageapp.com">>,error],[{file,"src/mod_roster.erl"},{line,1291}]},{mod_roster,fill_subscription_lists,4,[{file,"src/mod_roster.erl"},{line,688}]},{ejabberd_hooks,safe_apply,3,[{file,"src/ejabberd_hooks.erl"},{line,385}]},{ejabberd_hooks,run_fold1,4,[{file,"src/ejabberd_hooks.erl"},{line,368}]},{ejabberd_c2s,wait_for_session,2,[{file,"src/ejabberd_c2s.erl"},{line,1132}]},{p1_fsm,handle_msg,10,[{file,"src/p1_fsm.erl"},{line,582}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
running hook: {roster_get_subscription_lists,[<<"919833334099">>,<<"ejab.ngageapp.com">>]}
And i am sharing my crash log too :
heap_size: 10958
stack_size: 27
reductions: 3720562
neighbours:
2015-11-02 10:32:04 =SUPERVISOR REPORT====
Supervisor: {local,ejabberd_c2s_sup}
Context: child_terminated
Reason: {function_clause,[{jlib,jid_to_string,[error],[{file,"src/jlib.erl"},{line,260}]},{ejabberd_c2s,'-handle_unacked_stanzas/1-fun-6-',5,[{file,"src/ejabberd_c2s.erl"},{line,2925}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_c2s,terminate,3,[{file,"src/ejabberd_c2s.erl"},{line,1871}]},{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,740}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
Offender: [{pid,<0.23211.26>},{name,undefined},{mfargs,{ejabberd_c2s,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]
Maybe it had some problem
Maybe it had some problem when updating the MAM tables in the Mnesia internal database. If its content isn't highly valuable, you can try to delete the tables archive_msg and archive_prefs. For that, you can use the ejabberd WebAdmin -> Nodes -> your node -> Database page.
I am still getting the same
I am still getting the same error even after deleting the archive messages from archive table and my archive_prefs is empty .