Bug Summary
Validator crashes instantly when processing block #25830930 (0x145a…36bc) on Kusama
Bug Description
Validator crashes instantly when processing block #25830930 (0x145a…36bc) on Kusama, presumably due to inability to obtain validator list for said block:
Nov 19 10:49:13 v1-oslo kagome[937259]: 24.11.19 10:49:13.373496 kagome Critical Babe Can't obtain disabled validators list for block #25830930 (0x145a…36bc)
Steps to Reproduce
Mode: Validator
number of nodes: 1
Command: kagome --chain kusama -d [...] --validator --listen-addr [...] --public-addr [...] --name [...] --rpc-port [...] --telemetry-url [...] --telemetry-url [...] --node-key-file [...]
Effects of the Bug
Instantly crashes, service restarts, hits same error again.
Example error log running with --validator:
Nov 19 10:49:11 v1-oslo systemd[1]: Started Start kusama node.
Nov 19 10:49:11 v1-oslo kagome[937259]: 24.11.19 10:49:11.692894 kagome Info Configuration Parachain multi process: true
Nov 19 10:49:11 v1-oslo kagome[937259]: 24.11.19 10:49:11.692921 kagome Info Configuration Listen addresses are set. The p2p port value would be ignored then.
Nov 19 10:49:11 v1-oslo kagome[937259]: 24.11.19 10:49:11.717656 kagome Warning chain_spec Field 'chainType' was not specified in the chain spec. 'Live' by default.
Nov 19 10:49:11 v1-oslo kagome[937259]: 24.11.19 10:49:11.717668 kagome Warning chain_spec A non-empty set of 'badBlocks' encountered! They might not be taken into account!
Nov 19 10:49:11 v1-oslo kagome[937259]: 24.11.19 10:49:11.726213 kagome Info Main Kagome started. Version: 0.9.5-34-feature/nix-support-13-658dbf0d-dirty
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.102263 kagome Info Injector Will use LibP2P keypair from config or 'node-key-file' CLI arg
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.103523 kagome Info BlockTree Highest block: #25830930 (0x145a…36bc), Last finalized: #25830927 (0xd88f…cd2b)
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.103798 kagome Info PVF Executor pvf runtime engine kWasmEdgeInterpreted
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.200893 kagome Info Application Start as node version '0.9.5-34-feature/nix-support-13-658dbf0d-dirty' named as '
Zugian Duck 🦆 Too' with PID 937259
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.200902 kagome Info Application Chain path is /home/kusama/.local/share/kagome/chains/ksmcc3, storage backend is RocksDB
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.220974 kagome Info Timeline Fast sync would be faster than Full sync that was selected
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.221005 kagome Info OpenMetrics Listening for new connections on 0.0.0.0:9615
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.221247 statement-distr Info StatementDistribution StatementDistribution subsystem started.
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.221259 main_runner Info RouterLibp2p Started with peer id: 12D3KooWNfH4nKwB34P832idGQHVwXaGpAGtUptWcYMGCUkH2YDJ
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.221261 main_runner Info RouterLibp2p Started listening on address: /ip4/0.0.0.0/tcp/30363/p2p/12D3KooWNfH4nKwB34P832idGQHVwXaGpAGtUptWcYMGCUkH2YDJ
Nov 19 10:49:12 v1-oslo kagome[937259]: 24.11.19 10:49:12.241417 beefy Info Beefy last finalized 25830922
Nov 19 10:49:13 v1-oslo kagome[937259]: 24.11.19 10:49:13.134351 precompile.13 Warning ModulePrecompiler No validation code found for parachain 3355 with 'included' occupied assumption
Nov 19 10:49:13 v1-oslo kagome[937259]: 24.11.19 10:49:13.373496 kagome Critical Babe Can't obtain disabled validators list for block #25830930 (0x145a…36bc)
Nov 19 10:49:13 v1-oslo kagome[937259]: terminate called after throwing an instance of 'boost::wrapexcept<std::system_error>'
Nov 19 10:49:13 v1-oslo kagome[937259]: what(): Runtime module compilation failed
Nov 19 10:49:13 v1-oslo kagome[937259]: Stack trace (most recent call last):
Nov 19 10:49:13 v1-oslo kagome[937259]: #17 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #16 Object "/home/shared/kagome", at 0x797df4, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #15 Object "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6", at 0x7f973b63d1c8, in __libc_start_main
Nov 19 10:49:13 v1-oslo kagome[937259]: #14 Object "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6", at 0x7f973b63d10d, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #13 Object "/home/shared/kagome", at 0x5ee268, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #12 Object "/home/shared/kagome", at 0x7a7cee, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #11 Object "/home/shared/kagome", at 0x56e6484, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #10 Object "/home/shared/kagome", at 0x56e6243, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #9 Object "/home/shared/kagome", at 0x5339b0a, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #8 Object "/home/shared/kagome", at 0x53652ba, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #7 Object "/home/shared/kagome", at 0x79b2ca, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #6 Object "/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib/libstdc++.so.6", at 0x7f973b8bc4d6, in __cxa_throw
Nov 19 10:49:13 v1-oslo kagome[937259]: #5 Object "/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib/libstdc++.so.6", at 0x7f973b8bc284, in std::terminate()
Nov 19 10:49:13 v1-oslo kagome[937259]: #4 Object "/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib/libstdc++.so.6", at 0x7f973b8bc219, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #3 Object "/nix/store/p44qan69linp3ii0xrviypsw2j4qdcp2-gcc-13.2.0-lib/lib/libstdc++.so.6", at 0x7f973b8acc0a, in
Nov 19 10:49:13 v1-oslo kagome[937259]: #2 Object "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6", at 0x7f973b63b934, in abort
Nov 19 10:49:13 v1-oslo kagome[937259]: #1 Object "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6", at 0x7f973b652e85, in gsignal
Nov 19 10:49:13 v1-oslo kagome[937259]: #0 Object "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6", at 0x7f973b6a2efc, in
Nov 19 10:49:13 v1-oslo kagome[937259]: Aborted (Signal sent by tkill() 937259 1001)
Nov 19 10:49:23 v1-oslo systemd[1]: kagosama.service: Main process exited, code=dumped, status=6/ABRT
If relaunching as non-validator, get following failure:
Nov 19 10:58:46 v1-oslo kagome[939623]: 24.11.19 10:58:46.045203 main_runner Warning AuthorityDiscoveryQuery update: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:58:52 v1-oslo kagome[939623]: 24.11.19 10:58:52.028992 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:58:54 v1-oslo kagome[939623]: 24.11.19 10:58:54.435167 main_runner Warning AuthorityDiscoveryQuery update: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:58:59 v1-oslo kagome[939623]: 24.11.19 10:58:59.302799 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:02 v1-oslo kagome[939623]: 24.11.19 10:59:02.654045 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:10 v1-oslo kagome[939623]: 24.11.19 10:59:10.793996 main_runner Warning AuthorityDiscoveryQuery update: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:17 v1-oslo kagome[939623]: 24.11.19 10:59:17.420723 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:26 v1-oslo kagome[939623]: 24.11.19 10:59:26.440330 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:34 v1-oslo kagome[939623]: 24.11.19 10:59:34.160641 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:42 v1-oslo kagome[939623]: 24.11.19 10:59:42.009457 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 10:59:43 v1-oslo kagome[939623]: 24.11.19 10:59:43.255635 main_runner Warning AuthorityDiscoveryQuery update: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:02 v1-oslo kagome[939623]: 24.11.19 11:00:02.015180 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:04 v1-oslo kagome[939623]: 24.11.19 11:00:04.202035 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:18 v1-oslo kagome[939623]: 24.11.19 11:00:18.202416 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:32 v1-oslo kagome[939623]: 24.11.19 11:00:32.202310 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:37 v1-oslo kagome[939623]: 24.11.19 11:00:37.438088 main_runner Warning SyncProtocolObserver cannot find a requested block with id 22092206
Nov 19 11:00:37 v1-oslo kagome[939623]: 24.11.19 11:00:37.991485 main_runner Warning SyncProtocolObserver cannot find a requested block with id 22092206
Nov 19 11:00:42 v1-oslo kagome[939623]: 24.11.19 11:00:42.326012 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:47 v1-oslo kagome[939623]: 24.11.19 11:00:47.757893 main_runner Warning AuthorityDiscoveryQuery update: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:49 v1-oslo kagome[939623]: 24.11.19 11:00:49.666253 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:00:57 v1-oslo kagome[939623]: 24.11.19 11:00:57.268267 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:04 v1-oslo kagome[939623]: 24.11.19 11:01:04.891949 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:12 v1-oslo kagome[939623]: 24.11.19 11:01:12.084679 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:22 v1-oslo kagome[939623]: 24.11.19 11:01:22.918255 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:33 v1-oslo kagome[939623]: 24.11.19 11:01:33.145494 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:43 v1-oslo kagome[939623]: 24.11.19 11:01:43.587138 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:50 v1-oslo kagome[939623]: 24.11.19 11:01:50.772251 main_runner Warning Synchronizer Block #25830931 (0x39c2…53b4) and 52 others have been discarded: N6kagome7runtime5ErrorE(1) Runtime module compilation failed
Nov 19 11:01:53 v1-oslo kagome[939623]: 24.11.19 11:01:53.737957 main_runner Warning SyncProtocolObserver cannot find a requested block with id 18529500
Nov 19 11:01:54 v1-oslo kagome[939623]: 24.11.19 11:01:54.168132 main_runner Warning SyncProtocolObserver cannot find a requested block with id 18529500
Expected Behavior
Doesn't crash on said block. Non-validator doesn't crash but stalls on block #25830930's child (see logs below).
System Information
NixOS 24.5 with kernel 6.11.5
Compiler: gcc 13.2.0
CMake: cmake version 3.25.3
Additional Context
No response
Bug Summary
Validator crashes instantly when processing block #25830930 (0x145a…36bc) on Kusama
Bug Description
Validator crashes instantly when processing block #25830930 (0x145a…36bc) on Kusama, presumably due to inability to obtain validator list for said block:
Steps to Reproduce
Mode: Validator
number of nodes: 1
Command:
kagome --chain kusama -d [...] --validator --listen-addr [...] --public-addr [...] --name [...] --rpc-port [...] --telemetry-url [...] --telemetry-url [...] --node-key-file [...]Effects of the Bug
Instantly crashes, service restarts, hits same error again.
Example error log running with
--validator:If relaunching as non-validator, get following failure:
Expected Behavior
Doesn't crash on said block. Non-validator doesn't crash but stalls on block #25830930's child (see logs below).
System Information
NixOS 24.5 with kernel 6.11.5
Compiler: gcc 13.2.0
CMake: cmake version 3.25.3
Additional Context
No response