[SON-HIVE Voting] Exception in create_son_down_prop #350

Closed
opened 2022-04-21 07:03:58 +00:00 by vampik · 6 comments
vampik commented 2022-04-21 07:03:58 +00:00 (Migrated from gitlab.com)

After all our changes in code for [SON-HIVE Voting] we have exception in create_son_down_prop:

3521355ms th_a       peerplays_sidechain_plugin.cpp:799 plugin_startup       ] peerplays sidechain plugin:  plugin_startup() end
3521355ms th_a       witness.cpp:128               plugin_startup       ] witness plugin:  plugin_startup() begin
3521355ms th_a       witness.cpp:133               plugin_startup       ] Launching block production for 27 witnesses.
3521355ms th_a       witness.cpp:144               plugin_startup       ] witness plugin:  plugin_startup() end
3521355ms th_a       main.cpp:177                  main                 ] Started Peerplays node on a chain with 1226 blocks.
3521355ms th_a       main.cpp:178                  main                 ] Chain ID is 7c1c72eb738b3ff1870350f85daca27e2d0f5dd25af27df7475fbd92815e421e
3522001ms th_a       witness.cpp:267               maybe_produce_block  ] slot: 152 scheduled_witness: 1.6.4 scheduled_time: 2022-04-21T06:58:42 now: 2022-04-21T06:58:42 
3522006ms th_a       witness.cpp:191               block_production_loo ] Generated block #1227 with timestamp 2022-04-21T06:58:42 at time 2022-04-21T06:58:42
3525000ms th_a       witness.cpp:267               maybe_produce_block  ] slot: 1 scheduled_witness: 1.6.11 scheduled_time: 2022-04-21T06:58:45 now: 2022-04-21T06:58:45 
3525002ms th_a       witness.cpp:191               block_production_loo ] Generated block #1228 with timestamp 2022-04-21T06:58:45 at time 2022-04-21T06:58:45
3525502ms th_k       peerplays_sidechain_plugin.cpp:502 son_processing       ] Scheduled SON: 1.33.5 Sidechain: bitcoin Now: 2022-04-21T06:58:42
3525502ms th_l       peerplays_sidechain_plugin.cpp:502 son_processing       ] Scheduled SON: 1.33.5 Sidechain: hive Now: 2022-04-21T06:58:42
3525502ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.0 from 1.33.5
3525503ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.0 from 1.33.5
3525513ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.1 from 1.33.5
3525515ms th_l       peerplays_sidechain_plugin.cpp:684 operator()           ] Sending son down proposal failed with exception Assert Exception
3525515ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.2 from 1.33.5
3525515ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.1 from 1.33.5
3525516ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.3 from 1.33.5
3525518ms th_l       peerplays_sidechain_plugin.cpp:684 operator()           ] Sending son down proposal failed with exception Assert Exception
3525518ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.2 from 1.33.5
3525519ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.4 from 1.33.5
3525519ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.3 from 1.33.5
3525521ms th_l       peerplays_sidechain_plugin.cpp:684 operator()           ] Sending son down proposal failed with exception Assert Exception
3525521ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.4 from 1.33.5
3525521ms th_k       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.6 from 1.33.5
3525522ms th_l       peerplays_sidechain_plugin.cpp:684 operator()           ] Sending son down proposal failed with exception Assert Exception
3525522ms th_l       peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.6 from 1.33.5
3525523ms th_k       peerplays_sidechain_plugin.cpp:587 operator()           ] Sending approval for 1.10.0 from 1.33.6
3525523ms th_l       peerplays_sidechain_plugin.cpp:684 operator()           ] Sending son down proposal failed with exception Assert Exception
3525523ms th_l       peerplays_sidechain_plugin.cpp:587 operator()           ] Sending approval for 1.10.0 from 1.33.6
3525523ms th_l       peerplays_sidechain_plugin.cpp:601 operator()           ] Sending approval failed with exception Assert Exception
3525523ms th_l       peerplays_sidechain_plugin.cpp:587 operator()           ] Sending approval for 1.10.1 from 1.33.6
Segmentation fault (core dumped)

Steps to reproduce:

  1. Start witness_node and let it work some time
  2. Stop and restart witness_node

Note:
This happens not every time we restart witness_node

After all our changes in code for [SON-HIVE Voting] we have exception in create_son_down_prop: ``` 3521355ms th_a peerplays_sidechain_plugin.cpp:799 plugin_startup ] peerplays sidechain plugin: plugin_startup() end 3521355ms th_a witness.cpp:128 plugin_startup ] witness plugin: plugin_startup() begin 3521355ms th_a witness.cpp:133 plugin_startup ] Launching block production for 27 witnesses. 3521355ms th_a witness.cpp:144 plugin_startup ] witness plugin: plugin_startup() end 3521355ms th_a main.cpp:177 main ] Started Peerplays node on a chain with 1226 blocks. 3521355ms th_a main.cpp:178 main ] Chain ID is 7c1c72eb738b3ff1870350f85daca27e2d0f5dd25af27df7475fbd92815e421e 3522001ms th_a witness.cpp:267 maybe_produce_block ] slot: 152 scheduled_witness: 1.6.4 scheduled_time: 2022-04-21T06:58:42 now: 2022-04-21T06:58:42 3522006ms th_a witness.cpp:191 block_production_loo ] Generated block #1227 with timestamp 2022-04-21T06:58:42 at time 2022-04-21T06:58:42 3525000ms th_a witness.cpp:267 maybe_produce_block ] slot: 1 scheduled_witness: 1.6.11 scheduled_time: 2022-04-21T06:58:45 now: 2022-04-21T06:58:45 3525002ms th_a witness.cpp:191 block_production_loo ] Generated block #1228 with timestamp 2022-04-21T06:58:45 at time 2022-04-21T06:58:45 3525502ms th_k peerplays_sidechain_plugin.cpp:502 son_processing ] Scheduled SON: 1.33.5 Sidechain: bitcoin Now: 2022-04-21T06:58:42 3525502ms th_l peerplays_sidechain_plugin.cpp:502 son_processing ] Scheduled SON: 1.33.5 Sidechain: hive Now: 2022-04-21T06:58:42 3525502ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.0 from 1.33.5 3525503ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.0 from 1.33.5 3525513ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.1 from 1.33.5 3525515ms th_l peerplays_sidechain_plugin.cpp:684 operator() ] Sending son down proposal failed with exception Assert Exception 3525515ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.2 from 1.33.5 3525515ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.1 from 1.33.5 3525516ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.3 from 1.33.5 3525518ms th_l peerplays_sidechain_plugin.cpp:684 operator() ] Sending son down proposal failed with exception Assert Exception 3525518ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.2 from 1.33.5 3525519ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.4 from 1.33.5 3525519ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.3 from 1.33.5 3525521ms th_l peerplays_sidechain_plugin.cpp:684 operator() ] Sending son down proposal failed with exception Assert Exception 3525521ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.4 from 1.33.5 3525521ms th_k peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.6 from 1.33.5 3525522ms th_l peerplays_sidechain_plugin.cpp:684 operator() ] Sending son down proposal failed with exception Assert Exception 3525522ms th_l peerplays_sidechain_plugin.cpp:673 create_son_down_prop ] Sending son down proposal for 1.33.6 from 1.33.5 3525523ms th_k peerplays_sidechain_plugin.cpp:587 operator() ] Sending approval for 1.10.0 from 1.33.6 3525523ms th_l peerplays_sidechain_plugin.cpp:684 operator() ] Sending son down proposal failed with exception Assert Exception 3525523ms th_l peerplays_sidechain_plugin.cpp:587 operator() ] Sending approval for 1.10.0 from 1.33.6 3525523ms th_l peerplays_sidechain_plugin.cpp:601 operator() ] Sending approval failed with exception Assert Exception 3525523ms th_l peerplays_sidechain_plugin.cpp:587 operator() ] Sending approval for 1.10.1 from 1.33.6 Segmentation fault (core dumped) ``` **Steps to reproduce:** 1) Start `witness_node` and let it work some time 2) Stop and restart `witness_node` *Note:* This happens not every time we restart `witness_node`
vampik commented 2022-04-21 07:03:58 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-04-21 07:05:08 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
vampik commented 2022-04-21 07:48:07 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
vampik commented 2022-04-21 12:19:54 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
hbelakon commented 2022-04-26 11:46:40 +00:00 (Migrated from gitlab.com)

changed epic to &295

changed epic to &295
hirunda commented 2022-04-29 12:33:19 +00:00 (Migrated from gitlab.com)

assigned to @hirunda

assigned to @hirunda
serkixenos (Migrated from gitlab.com) closed this issue 2022-05-04 16:08:42 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#350
No description provided.