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

libp2p: putting the same entry twice not supported #6882

Closed
AskAlexSharov opened this issue Feb 15, 2023 · 2 comments
Closed

libp2p: putting the same entry twice not supported #6882

AskAlexSharov opened this issue Feb 15, 2023 · 2 comments

Comments

@AskAlexSharov
Copy link
Collaborator

mainnet, when start fresh node:

panic: putting the same entry twice not supported

goroutine 198 [running]:
github.com/libp2p/go-libp2p-pubsub/timecache.FirstSeenCache.Add({0xc000716720?, 0xc000716750?, 0xc000beb710?, 0xc00550c5e8?}, {0xc0333894b8, 0x14})
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/timecache/first_seen_cache.go:32 +0x28d
github.com/libp2p/go-libp2p-pubsub.(*PubSub).markSeen(0xc000305440, {0xc0333894b8, 0x14})
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/pubsub.go:1002 +0x102
github.com/libp2p/go-libp2p-pubsub.(*PubSub).pushMsg(0xc000305440, 0xc027ef6940)
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/pubsub.go:1168 +0x34d
github.com/libp2p/go-libp2p-pubsub.(*PubSub).handleIncomingRPC(0xc000305440, 0xc032547ab0)
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/pubsub.go:1109 +0x8c5
github.com/libp2p/go-libp2p-pubsub.(*PubSub).processLoop(0xc000305440, {0x2c85f90, 0xc0000580b0})
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/pubsub.go:639 +0xb4c
created by github.com/libp2p/go-libp2p-pubsub.NewPubSub
	github.com/libp2p/go-libp2p-pubsub@v0.9.0/pubsub.go:335 +0xd7e
@matthewdarwin
Copy link

matthewdarwin commented Feb 19, 2023

Seeing this on v2.39.0 as well on Ethereum Mainnet, when NOT starting from scratch.

@AskAlexSharov
Copy link
Collaborator Author

fixed by #6924

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

2 participants