Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start fresh node #122

Open
friedger opened this issue Jul 7, 2024 · 0 comments
Open

Failed to start fresh node #122

friedger opened this issue Jul 7, 2024 · 0 comments

Comments

@friedger
Copy link
Contributor

friedger commented Jul 7, 2024

I created a new instance on linode and called seed-chainstate, then manage start mainnet.

I see this crash and don't understand what is wrong, maybe my firewall?

stacks-blockchain      | INFO [1720342072.131558] [testnet/stacks-node/src/neon_node.rs:4850] [main] Start HTTP server on: 0.0.0.0:20443
stacks-blockchain      | INFO [1720342072.131570] [testnet/stacks-node/src/neon_node.rs:4851] [main] Start P2P server on: 0.0.0.0:20444
stacks-blockchain      | INFO [1720342072.310600] [stackslib/src/chainstate/burn/sortition.rs:717] [chains-coordinator-0.0.0.0:20443] SORTITION(851052): WINNER IS a299ec231bdad94037e8df0e56af25c11244bfbcf9a8bc9787976938067e5afe (from 3346ea0a430b621ee2642141891c4ffc765e7e8d781ff7a5dc6913e912548202)
stacks-blockchain      | ERRO [1720342072.715554] [stackslib/src/clarity_vm/database/marf.rs:151] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Failed to open read only connection at d8283166bfdd072636ee43e60ab17128b74b1c2f989106e11ff97a4e4d632a43: NotFoundError
stacks-blockchain      | ERRO [1720342072.715576] [testnet/stacks-node/src/main.rs:270] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Process abort due to thread panic: panicked at stackslib/src/clarity_vm/database/marf.rs:155:17:
stacks-blockchain      | explicit panic
stacks-blockchain      | ERRO [1720342072.895561] [testnet/stacks-node/src/main.rs:272] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Panic backtrace:    0: stacks_node::main::{{closure}}
stacks-blockchain      |              at build/testnet/stacks-node/src/main.rs:271:18
stacks-blockchain      |    1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9
stacks-blockchain      |       std::panicking::rust_panic_with_hook
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13
stacks-blockchain      |    2: std::panicking::begin_panic_handler::{{closure}}
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13
stacks-blockchain      |    3: std::sys_common::backtrace::__rust_end_short_backtrace
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18
stacks-blockchain      |    4: rust_begin_unwind
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5
stacks-blockchain      |    5: core::panicking::panic_fmt
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14
stacks-blockchain      |    6: core::panicking::panic_display
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:263:5
stacks-blockchain      |    7: core::panicking::panic_explicit
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:236:5
stacks-blockchain      |    8: blockstack_lib::clarity_vm::database::marf::MarfedKV::begin_read_only::{{closure}}::panic_cold_explicit
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic.rs:87:13
stacks-blockchain      |    9: blockstack_lib::clarity_vm::database::marf::MarfedKV::begin_read_only::{{closure}}
stacks-blockchain      |              at build/stackslib/src/clarity_vm/database/marf.rs:155:17
stacks-blockchain      |       core::result::Result<T,E>::unwrap_or_else
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1431:23
stacks-blockchain      |       blockstack_lib::clarity_vm::database::marf::MarfedKV::begin_read_only
stacks-blockchain      |              at build/stackslib/src/clarity_vm/database/marf.rs:150:44
stacks-blockchain      |       blockstack_lib::clarity_vm::clarity::ClarityInstance::eval_read_only
stacks-blockchain      |              at build/stackslib/src/clarity_vm/clarity.rs:615:34
stacks-blockchain      |   10: blockstack_lib::chainstate::stacks::boot::<impl blockstack_lib::chainstate::stacks::db::StacksChainState>::eval_boot_code_read_only
stacks-blockchain      |              at build/stackslib/src/chainstate/stacks/boot/mod.rs:574:9
stacks-blockchain      |   11: blockstack_lib::chainstate::stacks::boot::<impl blockstack_lib::chainstate::stacks::db::StacksChainState>::get_aggregate_public_key_pox_4
stacks-blockchain      |              at build/stackslib/src/chainstate/stacks/boot/mod.rs:1320:40
stacks-blockchain      |   12: blockstack_lib::chainstate::nakamoto::NakamotoChainState::load_aggregate_public_key
stacks-blockchain      |              at build/stackslib/src/chainstate/nakamoto/mod.rs:1799:15
stacks-blockchain      |   13: blockstack_lib::net::p2p::PeerNetwork::find_new_aggregate_public_keys::{{closure}}
stacks-blockchain      |              at build/stackslib/src/net/p2p.rs:5463:21
stacks-blockchain      |       core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:294:13
stacks-blockchain      |       core::iter::traits::iterator::Iterator::find_map::check::{{closure}}
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/iter/traits/iterator.rs:2906:32
stacks-blockchain      |       <core::ops::range::RangeInclusive<T> as core::iter::range::RangeInclusiveIteratorImpl>::spec_try_fold
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/iter/range.rs:1184:21
stacks-blockchain      |       core::iter::range::<impl core::iter::traits::iterator::Iterator for core::ops::range::RangeInclusive<A>>::try_fold
stacks-blockchain      |              at rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/iter/range.rs:1309:9
stacks-blockchain      |       core::iter::traits::iterator::Iterator::find_map

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

No branches or pull requests

1 participant