Open apelekoudas opened 2 years ago
Hi everyone, I have the same problem here since a couple of days:
call to undefined function lora_subnet:parse_netid(
)
I am currently running "miner-arm64_2022.07.14.0_GA". Would be great if someone could have a look. Please find below a few more details:
2022-07-25 21:09:55.931 [error] <0.141.1>@lora_subnet:parse_netid Supervisor blockchain_state_channel_sup had child blockchain_state_channels_client started with blockchain_state_channels_client:start_link(#{swarm => <0.1640.0>}) at <0.143.1> exit with reason call to undefined function lora_subnet:parse_netid(638282114) in context child_terminated
2022-07-25 21:09:55.931 [error] <0.143.1>@lora_subnet:parse_netid CRASH REPORT Process blockchain_state_channels_client with 0 neighbours crashed with reason: call to undefined function lora_subnet:parse_netid(638282114)
2022-07-25 21:09:55.930 [error] <0.143.1> gen_server blockchain_state_channels_client terminated with reason: {'module could not be loaded',[{lora_subnet,parse_netid,[638282114],[]},{blockchain_state_channels_client,handle_route_by_netid,6,[{file,"blockchain_state_channels_client.erl"},{line,1134}]},{blockchain_state_channels_client,handle_cast,2,[{file,"blockchain_state_channels_client.erl"},{line,187}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
2022-07-25 20:58:32.706 [error] <0.1628.0> Supervisor blockchain_sup had child blockchain_state_channel_sup started with blockchain_state_channel_sup:start_link(["/var/data"]) at <0.20855.0> exit with reason shutdown in context child_terminated
2022-07-25 20:58:32.701 [error] <0.20855.0> Supervisor blockchain_state_channel_sup had child blockchain_state_channels_client started with blockchain_state_channels_client:start_link(#{swarm => <0.1640.0>}) at <0.136.1> exit with reason reached_max_restart_intensity in context shutdown
2022-07-25 20:58:32.700 [error] <0.20855.0>@lora_subnet:parse_netid Supervisor blockchain_state_channel_sup had child blockchain_state_channels_client started with blockchain_state_channels_client:start_link(#{swarm => <0.1640.0>}) at <0.136.1> exit with reason call to undefined function lora_subnet:parse_netid(155006429) in context child_terminated
2022-07-25 20:58:32.700 [error] <0.136.1>@lora_subnet:parse_netid CRASH REPORT Process blockchain_state_channels_client with 0 neighbours crashed with reason: call to undefined function lora_subnet:parse_netid(155006429)
2022-07-25 20:58:32.700 [error] <0.136.1> gen_server blockchain_state_channels_client terminated with reason: {'module could not be loaded',[{lora_subnet,parse_netid,[155006429],[]},{blockchain_state_channels_client,handle_route_by_netid,6,[{file,"blockchain_state_channels_client.erl"},{line,1134}]},{blockchain_state_channels_client,handle_cast,2,[{file,"blockchain_state_channels_client.erl"},{line,187}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
2022-07-25 20:58:27.700 [error] <0.20855.0>@lora_subnet:parse_netid Supervisor blockchain_state_channel_sup had child blockchain_state_channels_client started with blockchain_state_channels_client:start_link(#{swarm => <0.1640.0>}) at <0.134.1> exit with reason call to undefined function lora_subnet:parse_netid(155006429) in context child_terminated
2022-07-25 20:58:27.699 [error] <0.134.1>@lora_subnet:parse_netid CRASH REPORT Process blockchain_state_channels_client with 0 neighbours crashed with reason: call to undefined function lora_subnet:parse_netid(155006429)
2022-07-25 20:58:27.699 [error] <0.134.1> gen_server blockchain_state_channels_client terminated with reason: {'module could not be loaded',[{lora_subnet,parse_netid,[155006429],[]},{blockchain_state_channels_client,handle_route_by_netid,6,[{file,"blockchain_state_channels_client.erl"},{line,1134}]},{blockchain_state_channels_client,handle_cast,2,[{file,"blockchain_state_channels_client.erl"},{line,187}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
2022-07-25 20:58:14.077 [error] <0.20855.0>@lora_subnet:parse_netid Supervisor blockchain_state_channel_sup had child blockchain_state_channels_client started with blockchain_state_channels_client:start_link(#{swarm => <0.1640.0>}) at <0.30921.0> exit with reason call to undefined function lora_subnet:parse_netid(155006429) in context child_terminated
2022-07-25 20:58:14.076 [error] <0.30921.0>@lora_subnet:parse_netid CRASH REPORT Process blockchain_state_channels_client with 0 neighbours crashed with reason: call to undefined function lora_subnet:parse_netid(155006429)
2022-07-25 20:58:14.076 [error] <0.30921.0> gen_server blockchain_state_channels_client terminated with reason: {'module could not be loaded',[{lora_subnet,parse_netid,[155006429],[]},{blockchain_state_channels_client,handle_route_by_netid,6,[{file,"blockchain_state_channels_client.erl"},{line,1134}]},{blockchain_state_channels_client,handle_cast,2,[{file,"blockchain_state_channels_client.erl"},{line,187}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
The lora library call that's currently undefined seems to be invoked from this PR: https://github.com/helium/blockchain-core/pull/1412
Since that feature requires a future chain-var that has been put on hold, we can revert the feature by reversing its diff:
wget https://github.com/helium/blockchain-core/pull/1412.diff
patch -p1 --reverse < 1412.diff
Later, we can track why that library call is no longer available.
Rewards rate keeps droping, and the logs are fulll of _parsenetid:Undefined CRASH REPORT errors like the below. What is the root cause? Thanks