-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Closed
Labels
Description
System information
Geth version: geth version
v1.16.5
CL client & version: e.g. lighthouse/nimbus/prysm@v1.0.0
maru-bcfdb43
OS & Version: Windows/Linux/OSX
ubuntu 22.04
Commit hash : (if develop)
Expected behaviour
Valid response
Actual behaviour
{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"method handler crashed"}}
Steps to reproduce the behaviour
method
curl -X POST https://<endpoint> \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "debug_traceCall",
"params": [
{
"from": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb5",
"to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"gas": "0x30d40",
"gasPrice": "0x3b9aca00",
"value": "0x0",
"data": "0x70a08231000000000000000000000000742d35cc6634c0532925a3b844bc9e7595f0beb5"
},
"latest",
{
"tracer": "callTracer",
"tracerConfig": {
"onlyTopCall": false,
"withLog": true
},
"blockOverrides": {
"baseFee": "0x0",
"gasLimit": "0xffffffffffffffff"
}
} ],
"id": 1
}'
Backtrace
[backtrace]
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: ERROR[10-24|11:02:04.389] RPC method debug_traceCall crashed: runtime error: invalid memory address or nil pointer dereference
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: goroutine 18527191 [running]:
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*callback).call.func1()
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/service.go:199 +0x85
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: panic({0x19a15a0?, 0x30d3610?})
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: runtime/panic.go:783 +0x132
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: math/big.(*Int).Uint64(...)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: math/big/int.go:440
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/eth/tracers.(*API).TraceCall(0xc0c073cd00, {0x226def8, _}, {0xc1843fa690, 0x0, 0xc143f13da0, 0xc0c8eddbc0, 0x0, 0x0, 0x0, ...}, ...)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/eth/tracers/api.go:962 +0x4d9
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: reflect.Value.call({0xc0c2c0d570?, 0xc0c20e5c80?, 0xc126db1ba8?}, {0x1c6dd1e, 0x4}, {0xc0a8507c80, 0x5, 0x8?})
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: reflect/value.go:581 +0xcc6
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: reflect.Value.Call({0xc0c2c0d570?, 0xc0c20e5c80?, 0x20?}, {0xc0a8507c80?, 0xc13501ec30?, 0xc0f9655f68?})
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: reflect/value.go:365 +0xb9
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*callback).call(0xc0c33131a0, {0x226def8, 0xc13501ebe0}, {0xc143f13d60, 0xf}, {0xc13501ec30, 0x3, 0x4fb3d3?})
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/service.go:205 +0x2fd
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).runMethod(0xc07d0aa580?, {0x226def8?, 0xc13501ebe0?}, 0xc152889500, 0x3?, {0xc13501ec30?, 0x17?, 0x18f1f20?})
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:577 +0x3c
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).handleCall(0xc142dfa000, 0xc12cb90600, 0xc152889500)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:519 +0x357
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).handleCallMsg(0xc142dfa000, 0xc12cb90600, 0xc152889500)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:473 +0x22d
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).handleNonBatchCall(0xc142dfa000, 0xc12cb90600, 0xc152889500)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:299 +0x185
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).handleMsg.func1.1(0x226def8?)
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:272 +0x25
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc.(*handler).startCallProc.func1()
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:390 +0xbb
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: created by github.com/ethereum/go-ethereum/rpc.(*handler).startCallProc in goroutine 18523914
Oct 24 11:02:04 juju-c5fc64-0 geth[956155]: github.com/ethereum/go-ethereum/rpc/handler.go:386 +0x76
When submitting logs: please submit them as text and not screenshots.