Skip to content

Instantly share code, notes, and snippets.

@zelig
Created April 3, 2015 06:03
Show Gist options
  • Save zelig/78502febb80afed3d30f to your computer and use it in GitHub Desktop.
Save zelig/78502febb80afed3d30f to your computer and use it in GitHub Desktop.
panic over closed channels in blockpool
2015/04/03 06:56:06 [Blockpool] activateChain: section [8b381488-d383b8c2] activated by peer <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] addPeer: Update peer <ff91fbe99d56d4d8> with td 20542588609 and current block 8aa54cb4 (was 562c2799)
2015/04/03 06:56:06 [Blockpool] [8b381488-d383b8c2] activate section process for peer <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] [8b381488-d383b8c2] active mode <b40d3282c01cdd90> -> <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] addPeer: peer <ff91fbe99d56d4d8> (td: 20542588609 > current td 20538776451) promoted best peer
2015/04/03 06:56:06 [Blockpool] activateChain: section [abb9c805-74543c30] activated by peer <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] <b40d3282c01cdd90> quit peer processes
2015/04/03 06:56:06 [Blockpool] [abb9c805-74543c30] activate section process for peer <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] [abb9c805-74543c30] active mode <b40d3282c01cdd90> -> <58ea4b5ca7a22cb7>
2015/04/03 06:56:06 [Blockpool] activateChain: section [abb9c805-74543c30] activated by peer <58ea4b5ca7a22cb7> has missing root block
2015/04/03 06:56:06 [Blockpool] activate chain starting from section [1fe96290]
panic: close of closed channel
goroutine 1053 [running]:
github.com/ethereum/go-ethereum/blockpool.(*BlockPool).switchPeer(0xc208e06000, 0xc208149680, 0xc208f86d80)
/Users/tron/Work/ethereum/go/src/github.com/ethereum/go-ethereum/blockpool/peers.go:333 +0x195
github.com/ethereum/go-ethereum/blockpool.(*peers).addPeer(0xc208f9c2d0, 0xc209345400, 0x4cbe78fb44ca58a, 0x22379766befe217b, 0x6eb52a59cfbda9f7, 0xd889300889191c1f, 0xc20b30a0b0, 0x10, 0xc20b88afd0, 0xc20b88afe0, ...)
/Users/tron/Work/ethereum/go/src/github.com/ethereum/go-ethereum/blockpool/peers.go:280 +0x116d
git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment