Hi,

I could easily reproduce the issue and I believe it is because Erlang 20
was uploaded last week.

Manually executing
# ejabberdctl register "$USER" "$HOST" "$PASSWD"
returns the following:


Problem 'error {case_clause,
                   {aborted,
                       {undef,
                           [{crypto,rand_bytes,[16],[]},
                            {ejabberd_auth_mnesia,password_to_scram,2,
                                [{file,"src/ejabberd_auth_mnesia.erl"},
                                 {line,453}]},

{ejabberd_auth_mnesia,'-try_register/3-fun-0-',3,
                                [{file,"src/ejabberd_auth_mnesia.erl"},
                                 {line,177}]},
                            {mnesia_tm,apply_fun,3,
                                [{file,"mnesia_tm.erl"},{line,836}]},
                            {mnesia_tm,execute_transaction,5,
                                [{file,"mnesia_tm.erl"},{line,811}]},

{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
                            {ejabberd_auth,try_register,3,

[{file,"src/ejabberd_auth.erl"},{line,193}]},
                            {ejabberd_admin,register,3,
                                [{file,"src/ejabberd_admin.erl"},
                                 {line,379}]}]}}}' occurred executing
the command.
Stacktrace: [{ejabberd_admin,register,3,
                             [{file,"src/ejabberd_admin.erl"},{line,379}]},
             {ejabberd_ctl,call_command,4,
                           [{file,"src/ejabberd_ctl.erl"},{line,324}]},
             {ejabberd_ctl,try_call_command,4,
                           [{file,"src/ejabberd_ctl.erl"},{line,298}]},
             {ejabberd_ctl,process2,4,
                           [{file,"src/ejabberd_ctl.erl"},{line,247}]},
             {ejabberd_ctl,process,2,
                           [{file,"src/ejabberd_ctl.erl"},{line,225}]},
             {rpc,'-handle_call_call/6-fun-0-',5,
                  [{file,"rpc.erl"},{line,197}]}]


This is a much bigger issue than I initially thought and can only be
fixed by packaging and uploading a new version of ejabberd that supports
Erlang 20.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to