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

restarting a node initialized w/ snapshot but no add'l blocks crashes #6835

Closed
spoonincode opened this issue Feb 25, 2019 · 1 comment
Closed

Comments

@spoonincode
Copy link
Contributor

$ ./nodeos -d ~/eos.data/mahnode/ --config-dir ~/eos.data/mahnode/ --chain-state-db-size-mb 4096 --delete-all-blocks --snapshot ~/eos.data/mainnet.snaps/33149639.bin
### stop nodeos and then restart it:
$ ./nodeos -d ~/eos.data/mahnode/ --config-dir ~/eos.data/mahnode/

Upon startup the second invocation crashes

* thread #1, name = 'nodeos', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x00007ffff7174cf8 libc.so.6`__memmove_avx_unaligned_erms + 152
    frame #1: 0x00007ffff75f26a0 libcrypto.so.1.1`SHA256_Update + 112
    frame #2: 0x00005555567345db nodeos`void fc::reflector<eosio::chain::block_header>::visit<fc::raw::detail::pack_object_visitor<fc::sha256::encoder, eosio::chain::block_header> >(fc::raw::detail::pack_object_visitor<fc::sha256::encoder, eosio::chain::block_header>&&) + 43
    frame #3: 0x0000555556734544 nodeos`eosio::chain::block_header::id() const + 68
    frame #4: 0x0000555556a30dc3 nodeos`eosio::chain::block_log::open(fc::path const&) + 2595
    frame #5: 0x0000555556a30293 nodeos`eosio::chain::block_log::block_log(fc::path const&) + 147
    frame #6: 0x000055555677f408 nodeos`eosio::chain::controller_impl::controller_impl(eosio::chain::controller::config const&, eosio::chain::controller&) + 248
    frame #7: 0x0000555556771b56 nodeos`eosio::chain::controller::controller(eosio::chain::controller::config const&) + 182
    frame #8: 0x00005555564d3854 nodeos`eosio::chain_plugin::plugin_initialize(boost::program_options::variables_map const&) + 47556

Seen in 1.7 RC1, unknown if problem exists before this

@spoonincode
Copy link
Contributor Author

dup #6348

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant