Skip to content

Log index tail rendering failed #31491

@jwgstr

Description

@jwgstr

System information

Geth version: 1.15.6
CL client & version: prysm@v5.3.2
OS & Version: Ubuntu 22.04

Expected behaviour

upgrade to 1.15.6 works without errors

Actual behaviour

seeing the following errors in the log after upgrading to 1.15.6

Steps to reproduce the behaviour

Only tried once to run geth 1.15.6, then after seeing the error several times in the logs, then decided to try to rollback to 1.15.5 which appears to be working appropriately without any additional intervention.

Backtrace

Mar 25 17:58:10 HOST geth[602010]: ERROR[03-25|17:58:10.201] Log index tail rendering failed          error="failed to advance log iterator at 14067589891 while rendering map 214654: receipts not found for block 19832464"
Mar 25 17:58:10 HOST geth[602010]: panic: runtime error: index out of range [214] with length 0
Mar 25 17:58:10 HOST geth[602010]: goroutine 4802 [running]:
Mar 25 17:58:10 HOST geth[602010]: github.com/ethereum/go-ethereum/core/filtermaps.(*logIterator).getValueHash(0x18d07cdf4a1ca180?)
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/map_renderer.go:727 +0x1ae
Mar 25 17:58:10 HOST geth[602010]: github.com/ethereum/go-ethereum/core/filtermaps.(*mapRenderer).renderCurrentMap(0xc00fb18ab0, 0xc01126df40)
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/map_renderer.go:327 +0x367
Mar 25 17:58:10 HOST geth[602010]: github.com/ethereum/go-ethereum/core/filtermaps.(*mapRenderer).run(0xc00fb18ab0, 0xc01126df40, 0xc01126df30)
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/map_renderer.go:276 +0x3e
Mar 25 17:58:10 HOST geth[602010]: github.com/ethereum/go-ethereum/core/filtermaps.(*FilterMaps).tryIndexTail(0xc00ac0e288)
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/indexer.go:284 +0x218
Mar 25 17:58:10 HOST geth[602010]: github.com/ethereum/go-ethereum/core/filtermaps.(*FilterMaps).indexerLoop(0xc00ac0e288)
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/indexer.go:72 +0x13d
Mar 25 17:58:10 HOST geth[602010]: created by github.com/ethereum/go-ethereum/core/filtermaps.(*FilterMaps).Start in goroutine 1
Mar 25 17:58:10 HOST geth[602010]:         github.com/ethereum/go-ethereum/core/filtermaps/filtermaps.go:250 +0x185
Mar 25 17:58:10 HOST systemd[1]: geth.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 25 17:58:10 HOST systemd[1]: geth.service: Failed with result 'exit-code'.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions