Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Trie lookup error 8.0.13 #1360

Closed
Closed
@ilhanu

Description

My validator node panicked and cannot restart it.

Running on
Ubuntu 18.04.04 LTS
Kernel 5.4.0-38-generic #42
Ryzen 7 3700X
16GB Ram
1TB Intel SSD
Using ParityDB

The node is a validator and normally if I run more intensive things on the pc it had panicked before and I understood that I shouldn't do these two things. But this time it panicked while solely running the validator, which almost doesn't use any process compared to what it can.

Jul 04 08:34:20  polkadot[4455]: Version: 0.8.13-90d5dbe5-x86_64-linux-gnu
Jul 04 08:34:20  polkadot[4455]:    0: sp_panic_handler::set::{{closure}}
Jul 04 08:34:20  polkadot[4455]:    1: std::panicking::rust_panic_with_hook
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libstd/panicking.rs:515
Jul 04 08:34:20  polkadot[4455]:    2: rust_begin_unwind
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libstd/panicking.rs:419
Jul 04 08:34:20  polkadot[4455]:    3: core::panicking::panic_fmt
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libcore/panicking.rs:111
Jul 04 08:34:20  polkadot[4455]:    4: core::option::expect_none_failed
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libcore/option.rs:1268
Jul 04 08:34:20  polkadot[4455]:    5: <sp_state_machine::ext::Ext<H,N,B> as sp_externalities::Externalities>::storage
Jul 04 08:34:20  polkadot[4455]:    6: <&mut dyn sp_externalities::Externalities as sp_io::storage::Storage>::get_version_1
Jul 04 08:34:20  polkadot[4455]:    7: sp_externalities::scope_limited::with_externalities
Jul 04 08:34:20  polkadot[4455]:    8: sp_io::storage::get_version_1
Jul 04 08:34:20  polkadot[4455]:    9: <<sp_io::storage::HostFunctions as sp_wasm_interface::HostFunctions>::host_functions::ExtStorageGetVersion1 as sp_wasm_interface::Function>::execute
Jul 04 08:34:20  polkadot[4455]:   10: <sc_executor_wasmi::FunctionExecutor as wasmi::host::Externals>::invoke_index
Jul 04 08:34:20  polkadot[4455]:   11: wasmi::func::FuncInstance::invoke
Jul 04 08:34:20  polkadot[4455]:   12: wasmi::runner::Interpreter::start_execution
Jul 04 08:34:20  polkadot[4455]:   13: wasmi::func::FuncInstance::invoke
Jul 04 08:34:20  polkadot[4455]:   14: <sc_executor_wasmi::WasmiInstance as sc_executor_common::wasm_runtime::WasmInstance>::call
Jul 04 08:34:20  polkadot[4455]:   15: std::thread::local::LocalKey<T>::with
Jul 04 08:34:20  polkadot[4455]:   16: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
Jul 04 08:34:20  polkadot[4455]:   17: sc_executor::wasm_runtime::RuntimeCache::with_instance
Jul 04 08:34:20  polkadot[4455]:   18: <sc_executor::native_executor::NativeExecutor<D> as sp_core::traits::CodeExecutor>::call
Jul 04 08:34:20  polkadot[4455]:   19: sp_state_machine::StateMachine<B,H,N,Exec>::execute_aux
Jul 04 08:34:20  polkadot[4455]:   20: sp_state_machine::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
Jul 04 08:34:20  polkadot[4455]:   21: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor<Block>>::contextual_call
Jul 04 08:34:20  polkadot[4455]:   22: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
Jul 04 08:34:20  polkadot[4455]:   23: sp_api::runtime_decl_for_Core::initialize_block_call_api_at
Jul 04 08:34:20  polkadot[4455]:   24: <kusama_runtime::RuntimeApiImpl<__SR_API_BLOCK__,RuntimeApiImplCall> as sp_api::Core<__SR_API_BLOCK__>>::Core_initialize_block_runtime_api_impl
Jul 04 08:34:20  polkadot[4455]:   25: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor<Block>>::contextual_call
Jul 04 08:34:20  polkadot[4455]:   26: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
Jul 04 08:34:20  polkadot[4455]:   27: sp_block_builder::runtime_decl_for_BlockBuilder::check_inherents_call_api_at
Jul 04 08:34:20  polkadot[4455]:   28: sp_block_builder::BlockBuilder::check_inherents
Jul 04 08:34:20  polkadot[4455]:   29: <sc_consensus_babe::BabeVerifier<Block,Client> as sp_consensus::import_queue::Verifier<Block>>::verify
Jul 04 08:34:20  polkadot[4455]:   30: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   31: <futures_util::future::future::flatten::Flatten<Fut,<Fut as core::future::future::Future>::Output> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   32: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   33: <sc_service::task_manager::prometheus_future::PrometheusFuture<T> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   34: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   35: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
Jul 04 08:34:20  polkadot[4455]:   36: futures_executor::local_pool::block_on
Jul 04 08:34:20  polkadot[4455]:   37: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
Jul 04 08:34:20  polkadot[4455]:   38: tokio::runtime::task::core::Core<T,S>::poll
Jul 04 08:34:20  polkadot[4455]:   39: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
Jul 04 08:34:20  polkadot[4455]:   40: tokio::runtime::task::raw::poll
Jul 04 08:34:20  polkadot[4455]:   41: tokio::runtime::blocking::pool::Inner::run
Jul 04 08:34:20  polkadot[4455]:   42: tokio::runtime::context::enter
Jul 04 08:34:20  polkadot[4455]:   43: std::sys_common::backtrace::__rust_begin_short_backtrace
Jul 04 08:34:20  polkadot[4455]:   44: core::ops::function::FnOnce::call_once{{vtable.shim}}
Jul 04 08:34:20  polkadot[4455]:   45: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/liballoc/boxed.rs:1008
Jul 04 08:34:20  polkadot[4455]:       <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/liballoc/boxed.rs:1008
Jul 04 08:34:20  polkadot[4455]:       std::sys::unix::thread::Thread::new::thread_start
Jul 04 08:34:20  polkadot[4455]:              at rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libstd/sys/unix/thread.rs:87
Jul 04 08:34:20  polkadot[4455]:   46: start_thread
Jul 04 08:34:20  polkadot[4455]:   47: __clone
Jul 04 08:34:20  polkadot[4455]: Thread 'tokio-runtime-worker' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0x1b606fba5a5e14a67379b964891d50b49453e7952ea23a3e474a3743a6d82477"', /usr/local/cargo/git/checkouts/substrate-7e08433d4c370a21/e8f9018/primitives/state-machine/src/ext.rs:181
Jul 04 08:34:20  polkadot[4455]: This is a bug. Please report it at:
Jul 04 08:34:20  polkadot[4455]:         https://github.com/paritytech/polkadot/issues/new

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