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

Panic during block sync #3212

Closed
ukane-philemon opened this issue Nov 13, 2023 · 2 comments
Closed

Panic during block sync #3212

ukane-philemon opened this issue Nov 13, 2023 · 2 comments

Comments

@ukane-philemon
Copy link

I'm running dcrd version 1.9.0-pre+216132d7d (Go version go1.20.5 darwin/amd64)

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

goroutine 51053 [running]:
github.com/decred/dcrd/wire.WriteMessageN({0x1869160, 0xc05387c168}, {0x0, 0x0}, 0x56bef2?, 0xc0?)
	/Users/{redacted}/DEsktop/decred/dcrd/wire/message.go:239 +0x6a
github.com/decred/dcrd/pe(0xc007317c00, {0x0?, 0x0})
	/Users/redacted}/DEsktop/decred/dcrd/peer/peer.go:997 +0x457
github.com/decred/dcrd/peer/v3.(*Peer).outHandler(0xc007317c00)
	/Users/redacted}/DEsktop/decred/dcrd/peer/peer.go:1613 +0x277
created by github.com/decred/dcrd/peer/v3.(*Peer).start
	/Users/redacted}/DEsktop/decred/dcrd/peer/peer.go:1958 +0x330
	
@jrick
Copy link
Member

jrick commented Nov 13, 2023

There have been significant improvements to the peer code since then, even in the past couple weeks. This panic looks a lot like one that was just recently fixed. I'd suggest upgrading and reporting any further issues if you hit them.

@davecgh
Copy link
Member

davecgh commented Nov 13, 2023

I'm fairly certain this has already been addressed by other updates, but unfortunately this trace does not provide enough info to say definitively.

In any case, I'm closing this since it is addressed by #3213 insofar as if it turns out it really isn't fixed and happens again, we'll have a stack trace that pinpoints the exact cause and it can be addressed then.

Please update to the latest master.

@davecgh davecgh closed this as completed Nov 13, 2023
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

No branches or pull requests

3 participants