Skip to content

Instantly share code, notes, and snippets.

@voluntas
Created April 25, 2023 08:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
=ERROR REPORT==== 25-Apr-2023::07:18:46.026285 UTC ===
** State machine <0.413110.0> terminating
** Last event = {{call,{<0.413109.0>,#Ref<0.2566139405.1771831297.710>}},
close}
** When server state = {{recv,
{select_info,recvfrom,
#Ref<0.2566139405.1771831297.706>}},
{{params,
{'$socket',#Ref<0.2566139405.1771700225.222180>},
<0.413109.0>,
#Ref<0.2566139405.1771569153.222179>,[]},
#{active => once,mode => binary,deliver => term,
exit_on_close => true,header => 0,
read_packets => 5,mod => inet6_udp,
start_opts => [],recv_length => 0}}}
** Reason for termination = error:{case_clause,{error,select_sent}}
** Callback modules = [gen_udp_socket]
** Callback mode = handle_event_function
** Stacktrace =
** [{gen_udp_socket,cleanup_recv,4,[{file,"gen_udp_socket.erl"},{line,646}]},
{gen_udp_socket,handle_event,4,[{file,"gen_udp_socket.erl"},{line,1356}]},
{gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1379}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]
** Client <0.413109.0> stacktrace
** [{gen,do_call,4,[{file,"gen.erl"},{line,240}]},
{gen_statem,call,3,[{file,"gen_statem.erl"},{line,905}]},
{gen_udp_socket,call,2,[{file,"gen_udp_socket.erl"},{line,1087}]},
{gen_udp_socket,close_server,1,[{file,"gen_udp_socket.erl"},{line,111}]},
{gen_udp_socket,close,1,[{file,"gen_udp_socket.erl"},{line,105}]},
{app_udp,maybe_socket_close,1,
[{file,"/app/src/app_udp.erl"},{line,587}]},
{gen_server,try_terminate,3,[{file,"gen_server.erl"},{line,1125}]},
{gen_server,terminate,10,[{file,"gen_server.erl"},{line,1321}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]
=CRASH REPORT crash_log_id:5Z2PSZQXES5AKAPMAVD9K9TQS8 ==== 25-Apr-2023::07:18:46.032487 UTC ===
crasher:
initial call: gen_udp_socket:init/1
pid: <0.413110.0>
registered_name: []
exception error: no case clause matching {error,select_sent}
in function gen_udp_socket:cleanup_recv/4 (gen_udp_socket.erl, line 646)
in call from gen_udp_socket:handle_event/4 (gen_udp_socket.erl, line 1356)
in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1379)
ancestors: [<0.413109.0>,app_udp_sup,app_sup,<0.1116.0>]
message_queue_len: 1
messages: [{'$socket',{'$socket',#Ref<0.2566139405.1771700225.222180>},
select,#Ref<0.2566139405.1771831297.706>}]
links: []
dictionary: []
trap_exit: true
status: running
heap_size: 10958
stack_size: 28
reductions: 1144350
neighbours: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment