Last active
February 11, 2017 18:29
-
-
Save slackpad/0fecd5f318e42314fee6b2449dafbe5a to your computer and use it in GitHub Desktop.
Radix Tree Panics from https://github.com/hashicorp/consul/issues/2724
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: in txn 802578 node leaf channel closed in 0 | |
goroutine 52 [running]: | |
panic(0xee1140, 0xc454d24f40) | |
/usr/local/go/src/runtime/panic.go:500 +0x1a1 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).writeNode(0xc4533a4320, 0xc44eede460, 0xc42038d401, 0x1) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:164 +0x5cb | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0xc44eede4b0, 0xc44eede460, 0xc454d24ecf, 0x0, 0x1, 0x1, 0x1) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:302 +0x169 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0xc4533ddcc0, 0xc44eede4b0, 0xc454d24ecc, 0x3, 0x4, 0x1, 0x8) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:321 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0xc4533dddb0, 0xc4533ddcc0, 0xc454d24ecb, 0x4, 0x5, 0x1, 0x1) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:321 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0xc4533b2780, 0xc4533dddb0, 0xc454d24eca, 0x5, 0x6, 0x1, 0x4) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:321 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0xc4533b2820, 0xc4533b2780, 0xc454d24ec4, 0xb, 0xc, 0x1, 0x2) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:321 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4533a4320, 0x0, 0xc4533b2820, 0xc454d24ec0, 0xf, 0x10, 0x0, 0x1) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:321 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).Delete(0xc4533a4320, 0xc454d24ec0, 0xf, 0x10, 0xc454d24ec0, 0xf, 0x10) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:364 +0x180 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-memdb.(*Txn).Delete(0xc42edbd180, 0x111eb17, 0xa, 0xe9d2c0, 0xc43610b1a0, 0xc43e9bc000, 0xe00) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-memdb/txn.go:317 +0x4ab | |
github.com/hashicorp/consul/consul/state.(*Graveyard).ReapTxn(0xc420460010, 0xc42edbd180, 0x96e71, 0xc42038dbd0, 0x458000) | |
/root/go/src/github.com/hashicorp/consul/consul/state/graveyard.go:109 +0x291 | |
github.com/hashicorp/consul/consul/state.(*StateStore).ReapTombstones(0xc420388960, 0x96e71, 0x0, 0x0) | |
/root/go/src/github.com/hashicorp/consul/consul/state/kvs.go:54 +0x9f | |
github.com/hashicorp/consul/consul.(*consulFSM).applyTombstoneOperation(0xc42032a320, 0xc440432095, 0x2e, 0x3f, 0xb3233, 0x0, 0x0) | |
/root/go/src/github.com/hashicorp/consul/consul/fsm.go:260 +0x381 | |
github.com/hashicorp/consul/consul.(*consulFSM).Apply(0xc42032a320, 0xc4404485a0, 0x17b7940, 0xed0314dbf) | |
/root/go/src/github.com/hashicorp/consul/consul/fsm.go:101 +0x2d2 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).runFSM.func1(0xc454d24d90) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/fsm.go:57 +0x193 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).runFSM(0xc420219340) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/fsm.go:120 +0x2e0 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.runFSM)-fm() | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/api.go:505 +0x2a | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc420219340, 0xc4202db570) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/state.go:142 +0x53 | |
created by github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*raftState).goFunc | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/state.go:143 +0x66 | |
panic: closed channel | |
goroutine 32 [running]: | |
panic(0xee1140, 0xc450f4f5d0) | |
/usr/local/go/src/runtime/panic.go:500 +0x1a1 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).trackChannel(0xc4557a86e0, 0xc4484a43f0) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:109 +0x193 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).writeNode(0xc4557a86e0, 0xc4469ce580, 0xc45049d401, 0x1) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:164 +0x99 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0xc4469ce5c0, 0xc4469ce580, 0xc44e9bf3ef, 0x0, 0x1, 0x1, 0x17a8601) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:299 +0x169 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0xc4469ce600, 0xc4469ce5c0, 0xc44e9bf3ec, 0x3, 0x4, 0x1, 0x17a8600) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:318 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0xc446cb5240, 0xc4469ce600, 0xc44e9bf3eb, 0x4, 0x5, 0x1, 0x17a8600) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:318 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0xc446ae3880, 0xc446cb5240, 0xc44e9bf3ea, 0x5, 0x6, 0x1, 0x17a8601) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:318 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0xc446ae3940, 0xc446ae3880, 0xc44e9bf3e4, 0xb, 0xc, 0x1, 0x17a8680) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:318 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).delete(0xc4557a86e0, 0x0, 0xc446ae3940, 0xc44e9bf3e0, 0xf, 0x10, 0x3c, 0xc44e9bf3d0) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:318 +0x331 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix.(*Txn).Delete(0xc4557a86e0, 0xc44e9bf3e0, 0xf, 0x10, 0xc44e9bf3e0, 0xf, 0x10) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-immutable-radix/iradix.go:361 +0x180 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/go-memdb.(*Txn).Delete(0xc446c8fa00, 0x111ead7, 0xa, 0xe9d2c0, 0xc461d40e00, 0x0, 0x0) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/go-memdb/txn.go:317 +0x4ab | |
github.com/hashicorp/consul/consul/state.(*Graveyard).ReapTxn(0xc4201484a0, 0xc446c8fa00, 0x9a832, 0xc45049dbd0, 0x458000) | |
/root/go/src/github.com/hashicorp/consul/consul/state/graveyard.go:109 +0x291 | |
github.com/hashicorp/consul/consul/state.(*StateStore).ReapTombstones(0xc42040db00, 0x9a832, 0x0, 0x0) | |
/root/go/src/github.com/hashicorp/consul/consul/state/kvs.go:54 +0x9f | |
github.com/hashicorp/consul/consul.(*consulFSM).applyTombstoneOperation(0xc4202ece10, 0xc4557e6645, 0x2e, 0x3f, 0xb4955, 0x0, 0x0) | |
/root/go/src/github.com/hashicorp/consul/consul/fsm.go:260 +0x381 | |
github.com/hashicorp/consul/consul.(*consulFSM).Apply(0xc4202ece10, 0xc455833520, 0x17b7940, 0xed030a2c6) | |
/root/go/src/github.com/hashicorp/consul/consul/fsm.go:101 +0x2d2 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).runFSM.func1(0xc45067aff0) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/fsm.go:57 +0x193 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).runFSM(0xc42026f080) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/fsm.go:120 +0x2e0 | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.runFSM)-fm() | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/api.go:505 +0x2a | |
github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc42026f080, 0xc4202e5350) | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/state.go:142 +0x53 | |
created by github.com/hashicorp/consul/vendor/github.com/hashicorp/raft.(*raftState).goFunc | |
/root/go/src/github.com/hashicorp/consul/vendor/github.com/hashicorp/raft/state.go:143 +0x66 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment