[erlang-questions] From rebar2 to rebar3
Grigory Fateyev
gfborn@REDACTED
Fri May 25 14:22:11 CEST 2018
Hello!
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:
{error_logger,{{2018,5,25},{11,30,16}},crash_report,[[{initial_call,{supervisor,kernel,['Argument__1']}},{pid,<0.1970.0>},{registered_name,[]},{error_info,{exit,{on_load_function_failed,riak_ensemble_clock},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{ancestors,[kernel_sup,<0.1946.0>]},{messages,[]},{links,[<0.1947.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,124}],[]]}
{error_logger,{{2018,5,25},{11,30,16}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{on_load_function_failed,riak_ensemble_clock}},{offender,[{pid,undefined},{name,kernel_safe_sup},{mfargs,{supervisor,start_link,[{local,kernel_safe_sup},kernel,safe]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2018,5,25},{11,30,17}},crash_report,[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.1945.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,riak_ensemble_clock}}},{kernel,start,[normal,[]]}},[{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.1944.0>]},{messages,[{'EXIT',<0.1946.0>,normal}]},{links,[<0.1944.0>,<0.1943.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,163}],[]]}
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.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180525/493bcf77/attachment.htm>
More information about the erlang-questions
mailing list