Skip to content

throttle timer panic #3231

@ebuchman

Description

@ebuchman

So just caught this while trying to debug #3230. Seems maybe independent and unrelated.

panic: close of closed channel

goroutine 180128 [running]:
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/common.(*ThrottleTimer).Stop(0xc007b63b40, 0xc0042f2000)
	/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/common/throttle_timer.go:71 +0x41
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/conn.(*MConnection).FlushStop(0xc0060b83c0)
	/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/conn/connection.go:216 +0x36
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p.(*peer).FlushStop(0xc003fdc540)
	/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/peer.go:190 +0x44
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/pex.(*PEXReactor).Receive.func1(0x125d440, 0xc003fdc540, 0xc002b743c0)
	/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/pex/pex_reactor.go:233 +0x31
created by github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/pex.(*PEXReactor).Receive
	/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/p2p/pex/pex_reactor.go:231 +0x871

Metadata

Metadata

Assignees

Labels

C:p2pComponent: P2P pkgT:bugType Bug (Confirmed)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions