Skip to content

Instantly share code, notes, and snippets.

@gorgos
Created December 23, 2021 00:14
Show Gist options
  • Save gorgos/1e9b4e194b67c9c5c8e4aed064a0e774 to your computer and use it in GitHub Desktop.
Save gorgos/1e9b4e194b67c9c5c8e4aed064a0e774 to your computer and use it in GitHub Desktop.
goroutine 10 [running]:
runtime/debug.Stack()
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:24 +0x72
runtime/debug.PrintStack()
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:16 +0x25
github.com/tendermint/tm-db.newMemDBIterator(0xc002126400, {0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22}, 0x1)
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb_iterator.go:44 +0x85
github.com/tendermint/tm-db.(*MemDB).ReverseIterator(0xc002a65a00, {0xc0030ac0c0, 0xc002c3c898, 0x22}, {0xc0030ac0f0, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb.go:245 +0xef
github.com/cosmos/cosmos-sdk/store/cachekv.newMemIterator({0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22}, 0x22, 0x0, 0x0)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/memiterator.go:25 +0xfc
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).iterator(0xc00260ee40, {0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22}, 0x0)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:203 +0x265
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).ReverseIterator(0x40, {0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:171 +0x88
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).iterator(0xc0017707e0, {0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22}, 0x0)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:108 +0x133
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).ReverseIterator(0xc0030ac0f0, {0xc0030ac0c0, 0x22, 0x22}, {0xc0030ac0f0, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:85 +0x88
github.com/cosmos/cosmos-sdk/store/prefix.Store.ReverseIterator({{0x7d8f6b0, 0xc0017707e0}, {0xc0030ac090, 0x22, 0x30}}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/prefix/store.go:118 +0x295
...
goroutine 10 [semacquire]:
sync.runtime_SemacquireMutex(0xc002126400, 0x17, 0x512f805)
/usr/local/opt/go/libexec/src/runtime/sema.go:71 +0x25
sync.(*RWMutex).Lock(0xc002126400)
/usr/local/opt/go/libexec/src/sync/rwmutex.go:116 +0x85
github.com/tendermint/tm-db.(*MemDB).Set(0xc002126400, {0xc002769780, 0x75, 0x80}, {0xc002a65800, 0xf8, 0xf8})
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb.go:127 +0xa9
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).clearUnsortedCacheSubset(0xc00260ee40, {0xc00211ae70, 0x42, 0x1}, 0x0)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:376 +0x385
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).dirtyItems(0xc00260ee40, {0xc001ee49c0, 0x22, 0x22}, {0xc001ee4a50, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:313 +0xc28
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).iterator(0xc00260ee40, {0xc001ee49c0, 0x22, 0x22}, {0xc001ee4a50, 0x22, 0x22}, 0x1)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:200 +0x1e5
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).Iterator(0x40, {0xc001ee49c0, 0x22, 0x22}, {0xc001ee4a50, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:166 +0x8b
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).iterator(0xc0019ba960, {0xc001ee49c0, 0x22, 0x22}, {0xc001ee4a50, 0x22, 0x22}, 0x1)
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:106 +0xd8
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).Iterator(0xc001ee4a50, {0xc001ee49c0, 0x22, 0x22}, {0xc001ee4a50, 0x22, 0x22})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:77 +0x8b
github.com/cosmos/cosmos-sdk/store/prefix.Store.Iterator({{0x7d8f6b0, 0xc0019ba960}, {0xc001ee4990, 0x22, 0x30}}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...})
/Users/markus/go/pkg/mod/github.com/cosmos/[email protected]/store/prefix/store.go:101 +0x295
...
goroutine 52408 [select]:
github.com/tendermint/tm-db.newMemDBIterator.func1.1({0x7d15140, 0xc003071140})
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb_iterator.go:88 +0x394
github.com/google/btree.(*node).iterate(0xc001ebf000, 0xffffffffffffffff, {0x7d15140, 0xc002a4cc60}, {0x0, 0x0}, 0x1, 0x1, 0xc00008df98)
/Users/markus/go/pkg/mod/github.com/google/[email protected]/btree.go:557 +0x9cc
github.com/google/btree.(*node).iterate(0xc0033bdf80, 0xffffffffffffffff, {0x7d15140, 0xc002a4cc60}, {0x0, 0x0}, 0x1, 0x0, 0xc00008df98)
/Users/markus/go/pkg/mod/github.com/google/[email protected]/btree.go:549 +0x8b9
github.com/google/btree.(*node).iterate(0xc0033bdfc0, 0xffffffffffffffff, {0x7d15140, 0xc002a4cc60}, {0x0, 0x0}, 0x1, 0x0, 0xc00008df98)
/Users/markus/go/pkg/mod/github.com/google/[email protected]/btree.go:549 +0x8b9
github.com/google/btree.(*BTree).DescendLessOrEqual(...)
/Users/markus/go/pkg/mod/github.com/google/[email protected]/btree.go:795
github.com/tendermint/tm-db.newMemDBIterator.func1()
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb_iterator.go:116 +0x649
created by github.com/tendermint/tm-db.newMemDBIterator
/Users/markus/go/pkg/mod/github.com/tendermint/[email protected]/memdb_iterator.go:60 +0x4a5
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment