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

Validating on out of date node will panic #487

@0xthreebody

Description

@0xthreebody

I am running PoC-2, v0.2.3 testnet;

2018-08-03 06:16:43 BFT agreement error: Authoring for current runtime is not supported since it has no version.
2018-08-03 06:16:44 Syncing, target=#914408 (4 peers), best: #14055 (9d71…38d6)
2018-08-03 06:16:44 BFT agreement error: Authoring for current runtime is not supported since it has no version.

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

stack backtrace:
   0:     0x5598b86cb65c - backtrace::backtrace::trace::h4230e4e801d84578
   1:     0x5598b86ca632 - <backtrace::capture::Backtrace as core::default::Default>::default::h7d906cf62bcc73c8
   2:     0x5598b86ca6a8 - backtrace::capture::Backtrace::new::hdba378c25aad811e
   3:     0x5598b7fb04a0 - substrate_cli::panic_hook::panic_hook::h7b3c59dc15084952
   4:     0x5598b7fb01b8 - core::ops::function::Fn::call::h57ffd5be0b871f62
   5:     0x5598b87fca03 - std::panicking::rust_panic_with_hook::he4c3a67f6258a8f9
                        at libstd/panicking.rs:515
   6:     0x5598b87fc759 - std::panicking::continue_panic_fmt::h156c04b2aea348c7
                        at libstd/panicking.rs:426
   7:     0x5598b87fc475 - rust_begin_unwind
                        at libstd/panicking.rs:337
   8:     0x5598b8858f8b - core::panicking::panic_fmt::h0e6d5c6fb2a34dd6
                        at libcore/panicking.rs:92
   9:     0x5598b7d966a8 - core::result::unwrap_failed::h6aac7956e046fef5
  10:     0x5598b7e6ce81 - <substrate_state_machine::ext::Ext<'a, B> as substrate_state_machine::Externalities>::storage::hb7cd71b6c1d95ca8
  11:     0x5598b7ecb249 - <substrate_client::call_executor::LocalCallExecutor<B, E> as substrate_client::call_executor::CallExecutor<Block>>::runtime_version::ha7af2678b06f7165
  12:     0x5598b7e6d159 - <substrate_client::client::Client<B, E, Block> as substrate_bft::Authorities<Block>>::authorities::h7637fb35a09d6300
  13:     0x5598b7d5dfa2 - <substrate_bft::BftService<B, P, I>>::build_upon::hefd4816fa7b65b00
  14:     0x5598b7e5776e - <futures::future::chain::Chain<A, B, C>>::poll::h9195dd5d5e566698
  15:     0x5598b7edeea8 - <futures::future::map::Map<A, F> as futures::future::Future>::poll::h54643b6455bc58c3
  16:     0x5598b7d6555f - futures::task_impl::std::set::h7a0203756568a8d7
  17:     0x5598b7e8db49 - tokio::executor::current_thread::CurrentRunner::set_spawn::ha8055215124662f1
  18:     0x5598b7d6278c - <tokio::executor::current_thread::scheduler::Scheduler<U>>::tick::hed79d2709f5bc7c0
  19:     0x5598b7e94d93 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::h337155d232307d52
  20:     0x5598b7d34fd8 - <std::thread::local::LocalKey<T>>::with::hcf8b8e8cafdeb114
  21:     0x5598b7d31487 - <std::thread::local::LocalKey<T>>::with::h16119b8be9666611
  22:     0x5598b7d32c35 - <std::thread::local::LocalKey<T>>::with::h4d9e7dc4db3028fa
  23:     0x5598b7d34e1b - <std::thread::local::LocalKey<T>>::with::hce47b8d8e63359c4
  24:     0x5598b7d5d287 - tokio::runtime::current_thread::runtime::Runtime::block_on::hdacb7cba3d051a3e
  25:     0x5598b7d73a4c - std::sys_common::backtrace::__rust_begin_short_backtrace::hdac8cceceed2ed06
  26:     0x5598b7d18c55 - std::panicking::try::do_call::h4afde8eb0bd23b78
  27:     0x5598b881fe39 - __rust_maybe_catch_panic
                        at libpanic_unwind/lib.rs:105
  28:     0x5598b7d97090 - <F as alloc::boxed::FnBox<A>>::call_box::h5fd7c79d7babc955
  29:     0x5598b87f9fda - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h75e539106a648d39
                        at /checkout/src/liballoc/boxed.rs:650
                         - std::sys_common::thread::start_thread::h88a639c99862a9f5
                        at libstd/sys_common/thread.rs:24
  30:     0x5598b87fd575 - std::sys::unix::thread::Thread::new::thread_start::h7d7a420a78cfa84d
                        at libstd/sys/unix/thread.rs:90
  31:     0x7fe09ea806b9 - start_thread
  32:     0x7fe09e5a041c - clone
  33:                0x0 - <unknown>

Thread '<unnamed>' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Invalid state root: 0x1780…d655"', libcore/result.rs:945

This is a bug. Please report it at:

    https://github.com/paritytech/polkadot/issues/new

Metadata

Metadata

Assignees

Labels

I3-bugThe node fails to follow expected behavior.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions