-
Notifications
You must be signed in to change notification settings - Fork 21.3k
Closed
Labels
Description
System information
Geth version: 1.12.1-stable-9c216bd6
CL client & version: lighthouse @ v4.3.0-dfcb336
OS & Version: Linux (docker container)
Expected behaviour
Geth starts normally
Actual behaviour
geth logs the following, then crashes:
INFO [08-10|22:49:51.505] Starting Geth on Ethereum mainnet...
INFO [08-10|22:49:51.506] Bumping default cache on mainnet provided=1024 updated=4096
INFO [08-10|22:49:51.506] Enabling metrics collection
INFO [08-10|22:49:51.506] Enabling stand-alone metrics HTTP endpoint address=0.0.0.0:6060
INFO [08-10|22:49:51.506] Starting metrics server addr=http://0.0.0.0:6060/debug/metrics
WARN [08-10|22:49:51.509] Config field is deprecated and won't have an effect name=ethconfig.Config.TrieCleanCacheRejournal
WARN [08-10|22:49:51.509] Config field is deprecated and won't have an effect name=ethconfig.Config.TrieCleanCacheJournal
INFO [08-10|22:49:51.527] Maximum peer count ETH=500 LES=0 total=500
INFO [08-10|22:49:51.531] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [08-10|22:49:51.535] Enabling recording of key preimages since archive mode is used
INFO [08-10|22:49:51.536] Set global gas cap cap=50,000,000
INFO [08-10|22:49:51.538] Initializing the KZG library backend=gokzg
INFO [08-10|22:49:51.629] Allocated trie memory caches clean=1.20GiB dirty=0.00B
INFO [08-10|22:50:01.973] Using leveldb as the backing database
INFO [08-10|22:50:01.973] Allocated cache and file handles database=/mount/geth/ethdb2/geth/chaindata cache=2.00GiB handles=524,288
INFO [08-10|22:51:09.650] Using LevelDB as the backing database
INFO [08-10|22:51:09.650] Found legacy ancient chain path location=/mount/geth/ethdb2/geth/chaindata/ancient
INFO [08-10|22:51:09.707] Opened ancient database database=/mount/geth/ethdb2/geth/chaindata/ancient readonly=false
panic: runtime error: index out of range [7] with length 7
goroutine 4675 [running]:
github.com/ethereum/go-ethereum/ethdb/leveldb.(*Database).meter(0xc000002900, 0xd?)
github.com/ethereum/go-ethereum/ethdb/leveldb/leveldb.go:365 +0xb46
created by github.com/ethereum/go-ethereum/ethdb/leveldb.NewCustom
github.com/ethereum/go-ethereum/ethdb/leveldb/leveldb.go:155 +0x9aa
Steps to reproduce the behaviour
Start geth.
Backtrace
goroutine 4675 [running]:
github.com/ethereum/go-ethereum/ethdb/leveldb.(*Database).meter(0xc000002900, 0xd?)
github.com/ethereum/go-ethereum/ethdb/leveldb/leveldb.go:365 +0xb46
created by github.com/ethereum/go-ethereum/ethdb/leveldb.NewCustom
github.com/ethereum/go-ethereum/ethdb/leveldb/leveldb.go:155 +0x9aa
When submitting logs: please submit them as text and not screenshots.