Reached unreachable at block 1000
Letting a dev node run for 1000 blocks led to unreachable statement:
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
- Show closed items
Link issues together to show that they're related.
Learn more.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Hugo Trentesaux changed milestone to %runtime-600
changed milestone to %runtime-600
- Hugo Trentesaux added bug label
added bug label
- Cédric Moreau changed milestone to %runtime-700
changed milestone to %runtime-700
- Owner
I don't have any issue locally with
--chain=gdev_live
, what are the conditions to reproduce?Edited by Cédric Moreau 1 - Author OwnerResolved by Cédric Moreau
With
--chain=gdev_live
only, duniter does not produce blocks, so it can not reach block 999. I had this withduniter --dev
on branchmaster
. 2 replies Last reply by Hugo Trentesaux
- Author Owner
The detailed error log looks like:
==================== Version: 0.3.0-a8ac5bf4cd0 0: sp_panic_handler::set::{{closure}} 1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/alloc/src/boxed.rs:2021:9 std::panicking::rust_panic_with_hook at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/panicking.rs:733:13 2: std::panicking::begin_panic_handler::{{closure}} at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/panicking.rs:619:13 3: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/sys_common/backtrace.rs:170:18 4: rust_begin_unwind at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/panicking.rs:617:5 5: core::panicking::panic_fmt at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/core/src/panicking.rs:67:14 6: core::panicking::panic at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/core/src/panicking.rs:117:5 7: <common_runtime::entities::SmithMembershipMetaData<SessionKeysWrapper> as core::default::Default>::default 8: pallet_membership::pallet::Pallet<T,I>::do_expire_membership 9: pallet_duniter_wot::<impl pallet_certification::traits::OnRemovedCert<u32> for pallet_duniter_wot::pallet::Pallet<T,I>>::on_removed_cert 10: pallet_certification::pallet::Pallet<T,I>::remove_cert_inner 11: <pallet_certification::pallet::Pallet<T,I> as frame_support::traits::hooks::OnInitialize<<T as frame_system::pallet::Config>::BlockNumber>>::on_initialize 12: <(TupleElement0,TupleElement1,TupleElement2,TupleElement3,TupleElement4,TupleElement5,TupleElement6,TupleElement7,TupleElement8,TupleElement9,TupleElement10,TupleElement11,TupleElement12,TupleElement13,TupleElement14,TupleElement15,TupleElement16,TupleElement17,TupleElement18,TupleElement19,TupleElement20,TupleElement21,TupleElement22,TupleElement23,TupleElement24,TupleElement25,TupleElement26,TupleElement27,TupleElement28,TupleElement29,TupleElement30,TupleElement31,TupleElement32,TupleElement33,TupleElement34,TupleElement35) as frame_support::traits::hooks::OnInitialize<BlockNumber>>::on_initialize 13: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPalletsWithSystem,COnRuntimeUpgrade>::initialize_block 14: gdev_runtime::api::dispatch 15: environmental::using 16: sc_executor::executor::WasmExecutor<H>::with_instance::{{closure}} 17: <sc_executor::executor::NativeElseWasmExecutor<D> as sp_core::traits::CodeExecutor>::call 18: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_aux 19: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_using_consensus_failure_handler 20: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at 21: <gdev_runtime::RuntimeApiImpl<__SrApiBlock__,RuntimeApiImplCall> as sp_session::SessionKeys<__SrApiBlock__>>::__runtime_api_internal_call_api_at 22: sc_block_builder::BlockBuilder<Block,A,B>::new 23: <sc_service::client::client::Client<B,E,Block,RA> as sc_block_builder::BlockBuilderProvider<B,Block,sc_service::client::client::Client<B,E,Block,RA>>>::new_block_at 24: <sc_basic_authorship::basic_authorship::Proposer<B,Block,C,A,PR> as sp_consensus::Proposer<Block>>::propose::{{closure}} 25: <sc_service::task_manager::prometheus_future::PrometheusFuture<T> as core::future::future::Future>::poll 26: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll 27: tokio::runtime::park::CachedParkThread::block_on 28: tokio::runtime::context::runtime::enter_runtime 29: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll 30: tokio::runtime::task::core::Core<T,S>::poll 31: tokio::runtime::task::harness::Harness<T,S>::poll 32: tokio::runtime::blocking::pool::Inner::run 33: std::sys_common::backtrace::__rust_begin_short_backtrace 34: core::ops::function::FnOnce::call_once{{vtable.shim}} 35: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/alloc/src/boxed.rs:2007:9 <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/alloc/src/boxed.rs:2007:9 std::sys::unix::thread::Thread::new::thread_start at /rustc/c469197b19d53a6c45378568f73c00986b20a5a5/library/std/src/sys/unix/thread.rs:108:17 36: <unknown> 37: <unknown> Thread 'tokio-runtime-worker' panicked at 'internal error: entered unreachable code', /home/hugo/dev/duniter-v2s/runtime/common/src/entities.rs:136 This is a bug. Please report it at: https://forum.duniter.org/ 2023-11-10 15:57:24 🙌 Starting consensus session on top of parent 0x5e275bb53c9ca0c62e982043662c05f071eae15d9c940ad8032558add27a0a61 2023-11-10 15:57:24 Evicting failed runtime instance error=Runtime panicked: internal error: entered unreachable code 2023-11-10 15:57:24 Proposing failed: Import failed: Error at calling runtime api: Execution failed: Runtime panicked: internal error: entered unreachable code 2023-11-10 15:57:24 💤 Idle (0 peers), best: #999 (0x5e27…0a61), finalized #997 (0xc046…1c9a), ⬇ 0 ⬆ 0
- Cédric Moreau added I-ToPrioritize label
added I-ToPrioritize label
- Hugo Trentesaux mentioned in merge request !192 (merged)
mentioned in merge request !192 (merged)
- Cédric Moreau added P2-asap label
added P2-asap label
- Cédric Moreau removed I-ToPrioritize label
removed I-ToPrioritize label
- Cédric Moreau mentioned in commit b60b9345
mentioned in commit b60b9345
- Cédric Moreau mentioned in commit 376735f3
mentioned in commit 376735f3
- Cédric Moreau mentioned in commit 8b9bf652
mentioned in commit 8b9bf652
- Hugo Trentesaux mentioned in commit 44b09061
mentioned in commit 44b09061
- Hugo Trentesaux closed with merge request !192 (merged)
closed with merge request !192 (merged)
Please register or sign in to reply