Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save daithi-coombes/1c493ceb6e87e25ed86a73597fee6a5f to your computer and use it in GitHub Desktop.
Save daithi-coombes/1c493ceb6e87e25ed86a73597fee6a5f to your computer and use it in GitHub Desktop.
panic: runtime error: slice bounds out of range
goroutine 350 [running]:
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.(*blockIter).Next(0xc008303590, 0xc0082f1320)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:295 +0xd2e
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.(*blockIter).Seek(0xc008303590, 0xc0082f12c0, 0x28, 0x28, 0xc0082f0101)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:242 +0x22e
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.(*Reader).find(0xc01bb89e10, 0xc0082f12c0, 0x28, 0x28, 0xc0082a4301, 0x0, 0xc000432d00, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:862 +0x4bd
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.(*Reader).Find(0xc01bb89e10, 0xc0082f12c0, 0x28, 0x28, 0x1, 0x0, 0xc000438ba0, 0xc0002d7320, 0x20, 0x28, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:918 +0x7a
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*tOps).find(0xc000198480, 0xc00022a280, 0xc0082f12c0, 0x28, 0x28, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.go:383 +0x132
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*version).get.func1(0x3, 0xc00022a280, 0x20)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/version.go:176 +0x452
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*version).walkOverlapping(0xc006b428c0, 0x0, 0x0, 0x0, 0xc0082f12c0, 0x28, 0x28, 0xc0082a46a0, 0xc0082a4670)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/version.go:125 +0x477
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*version).get(0xc006b428c0, 0x0, 0x0, 0x0, 0xc0082f12c0, 0x28, 0x28, 0x0, 0xbffff00, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/version.go:160 +0x2b2
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).get(0xc000285040, 0x0, 0x0, 0x0, 0x0, 0xc0083045e0, 0x20, 0x20, 0x655656, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:779 +0x397
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).Get(0xc000285040, 0xc0083045e0, 0x20, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:845 +0x12f
github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).Get(0xc0000da370, 0xc0083045e0, 0x20, 0x20, 0x1, 0xe, 0x1, 0xc0081f1433, 0x0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/ethdb/database.go:112 +0x5a
github.com/ethereum/go-ethereum/trie.(*Database).node(0xc000321b30, 0xca35916485e2d213, 0x9f1229c2b7ea85f4, 0x37490cb8879bfc4c, 0x2e17fd54e5b78f61, 0x0, 0xc0082a4ab0, 0x613536)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/database.go:379 +0x13e
github.com/ethereum/go-ethereum/trie.(*Trie).resolveHash(0xc00829c8c0, 0xc0083045c0, 0x20, 0x20, 0xc0082ca690, 0x4, 0x41, 0xc008300c80, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:434 +0x140
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14ef980, 0xc0082edb40, 0xc0082ca690, 0x41, 0x41, 0x4, 0x53, 0x60, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:167 +0xf8
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14edb40, 0xc008300c80, 0xc0082ca690, 0x41, 0x41, 0x3, 0x14edb40, 0xc008300c80, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:159 +0x6e8
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14ef980, 0xc0082eda60, 0xc0082ca690, 0x41, 0x41, 0x3, 0xf3, 0x100, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:171 +0x22a
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14edb40, 0xc008300b40, 0xc0082ca690, 0x41, 0x41, 0x2, 0x14edb40, 0xc008300b40, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:159 +0x6e8
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14ef980, 0xc0082ed240, 0xc0082ca690, 0x41, 0x41, 0x2, 0x0, 0x360a, 0xc007c7b800, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:171 +0x22a
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14edb40, 0xc008300280, 0xc0082ca690, 0x41, 0x41, 0x1, 0x7ae36a7286c1e1ce, 0xbd594dab8f6db7e1, 0xc0082a5498, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:159 +0x6e8
github.com/ethereum/go-ethereum/trie.(*Trie).tryGet(0xc00829c8c0, 0x14edb40, 0xc0083003c0, 0xc0082ca690, 0x41, 0x41, 0x0, 0x20, 0xc00829c8e0, 0x20, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:159 +0x6e8
github.com/ethereum/go-ethereum/trie.(*Trie).TryGet(0xc00829c8c0, 0xc00829c8e0, 0x20, 0x20, 0xc00829c8e0, 0x20, 0x20, 0x1037e00, 0xc0082f66c0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/trie.go:133 +0x7b
github.com/ethereum/go-ethereum/trie.(*SecureTrie).TryGet(0xc00829c8c0, 0xc008304440, 0x20, 0x20, 0xc00829c8c0, 0x46b3b6, 0xc0082a57dc, 0xc0082afd68, 0xf0933fee5b6db01)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/trie/secure_trie.go:80 +0x7b
github.com/ethereum/go-ethereum/core/state.(*stateObject).GetCommittedState(0xc007bdb6c0, 0x14f3cc0, 0xc0004e9380, 0x2d5de11bdb32c24a, 0xe307dd30858c87e8, 0xeac6f6a4d80a8401, 0xc0f0e6b7857b0e5f, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/state_object.go:181 +0x160
github.com/ethereum/go-ethereum/core/state.(*stateObject).GetState(0xc007bdb6c0, 0x14f3cc0, 0xc0004e9380, 0x2d5de11bdb32c24a, 0xe307dd30858c87e8, 0xeac6f6a4d80a8401, 0xc0f0e6b7857b0e5f, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/state_object.go:170 +0x142
github.com/ethereum/go-ethereum/core/state.(*StateDB).GetState(0xc006f8e750, 0x826f4d878ece4e33, 0x119dfc06cc5cf069, 0xdb32c24a77462491, 0x858c87e82d5de11b, 0xd80a8401e307dd30, 0x857b0e5feac6f6a4, 0xc0c0f0e6b7, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/statedb.go:259 +0xa8
github.com/ethereum/go-ethereum/core/vm.opSload(0xc001b8a700, 0xc0082b8a80, 0xc008101380, 0xc0082ed800, 0xc0082ed820, 0x2bc, 0x1388, 0x32, 0x61a8, 0xc0082b6000)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/instructions.go:631 +0xfe
github.com/ethereum/go-ethereum/core/vm.(*EVMInterpreter).Run(0xc0082b8a80, 0xc008101380, 0xc0082f0e70, 0x24, 0x24, 0xc0082a5c00, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/interpreter.go:261 +0x4d9
github.com/ethereum/go-ethereum/core/vm.run(0xc0082b6000, 0xc008101380, 0xc0082f0e70, 0x24, 0x24, 0x3600, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:74 +0x230
github.com/ethereum/go-ethereum/core/vm.(*EVM).DelegateCall(0xc0082b6000, 0x14e4940, 0xc0081012c0, 0xd98f584a642a4962, 0xb952ad06ed0b2704, 0xaea1feab, 0xc0082f0e70, 0x24, 0x24, 0xe5daf, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:339 +0x322
github.com/ethereum/go-ethereum/core/vm.opDelegateCall(0xc001b8a608, 0xc0082b8a80, 0xc0081012c0, 0xc0082ecce0, 0xc0082ecd00, 0x2bc, 0x1388, 0x32, 0x61a8, 0xc0082b6000)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/instructions.go:822 +0x28e
github.com/ethereum/go-ethereum/core/vm.(*EVMInterpreter).Run(0xc0082b8a80, 0xc0081012c0, 0xc0082f06f0, 0x24, 0x24, 0xc0082a6101, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/interpreter.go:261 +0x4d9
github.com/ethereum/go-ethereum/core/vm.run(0xc0082b6000, 0xc0081012c0, 0xc0082f06f0, 0x24, 0x24, 0x801, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:74 +0x230
github.com/ethereum/go-ethereum/core/vm.(*EVM).StaticCall(0xc0082b6000, 0x14e4940, 0xc008101080, 0x826f4d878ece4e33, 0x119dfc06cc5cf069, 0x77462491, 0xc0082f06f0, 0x24, 0x24, 0xea00f, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:381 +0x304
github.com/ethereum/go-ethereum/core/vm.opStaticCall(0xc001b8a2e0, 0xc0082b8a80, 0xc008101080, 0xc0082c68c0, 0xc0082c68e0, 0x2bc, 0x1388, 0x32, 0x61a8, 0xc0082b6000)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:381 +0x304
github.com/ethereum/go-ethereum/core/vm.opStaticCall(0xc001b8a2e0, 0xc0082b8a80, 0xc008101080, 0xc0082c68c0, 0xc0082c68e0, 0x2bc, 0x1388, 0x32, 0x61a8, 0xc0082b6000)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/instructions.go:847 +0x28e
github.com/ethereum/go-ethereum/core/vm.(*EVMInterpreter).Run(0xc0082b8a80, 0xc008101080, 0xc001b8a2b0, 0x4, 0x4, 0xc0082a6700, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/interpreter.go:261 +0x4d9
github.com/ethereum/go-ethereum/core/vm.run(0xc0082b6000, 0xc008101080, 0xc001b8a2b0, 0x4, 0x4, 0x8800, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:74 +0x230
github.com/ethereum/go-ethereum/core/vm.(*EVM).DelegateCall(0xc0082b6000, 0x14e4940, 0xc008100fc0, 0x8af05cb116812dcb, 0x7c773f99223f6623, 0x25923e7b, 0xc001b8a2b0, 0x4, 0x4, 0xefd5d, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:339 +0x322
github.com/ethereum/go-ethereum/core/vm.opDelegateCall(0xc001b8a230, 0xc0082b8a80, 0xc008100fc0, 0xc0082a9d40, 0xc0082a9d60, 0x2bc, 0x1388, 0x32, 0x61a8, 0xc0082b6000)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/instructions.go:822 +0x28e
github.com/ethereum/go-ethereum/core/vm.(*EVMInterpreter).Run(0xc0082b8a80, 0xc008100fc0, 0xc0082acb00, 0x4, 0x20, 0xc0082a6c01, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/interpreter.go:261 +0x4d9
github.com/ethereum/go-ethereum/core/vm.run(0xc0082b6000, 0xc008100fc0, 0xc0082acb00, 0x4, 0x20, 0x801, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:74 +0x230
github.com/ethereum/go-ethereum/core/vm.(*EVM).StaticCall(0xc0082b6000, 0x14e65e0, 0xc0082acb20, 0x1733891bf9313cc0, 0xdd6b2a6a6bab86c7, 0x559cdb61, 0xc0082acb00, 0x4, 0x20, 0xf4240, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:381 +0x304
github.com/ethereum/go-ethereum/core/vm.(*EVM).StaticCallFromSystem.func1(0xc0082acb00, 0x4, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:543 +0xde
github.com/ethereum/go-ethereum/core/vm.(*EVM).handleABICall(0xc0082b6000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:563 +0x2dd
github.com/ethereum/go-ethereum/core/vm.(*EVM).StaticCallFromSystem(0xc0082b6000, 0x1733891bf9313cc0, 0xdd6b2a6a6bab86c7, 0xc0559cdb61, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/vm/evm.go:546 +0x12d
github.com/ethereum/go-ethereum/contract_comm.makeCallFromSystem(0x1733891bf9313cc0, 0xdd6b2a6a6bab86c7, 0x8656eb1a559cdb61, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/contract_comm/evm.go:195 +0x152
github.com/ethereum/go-ethereum/contract_comm.makeCallWithContractId(0x13c1dd40771dc49, 0x17f9a9d9a741f9a9, 0x8656eb1a52b54973, 0xeea25df02ce47014, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/contract_comm/evm.go:233 +0x707
github.com/ethereum/go-ethereum/contract_comm.MakeStaticCall(0x13c1dd40771dc49, 0x17f9a9d9a741f9a9, 0x8656eb1a52b54973, 0xeea25df02ce47014, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/contract_comm/evm.go:133 +0x13b
github.com/ethereum/go-ethereum/contract_comm/validators.RetrieveRegisteredValidatorSigners(0x0, 0x0, 0x0, 0xc002aed9f8, 0x606afe, 0xc0081b3a80, 0x11486e0, 0xc0040c60d0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/contract_comm/validators/validators.go:193 +0x12e
github.com/ethereum/go-ethereum/consensus/istanbul/backend.(*Backend).retrieveActiveAndRegisteredValidators(0xc0000e6240, 0xe158f6d9006b1a82, 0xc68419d941e72c73, 0x5c5ce288)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/istanbul/backend/announce.go:210 +0x58
github.com/ethereum/go-ethereum/consensus/istanbul/backend.(*Backend).handleIstAnnounce(0xc0000e6240, 0xc007bfea00, 0x524d, 0x524d, 0x207ee40, 0x1089fa0)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/istanbul/backend/announce.go:273 +0x9a0
created by github.com/ethereum/go-ethereum/consensus/istanbul/backend.(*Backend).HandleMsg
/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/istanbul/backend/handler.go:117 +0xb18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment