Giter Club home page Giter Club logo

Comments (4)

bodgix avatar bodgix commented on July 30, 2024

The actual error message is

{:undef, [{:pkt, :icmp, [{:icmp, 8, 0, 0, 43092, 0, {127, 0, 0, 1}, <<0, 0, 0, 0>>, 0, 0, 0, 0, 0}], []}, {:gen_icmp, :packet, 2, [file: '...gen_icmp/src/gen_icmp.erl', line: 355]}, {:gen_icmp, :"-ping/3-fun-3-", 6, [file: 'gen_icmp/src/gen_icmp.erl', line: 195]}]}

from gen_icmp.

msantos avatar msantos commented on July 30, 2024

Looks like the pkt library can't be found. Check if it is being included in the release.

from gen_icmp.

bodgix avatar bodgix commented on July 30, 2024

I added :pkt to extra_applications in mix.exs and looks like it is now included in the release (lib/pkt-0.4.4/)

I'm getting an error much sooner my release is crashing at the very beginning with this error:

2018-11-30 01:34:15.525244 crash_report        #{label=>{proc_lib,crash},report=>[[{initial_call,{supervisor,kernel,['Argument__1']}},{pid,<0.1306.0>},{registered_name,[]},{error_info,{exit,{on_load_function_failed,procket},[{init,run_on_load_handlers,0,[]},{kernel,init,1,[{file,"kernel.erl"},{line,212}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,295}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}},{ancestors,[kernel_sup,<0.1281.0>]},{message_queue_len,0},{messages,[]},{links,[<0.1283.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,273}],[]]}
2018-11-30 01:34:15.525299 supervisor_report   #{label=>{supervisor,start_error},report=>[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{on_load_function_failed,procket}},{offender,[{pid,undefined},{id,kernel_safe_sup},{mfargs,{supervisor,start_link,[{local,kernel_safe_sup},kernel,safe]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
2018-11-30 01:34:16.531756 crash_report        #{label=>{proc_lib,crash},report=>[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.1280.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,procket}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}},{ancestors,[<0.1279.0>]},{message_queue_len,1},{messages,[{'EXIT',<0.1281.0>,normal}]},{links,[<0.1279.0>,<0.1277.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,27},{reductions,193}],[]]}
2018-11-30 01:34:16.532733 std_info            #{label=>{application_controller,exit},report=>[{application,kernel},{exited,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,procket}}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,procket}}},{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,procket}}},{kernel,start,[normal,[]]}}})

Crash dump is being written to: erl_crash.dump...done

from gen_icmp.

bodgix avatar bodgix commented on July 30, 2024

I changed the version of :gen_icmp from tag: 0.5.3 to the latest version and the error above went away.

Thanks a lot @msantos

from gen_icmp.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.