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

chain服务意外退出 #798

Open
hawkinggg opened this issue Dec 19, 2021 · 0 comments
Open

chain服务意外退出 #798

hawkinggg opened this issue Dec 19, 2021 · 0 comments
Labels
I3-annoyance 🦟 The client behaves within expectations, however this “expected behaviour” itself is at issue.

Comments

@hawkinggg
Copy link

2021-12-18 22:45:32 💤 Idle (150 peers), best: #2311366 (0x5110…9e0b), finalized #2311360 (0xc8ec…9d9d), ⬇ 282.9kiB/s ⬆ 202.9kiB/s
2021-12-18 22:45:34 ✨ Imported #2311362 (0x38fa…b287)
2021-12-18 22:45:37 💤 Idle (150 peers), best: #2311366 (0x5110…9e0b), finalized #2311360 (0xc8ec…9d9d), ⬇ 465.4kiB/s ⬆ 292.0kiB/s
2021-12-18 22:45:38 Block import error:
UnknownBlock("State already discarded for BlockId::Hash(0x51515117bc15047ef99a8647d197c1d9a01508975cde9c76a02c3d58ded1a298)")
2021-12-18 22:45:38 💔 Error importing block 0xa16c4892f3e67072c9c4f77b63832b82d3370a7c721f1a24e424eabb86c220f3: Err(Other(ClientImport("Import failed: UnknownBlock: State already discarded for BlockId::Hash(0x51515117bc15047ef99a8647d197c1d9a01508975cde9c76a02c3d58ded1a298)")))
2021-12-18 22:45:38 Potential safety failure: reverting finalized block (2311361, 0x7f53753f5a72d1c00979bccb04f376bc6918b5b5ba387876b7b2cf6490cf7e85)
2021-12-18 22:45:38 Block import error:
NotInFinalizedChain
2021-12-18 22:45:38 💔 Error importing block 0xcb4bb91bcdadd8c5562c3c97ca26c1e09048f1d4654467862ccdc21531239948: Err(Other(ClientImport("Import failed: Potential long-range attack: block not in finalized chain.")))

====================

Version: 1.2.0-f4a1014-x86_64-linux-gnu

0: sp_panic_handler::set::{{closure}}
1: std::panicking::rust_panic_with_hook
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/std/src/panicking.rs:595:17
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/std/src/panicking.rs:497:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/std/src/sys_common/backtrace.rs:141:18
4: rust_begin_unwind
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/std/src/panicking.rs:493:5
5: core::panicking::panic_fmt
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/core/src/panicking.rs:92:14
6: core::option::expect_none_failed
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/core/src/option.rs:1266:5
7: <sp_state_machine::ext::Ext<H,N,B> as sp_externalities::Externalities>::exists_storage
8: std::thread::local::LocalKey::with
9: sp_io::storage::exists_version_1
10: <<sp_io::storage::HostFunctions as sp_wasm_interface::HostFunctions>::host_functions::ExtStorageExistsVersion1 as sp_wasm_interface::Function>::execute
11: scoped_tls::ScopedKey::with
12: sc_executor_wasmtime::state_holder::with_context
13: sc_executor_wasmtime::imports::call_static
14: wasmtime::func::Func::new::{{closure}}
15: wasmtime::trampoline::func::stub_fn
16:
17:
18:
19:
20:
21: RegisterSetjmp
22: wasmtime_runtime::traphandlers::catch_traps
23: wasmtime::func::Func::call
24: sc_executor_wasmtime::instance_wrapper::EntryPoint::call
25: scoped_tls::ScopedKey::set
26: <sc_executor_wasmtime::runtime::WasmtimeInstance as sc_executor_common::wasm_runtime::WasmInstance>::call
27: sc_executor_common::wasm_runtime::WasmInstance::call_export
28: std::panicking::try
29: std::thread::local::LocalKey::with
30: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
31: sc_executor::wasm_runtime::RuntimeCache::with_instance
32: <sc_executor::native_executor::NativeExecutor as sp_core::traits::CodeExecutor>::call
33: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_aux
34: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
35: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor>::contextual_call
36: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at
37: sp_transaction_pool::runtime_api::runtime_decl_for_TaggedTransactionQueue::validate_transaction_call_api_at
38: <crust_runtime::RuntimeApiImpl<SR_API_BLOCK,RuntimeApiImplCall> as sp_transaction_pool::runtime_api::TaggedTransactionQueue<SR_API_BLOCK>>::TaggedTransactionQueue_validate_transaction_runtime_api_impl
39: sp_transaction_pool::runtime_api::TaggedTransactionQueue::validate_transaction
40: tracing::span::Span::in_scope
41: sc_transaction_pool::api::validate_transaction_blocking
42: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
43: futures_executor::thread_pool::PoolState::work
44: std::sys_common::backtrace::__rust_begin_short_backtrace
45: core::ops::function::FnOnce::call_once{{vtable.shim}}
46: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/alloc/src/boxed.rs:1480:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/alloc/src/boxed.rs:1480:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/c97f11af7bc4a6d3578f6a953be04ab2449a5728/library/std/src/sys/unix/thread.rs:71:17
47: start_thread
48: clone

Thread 'txpool-verifier1' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0x9e5229e660080ffaa0fcd78c9b7aa0cf5f2f5a760e27e230ef550cb76ae6bd26"', /opt/cache/git/checkouts/substrate-f88d45aa912807c0/3971a18/primitives/state-machine/src/ext.rs:279

This is a bug. Please report it at:

    https://github.com/crustio/crust/issues/new
@mmyyrroonn mmyyrroonn added the I3-annoyance 🦟 The client behaves within expectations, however this “expected behaviour” itself is at issue. label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I3-annoyance 🦟 The client behaves within expectations, however this “expected behaviour” itself is at issue.
Projects
None yet
Development

No branches or pull requests

2 participants