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

les: fix crash happening after setHead #24200

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Jan 5, 2022

This PR fixes a crash that happened on one of the sealers, after a setHead was performed on it:

 Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth panic: runtime error: invalid memory address or nil pointer dereference
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth [signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xc69da5]
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth goroutine 155 [running]:
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth github.com/ethereum/go-ethereum/les.(*serverHandler).broadcastLoop(0xc007bf98c0)
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth github.com/ethereum/go-ethereum/les/server_handler.go:424 +0x3a5
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth created by github.com/ethereum/go-ethereum/les.(*serverHandler).start
Jan 04 10:10:20 rinkeby-aws-eu-north-1-001 geth github.com/ethereum/go-ethereum/les/server_handler.go:92 +0x6f

@fjl fjl added this to the 1.10.15 milestone Jan 5, 2022
@fjl fjl merged commit 335914a into ethereum:master Jan 5, 2022
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Jan 6, 2022
@eliane345

This comment was marked as spam.

JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants