Skip to content

"method handler crashed" for debug_traceCall #9090

@quick-pawiromitchel

Description

@quick-pawiromitchel

System information

Erigon version: erigon version 2.55.1-12889fd0

OS & Version: Linux

Consensus Layer: Lighthouse v4.3.0-dfcb336

Chain/Network: ETH Mainnet

Expected behaviour

No crash

Actual behaviour

{"jsonrpc":"2.0","id":1,"result":null,"error":{"code":-32000,"message":"method handler crashed"}}

Steps to reproduce the behaviour

curl  -X POST \
  'http://xxx.xxx.xxx.xxx:8545' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "method": "debug_traceCall",
  "params": [
    {
      "from": "0xDaC08b8158b44C4EE414B9B7015f4985385A51CD",
      "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "data": "0x23b872dd000000000000000000000000c821ededdb438eb85bba8aa9f3b33fea7b0b40240000000000000000000000007bd6fb1e0f1d3505f024db231ea3dfecc96dc28d00000000000000000000000000000000000000000000000000000000a213b904",
      "gas": "0x10046",
      "gasPrice": "0xD5853E55D"
    },
    "0x11DFBF5"
  ],
  "id": 1,
  "jsonrpc": "2.0"
}'

Backtrace

[backtrace]
Dec 25 14:40:50 erigon[4809]: [EROR] [12-25|14:40:50.661] RPC method debug_traceCall crashed: runtime error: invalid memory address or nil pointer dereference
Dec 25 14:40:50 erigon[4809]: [service.go:219 panic.go:914 panic.go:261 signal_unix.go:861 tracing.go:280 value.go:596 value.go:380 service.go:224 handler.go:549 handler.go:482 handler.go:421 handler.go:241 handler.go:334 asm_amd64.s:1650]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions