-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 while running daemon #3262
Comments
It appears that the slice size of `n.Links` is being modified after the destination capacity of `pbn.Links` is set, thereby causing a panic when attempting to access an index out of range on the new slice. By using append, we can avoid using mutexes and retain most of the original performance.
Got this again in teamcity sharness tests:
|
Ah, found it. The issue here is that we're passing the block (which after the cid changes is a node still) down the newBlocks channel in bitswap, and the |
Version information:
master
Type:
Panic
Priority:
P1
Description:
Got a panic while running the daemon.
The text was updated successfully, but these errors were encountered: