Skip to content
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

Log index tail rendering failed #31491

Closed
jwgstr opened this issue Mar 25, 2025 · 0 comments · Fixed by #31500
Closed

Log index tail rendering failed #31491

jwgstr opened this issue Mar 25, 2025 · 0 comments · Fixed by #31500
Assignees
Labels

Comments

@jwgstr
Copy link

jwgstr commented Mar 25, 2025

System information

Geth version: 1.15.6
CL client & version: [email protected]
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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants