-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Closed
Labels
Description
System information
Geth version: 1.15.6-unstable
CL client & version: nimbus
OS & Version: OSX
Commit hash : 881ee40
Actual behaviour
After killing geth in the init phase with a ctrl-c, it can't restart.
Killed in the init phase like this:
INFO [03-26|10:54:44.566] - Cancun: @1710338135 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)
INFO [03-26|10:54:44.566]
INFO [03-26|10:54:44.566] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [03-26|10:54:44.566]
INFO [03-26|10:54:44.567] Loaded most recent local block number=22,130,311 hash=15955c..c22cee age=21s
INFO [03-26|10:54:44.567] Loaded most recent local finalized block number=22,130,237 hash=b807f1..b0ba95 age=15m9s
INFO [03-26|10:54:44.567] Loaded last snap-sync pivot marker number=22,124,002
WARN [03-26|10:54:44.567] Head state missing, repairing number=22,130,311 hash=15955c..c22cee snaproot=ce4bcb..5631b6
INFO [03-26|10:54:44.574] Rewound to block with state number=22,129,711 hash=9c1ded..575df6
^C
Restarting fails like this
INFO [03-26|11:09:38.551] Starting Geth on Ethereum mainnet...
INFO [03-26|11:09:38.551] Bumping default cache on mainnet provided=1024 updated=4096
INFO [03-26|11:09:38.552] Maximum peer count ETH=50 total=50
INFO [03-26|11:09:38.552] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [03-26|11:09:38.554] Set global gas cap cap=50,000,000
INFO [03-26|11:09:38.561] Initializing the KZG library backend=gokzg
INFO [03-26|11:09:38.572] Enabling metrics collection
INFO [03-26|11:09:38.572] Enabling stand-alone metrics HTTP endpoint address=0.0.0.0:6060
INFO [03-26|11:09:38.572] Starting metrics server addr=http://0.0.0.0:6060/debug/metrics
INFO [03-26|11:09:38.572] Allocated trie memory caches clean=614.00MiB dirty=1024.00MiB
INFO [03-26|11:09:38.578] Using pebble as the backing database
INFO [03-26|11:09:38.578] Allocated cache and file handles database=/home/user/.ethereum/geth/chaindata cache=2.00GiB handles=524,288
INFO [03-26|11:09:39.592] Opened ancient database database=/home/user/.ethereum/geth/chaindata/ancient/chain readonly=false
Chain metadata
databaseVersion: 9 (0x9)
headBlockHash: 0x9c1ded300eff7bd9888ef50efe834ae4872138c499bc0cac9237c66359575df6
headFastBlockHash: 0x15955ca3b96163347ac361e0f5ed4f030345a95f2d66b5c0f0c7668111c22cee
headHeaderHash: 0xa08081168d23b5505909ff2d98547b786e27753748d8787a129bd98e9c01953a
lastPivotNumber: 22124002 (0x15195e2)
len(snapshotSyncStatus): 282 bytes
snapshotDisabled: false
snapshotJournal: 0 bytes
snapshotRecoveryNumber: 22130119 (0x151adc7)
snapshotRoot: 0xce4bcb0e32a40ead20270594392d09540d9b881396fb9198997c337fbb5631b6
txIndexTail: 19780311 (0x12dd2d7)
SkeletonSyncStatus: {"Subchains":[{"Head":22130270,"Tail":22129712,"Next":"0x9c1ded300eff7bd9888ef50efe834ae4872138c499bc0cac9237c66359575df6"}],"Finalized":22124001}
Fatal: Failed to register the Ethereum service: gap in the chain between ancients [0 - #22129824] and leveldb [#22130074 - #22130073]
Steps to reproduce the behaviour
Already happened twice killing geth early, but not sure how reproducible.