<div dir="ltr">Taavi, thank you!<div><br></div><div>Your advice is very close to the reason. At least I got another error related to eleveldb.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-25 15:42 GMT+03:00  <span dir="ltr"><<a href="mailto:taavi@uninet.ee" target="_blank">taavi@uninet.ee</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This log indicates, that<br>
<br>
failure is in ‘on_load_function_fail’, which tries to load ‘riak_ensemble_clock'<br>
- this is module trying to load NIF i.e. natively implemented function i.e. C-compiled module<br>
- quite likely something bad had happened and C module is not compiled correctly and is not present<br>
<br>
Google indicates, that people have struggled with similar problems before<br>
and had to help rebar configuration<br>
<br>
<a href="https://github.com/basho/riak_ensemble/issues/122" rel="noreferrer" target="_blank">https://github.com/basho/riak_<wbr>ensemble/issues/122</a><br>
<br>
Maybe this will help you further..<br>
<br>
best regards,<br>
taavi<br>
<div><div class="h5"><br>
<br>
> On 25 May 2018, at 15:22, Grigory Fateyev <<a href="mailto:gfborn@gmail.com">gfborn@gmail.com</a>> wrote:<br>
> <br>
> Hello!<br>
> <br>
> We have a big project with a lot of dependencies and legacy code. I have a task to move it to rebar3. I could compile and make a release, but couldn't start it. It returns me:<br>
> <br>
> {error_logger,{{2018,5,25},{<wbr>11,30,16}},crash_report,[[{<wbr>initial_call,{supervisor,<wbr>kernel,['Argument__1']}},{pid,<wbr><0.1970.0>},{registered_name,[<wbr>]},{error_info,{exit,{on_load_<wbr>function_failed,riak_ensemble_<wbr>clock},[{gen_server,init_it,6,<wbr>[{file,"gen_server.erl"},{<wbr>line,328}]},{proc_lib,init_p_<wbr>do_apply,3,[{file,"proc_lib.<wbr>erl"},{line,239}]}]}},{<wbr>ancestors,[kernel_sup,<0.1946.<wbr>0>]},{messages,[]},{links,[<0.<wbr>1947.0>]},{dictionary,[]},{<wbr>trap_exit,true},{status,<wbr>running},{heap_size,376},{<wbr>stack_size,27},{reductions,<wbr>124}],[]]}<br>
> {error_logger,{{2018,5,25},{<wbr>11,30,16}},supervisor_report,[<wbr>{supervisor,{local,kernel_sup}<wbr>},{errorContext,start_error},{<wbr>reason,{on_load_function_<wbr>failed,riak_ensemble_clock}},{<wbr>offender,[{pid,undefined},{<wbr>name,kernel_safe_sup},{mfargs,<wbr>{supervisor,start_link,[{<wbr>local,kernel_safe_sup},kernel,<wbr>safe]}},{restart_type,<wbr>permanent},{shutdown,infinity}<wbr>,{child_type,supervisor}]}]}<br>
> {error_logger,{{2018,5,25},{<wbr>11,30,17}},crash_report,[[{<wbr>initial_call,{application_<wbr>master,init,['Argument__1','<wbr>Argument__2','Argument__3','<wbr>Argument__4']}},{pid,<0.1945.<wbr>0>},{registered_name,[]},{<wbr>error_info,{exit,{{shutdown,{<wbr>failed_to_start_child,kernel_<wbr>safe_sup,{on_load_function_<wbr>failed,riak_ensemble_clock}}},<wbr>{kernel,start,[normal,[]]}},[{<wbr>application_master,init,4,[{<wbr>file,"application_master.erl"}<wbr>,{line,133}]},{proc_lib,init_<wbr>p_do_apply,3,[{file,"proc_lib.<wbr>erl"},{line,239}]}]}},{<wbr>ancestors,[<0.1944.0>]},{<wbr>messages,[{'EXIT',<0.1946.0>,<wbr>normal}]},{links,[<0.1944.0>,<<wbr>0.1943.0>]},{dictionary,[]},{<wbr>trap_exit,true},{status,<wbr>running},{heap_size,376},{<wbr>stack_size,27},{reductions,<wbr>163}],[]]}<br>
> <br>
> I have two theories why it so, either not all deps in the release or don't start needed apps. How to understand the issue? I've read 'crash.dump', but it has a few info to get the reason.<br>
> <br>
> Thank you!<br>
</div></div>> ______________________________<wbr>_________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br></div>