Skip to content

Panic on reorgOnNewHead #21505

@andrewheadricke

Description

@andrewheadricke

Geth 1.9.20 - Linux

INFO [08-31|21:47:06.926] Imported new block headers               count=2   elapsed=15.987ms  number=10768509 hash="7fa573…25a30f" ignored=1
INFO [08-31|21:47:07.134] Loaded most recent local header          number=10766460 hash="b45f35…72944b" td=17121215388538268308988 age=7h35m7s
WARN [08-31|21:47:07.135] Rolled back chain segment                header=10768509->10766460 fast=0->0 block=0->0     reason="syncing canceled (requested)"
WARN [08-31|21:47:07.135] Synchronisation failed, retrying         err="no peers to keep download active"
INFO [08-31|21:47:14.766] Looking for peers                        peercount=0 tried=13 static=0
INFO [08-31|21:47:24.770] Looking for peers                        peercount=0 tried=8  static=0
INFO [08-31|21:47:34.774] Looking for peers                        peercount=0 tried=10 static=0
INFO [08-31|21:47:44.778] Looking for peers                        peercount=0 tried=14 static=0
INFO [08-31|21:47:54.781] Looking for peers                        peercount=0 tried=6  static=0
INFO [08-31|21:48:04.785] Looking for peers                        peercount=0 tried=7  static=0
INFO [08-31|21:48:14.788] Looking for peers                        peercount=0 tried=9  static=0
INFO [08-31|21:48:24.792] Looking for peers                        peercount=0 tried=9  static=0
WARN [08-31|21:48:33.698] Synchronisation failed, dropping peer    peer=09b73c91a98e588184b67e95baa15602fa63301c69814c27193a55f48e370a3e err=timeout
INFO [08-31|21:48:34.795] Looking for peers                        peercount=1 tried=12 static=0
INFO [08-31|21:48:41.295] Imported new block headers               count=192 elapsed=829.917ms number=10766652 hash="433ff3…2749ba" age=6h53m
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xd20998]

goroutine 49 [running]:
github.com/ethereum/go-ethereum/light.(*TxPool).reorgOnNewHead(0xc000f5c000, 0x1491740, 0xc002d776e0, 0xc003abb200, 0xc002d776e0, 0xc0047ff020, 0x4664ac)
        github.com/ethereum/go-ethereum/light/txpool.go:229 +0x238
github.com/ethereum/go-ethereum/light.(*TxPool).setNewHead(0xc000f5c000, 0xc003abb200)
        github.com/ethereum/go-ethereum/light/txpool.go:310 +0xf7
github.com/ethereum/go-ethereum/light.(*TxPool).eventLoop(0xc000f5c000)
        github.com/ethereum/go-ethereum/light/txpool.go:291 +0x56
created by github.com/ethereum/go-ethereum/light.NewTxPool
        github.com/ethereum/go-ethereum/light/txpool.go:108 +0x3da

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions