paritytech/parity-db

Release 0.9.8 and paritydb

Closed this issue · 1 comments

Op: Ubuntu 20.04.2 LTS
Db: Paritydb
Polkadot release version: 0.9.8
Chain: Kusama

This bug is occurring on all my nodes with paritydb and kusama after the update to polkadot 0.9.8
Nodes with chain = polkadot are good

Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]: 2021-07-07 20:22:00.433  INFO tokio-runtime-worker substrate: ✨ Imported #8244832 (0x45e7…4532)
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]: ====================
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]: Version: 0.9.8-3a10ee63c-x86_64-linux-gnu
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    0: sp_panic_handler::set::{{closure}}
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    1: std::panicking::rust_panic_with_hook
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/panicking.rs:595:17
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    2: std::panicking::begin_panic_handler::{{closure}}
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/panicking.rs:495:13
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    3: std::sys_common::backtrace::__rust_end_short_backtrace
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/sys_common/backtrace.rs:141:18
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    4: rust_begin_unwind
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/panicking.rs:493:5
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    5: core::panicking::panic_fmt
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/panicking.rs:92:14
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    6: core::panicking::panic
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/panicking.rs:50:5
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    7: parity_db::db::DbInner::enact_logs
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    8: parity_db::db::Db::commit_worker
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:    9: std::sys_common::backtrace::__rust_begin_short_backtrace
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:   10: core::ops::function::FnOnce::call_once{{vtable.shim}}
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:   11: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/alloc/src/boxed.rs:1546:9
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:       <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/alloc/src/boxed.rs:1546:9
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:       std::sys::unix::thread::Thread::new::thread_start
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:              at rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/sys/unix/thread.rs:71:17
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:   12: start_thread
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:   13: clone
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]: Thread '<unnamed>' panicked at 'attempt to subtract with overflow', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/parity-db-0.2.4/src/db.rs:523
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]: This is a bug. Please report it at:
Jul 07 20:22:00 Kusama-Cosmoon2 polkadot[1537]:         https://github.com/paritytech/polkadot/issues/new
Jul 07 20:22:00 Kusama-Cosmoon2 systemd[1]: polkadot-validator.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 20:22:00 Kusama-Cosmoon2 systemd[1]: polkadot-validator.service: Failed with result 'exit-code'.
Jul 07 20:24:00 Kusama-Cosmoon2 systemd[1]: polkadot-validator.service: Scheduled restart job, restart counter is at 2.
Jul 07 20:24:00 Kusama-Cosmoon2 systemd[1]: Stopped Polkadot Validator.
Jul 07 20:24:00 Kusama-Cosmoon2 systemd[1]: Started Polkadot Validator.
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.979  INFO main polkadot_cli::command: ----------------------------
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main polkadot_cli::command: This chain is not in any way
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main polkadot_cli::command:       endorsed by the
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main polkadot_cli::command:      KUSAMA FOUNDATION
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main polkadot_cli::command: ----------------------------
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main sc_cli::runner: Parity Polkadot
Jul 07 20:24:00 Kusama-Cosmoon2 polkadot[2080]: 2021-07-07 20:24:00.980  INFO main sc_cli::runner: ✌️  version 0.9.8-3a10ee63c-x86_64-linux-gnu

0.9.8. Initially contained debug assertions on by default, which was fixed in later re-release