Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Crazy Network Crash #2803

@bytemaster

Description

@bytemaster

Started one node with:

./nodeos -e --producer eosio
...
1508503ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509003ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 00000181040d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
    {}
    thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11

And another with

./nodeos -d node2 --p2p-peer-address 127.0.0.1:9876 --p2p-listen-endpoint 127.0.0.1:6789
...
1508503ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 00000181040d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
    {}
    thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11

Out of nowhere, the non-producing block schedules production and sends a block to the producign node... which rejects it and then both nodes crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions