-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Validator crashes on failure to obtain list of disabled validators on Kusama block #25830930 #2280
Comments
Thanks for reporting! |
Thanks for the swift attention to the issue!
Unfortunately, get the same error on #2281 after rebuilding db (from #2271 - #2278 wasn't built on it). Attached are logs both for validator & non-validator modes. |
@Lederstrumpf we are investigating the issue. Meanwhile, you may try to sync the node with Warp or Fast sync. For some of our devs problem is not reproducing after they synced to the end of the chain. |
Thanks, fwiw, the Full sync from my backup db from 14 days ago (mentioned here: #2276 (comment)) failed today on the same block/error. Just restarted with a Warp sync from genesis - will update on its result once completed. |
Unfortunately also fails: strictly on the successor of the warp sync target block, both for validator and non-validator modes: Nov 21 10:23:10 v1-oslo kagome[993246]: 24.11.21 10:23:10.547760 main_runner Warning Synchronizer Block #25874041 (0x521d…627b) and 104 others have been discarded: N6kagome10blockchain14BlockTreeErrorE(9) the requested block header is not found in block storage
Nov 21 10:23:35 v1-oslo kagome[993246]: 24.11.21 10:23:35.084349 main_runner Warning Synchronizer Block #25874041 (0x521d…627b) and 108 others have been discarded: N6kagome10blockchain14BlockTreeErrorE(9) the requested block header is not found in block storage
Nov 21 10:23:38 v1-oslo kagome[993246]: 24.11.21 10:23:38.752177 main_runner Warning Synchronizer Block #25874041 (0x521d…627b) and 109 others have been discarded: N6kagome10blockchain14BlockTreeErrorE(9) the requested block header is not found in block storage I've attached some logs with the initial sync and restarts of the service: on every node restart (with |
Sorry, I couldn't find Also, btw the issue from could have been resolved in the master by #2285 . You may try to use master branch to check if it moves forward. (Please note we recently updated the database format, you might require |
Ah, you're right I forgot to attach - sorry about that, here they are:
Will give it a shot - I didn't have #2285 in yet. DB's already migrated though. |
Unfortunately still fails for me with #2285 included; even on a fresh Warp sync, see attached logs. It might be that Amforc's "The Spammening" happening atm is a factor. kagome_warp_sync_fresh_6_validator_#2280.log |
I couldn't reproduce the issue exactly. I suspect there might be some undefined behaviour either with 1) wabt instrumentation or 2) wasmedge . To check 2) please try to rebuild KAGOME with |
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
The text was updated successfully, but these errors were encountered: