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

Database corruption? #606

Closed
gavofyork opened this issue Aug 25, 2018 · 2 comments
Closed

Database corruption? #606

gavofyork opened this issue Aug 25, 2018 · 2 comments

Comments

@gavofyork
Copy link
Member

Running v0.2, latest.

018-08-25 12:53:11 Idle (2 peers), best: #1131490 (f7d3…934c)
2018-08-25 12:53:16 Idle (2 peers), best: #1131490 (f7d3…934c)

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

stack backtrace:
   0:        0x1045965fe - backtrace::backtrace::trace::h1e5a0011abbb33b2
   1:        0x1045957fc - _$LT$backtrace..capture..Backtrace$u20$as$u20$core..default..Default$GT$::default::h28a561f1033dc8f5
   2:        0x10459587d - backtrace::capture::Backtrace::new::h1c3fc463634bb61e
   3:        0x103ad2659 - substrate_cli::panic_hook::panic_hook::h7612988062f89315
   4:        0x103ad236b - core::ops::function::Fn::call::h4322d2ef8b87bc8b
   5:        0x1046dbc4e - std::panicking::rust_panic_with_hook::h81c4f3add25e6667
   6:        0x1046db9ce - std::panicking::continue_panic_fmt::hfa057b7c1de88179
   7:        0x1046db658 - rust_begin_unwind
   8:        0x10471f271 - core::panicking::panic_fmt::h4c82aa4e615d52a2
   9:        0x10395f5ed - core::result::unwrap_failed::h78ae1ed635bb8494
  10:        0x1037eb109 - _$LT$substrate_state_machine..ext..Ext$LT$$u27$a$C$$u20$B$GT$$u20$as$u20$substrate_state_machine..Externalities$GT$::storage::h2a9395c9f92b0543
  11:        0x103869bd6 - substrate_state_machine::execute_using_consensus_failure_handler::h419cc3700865f0ad
  12:        0x10381abc8 - _$LT$substrate_client..call_executor..LocalCallExecutor$LT$B$C$$u20$E$GT$$u20$as$u20$substrate_client..call_executor..CallExecutor$LT$Block$GT$$GT$::call::h064adad73345546b
  13:        0x1039b38ee - _$LT$substrate_client..client..Client$LT$B$C$$u20$E$C$$u20$Block$GT$$GT$::authorities_at::h19076943a6ba4419
  14:        0x103988f48 - _$LT$substrate_client..client..Client$LT$B$C$$u20$E$C$$u20$Block$GT$$u20$as$u20$substrate_network..chain..Client$LT$Block$GT$$GT$::import::h6e20835d1bab0f08
  15:        0x103842f37 - substrate_network::import_queue::import_thread::h825a5f463414f8b4
  16:        0x103822157 - std::panicking::try::do_call::h2c7576ecca5c3b6c (.llvm.18174771488920436276)
  17:        0x1046e7d5e - __rust_maybe_catch_panic
  18:        0x1038bcd6c - _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hba33478793833636
  19:        0x1046daaa7 - std::sys_common::thread::start_thread::h78b1dd404be976ad
  20:        0x1046c2018 - std::sys::unix::thread::Thread::new::thread_start::h27c6becca8cf44e0
  21:     0x7fff6d9b7660 - _pthread_body
  22:     0x7fff6d9b750c - _pthread_start

Thread 'ImportQueue' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Invalid state root: 0x20e7…00eb"', libcore/result.rs:945

This is a bug. Please report it at:

    https://github.com/paritytech/polkadot/issues/new
@gavofyork
Copy link
Member Author

ok no corruption - restart and all was fine. still a panic though...

@gavofyork
Copy link
Member Author

problably fixed recently.

lamafab pushed a commit to lamafab/substrate that referenced this issue Jun 16, 2020
* update substrate for change to palette

* change paint to palette

* update lock

* Fix missing import

* change to polkadot-master

* Use same commit hash of parity-common

* Resolve linking errors

* Rename to frame

* bump spec

* Subsume paritytech#602 and paritytech#596

* Fix DispatchInfo

* Merge `futures03` and `joe-update-to-palette` (paritytech#606)

* Change repo and branch

* Made changes

* Bumped async-std version

* Fix line width

* Bump spec_version

* Fix `run_to_block` for Crowdfund module (paritytech#603)

Probably a copy paste error.

* Bump dependencies

* Update trie-db to be inline with substrate

* Fix documentation warning

* Fix test compilation
liuchengxu added a commit to chainx-org/substrate that referenced this issue Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant