Skip to content

SIGSEGV from eth/downloader/downloader.go #22714

@pepa65

Description

@pepa65

Geth version: 1.10.2-stable, go1.16
OS & Version: Linux Mint 20 Ulyana
Commit hash : 97d11b0
Date: 20210408

It had been running for a number of days, but now it has crashed 3 times in the same day.
Run with: --datadir=/data/Geth --cache=512 --lightkdf --ws
Output:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5455c4]

goroutine 54258 [running]:
math/big.(*Int).Cmp(0xc00bacb360, 0x0, 0x67f5d5406ab810c0)
        math/big/int.go:328 +0x44
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).processHeaders(0xc00000c3c0, 0x98fcd9, 0xc00bacb360, 0x0, 0x0)
        github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1586 +0x126f
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func6(0x140aba0, 0xc00842b260)
        github.com/ethereum/go-ethereum/eth/downloader/downloader.go:563 +0x3f
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func1(0xc00000c3c0, 0xc00d17b740, 0xc00cd6bc60)
        github.com/ethereum/go-ethereum/eth/downloader/downloader.go:584 +0x5b
created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
        github.com/ethereum/go-ethereum/eth/downloader/downloader.go:584 +0xaf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions