Skip to content

Instantly share code, notes, and snippets.

@LefterisJP
Created November 27, 2020 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LefterisJP/1ff79abed76c898c59a7ba9f58d7b054 to your computer and use it in GitHub Desktop.
Save LefterisJP/1ff79abed76c898c59a7ba9f58d7b054 to your computer and use it in GitHub Desktop.
tg_rpc_daemon_method_handler_crash
ERROR[11-27|01:36:02.688] Invalid block body RLP hash="d4e567…cb8fa3" err="rlp: expected input list for []*types.Transaction, decoding into (types.Body).Transactions"
ERROR[11-27|01:36:02.688] RPC method eth_call crashed: runtime error: invalid memory address or nil pointer dereference
goroutine 27 [running]:
github.com/ledgerwatch/turbo-geth/rpc.(*callback).call.func1(0xc00012a1b0, 0x8, 0xc000013d50)
github.com/ledgerwatch/turbo-geth/rpc/service.go:200 +0xba
panic(0x106ccc0, 0x1970910)
runtime/panic.go:969 +0x1b9
github.com/ledgerwatch/turbo-geth/core/types.(*Block).Hash(0x0, 0x0, 0x0, 0x0, 0x0)
github.com/ledgerwatch/turbo-geth/core/types/block.go:435 +0x4a
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands.getChainConfigWithGenesis(0x7fbc881f4e78, 0xc00007c230, 0xc00007c230, 0x0, 0x0, 0x0, 0x0, 0x0, 0x102bd80)
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands/get_chain_config.go:19 +0x79
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands.getChainConfig(...)
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands/get_chain_config.go:10
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands.(*APIImpl).Call(0xc0000d90e0, 0x133f880, 0xc0001e6600, 0x0, 0xc00035a2e0, 0x0, 0x0, 0x0, 0xc0003523a0, 0x0, ...)
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands/eth_call.go:34 +0x17d
reflect.Value.call(0xc000282600, 0xc000288298, 0x13, 0x11b5e52, 0x4, 0xc000282280, 0x5, 0x5, 0xc0002822b0, 0xc00007c190, ...)
reflect/value.go:476 +0x8c7
reflect.Value.Call(0xc000282600, 0xc000288298, 0x13, 0xc000282280, 0x5, 0x5, 0x16, 0x10, 0x0)
reflect/value.go:337 +0xb9
github.com/ledgerwatch/turbo-geth/rpc.(*callback).call(0xc000285080, 0x133f880, 0xc0001e6600, 0xc00012a1b0, 0x8, 0xc00007c190, 0x3, 0x3, 0x0, 0x0, ...)
github.com/ledgerwatch/turbo-geth/rpc/service.go:206 +0x2c5
github.com/ledgerwatch/turbo-geth/rpc.(*handler).runMethod(0xc000150750, 0x133f880, 0xc0001e6600, 0xc000264070, 0xc000285080, 0xc00007c190, 0x3, 0x3, 0x3)
github.com/ledgerwatch/turbo-geth/rpc/handler.go:399 +0x8a
github.com/ledgerwatch/turbo-geth/rpc.(*handler).handleCall(0xc000150750, 0xc000362480, 0xc000264070, 0xc0002b26c0)
github.com/ledgerwatch/turbo-geth/rpc/handler.go:347 +0x298
github.com/ledgerwatch/turbo-geth/rpc.(*handler).handleCallMsg(0xc000150750, 0xc000362480, 0xc000264070, 0x1330501)
github.com/ledgerwatch/turbo-geth/rpc/handler.go:301 +0x1be
github.com/ledgerwatch/turbo-geth/rpc.(*handler).handleMsg.func1(0xc000362480)
github.com/ledgerwatch/turbo-geth/rpc/handler.go:142 +0x46
github.com/ledgerwatch/turbo-geth/rpc.(*handler).startCallProc.func1(0xc000150750, 0xc000352200)
github.com/ledgerwatch/turbo-geth/rpc/handler.go:229 +0xd2
created by github.com/ledgerwatch/turbo-geth/rpc.(*handler).startCallProc
github.com/ledgerwatch/turbo-geth/rpc/handler.go:225 +0x66
WARN [11-27|01:36:02.688] Served conn=192.168.0.2:55962 method=eth_call reqid=2 t=2.596565ms err="method handler crashed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment