Skip to content

GraphQL blocks query for non-existent blocks causes panic #24167

@amyodov

Description

@amyodov

System information

Geth version: 1.10.14
OS & Version: Linux
Commit hash : n/a

Expected behaviour

Querying for blocks which are not present does not fail, and returns probably the records that the blocks do not exist.

Actual behaviour

Query:

{
  blocks(from:20000000 to:20000010) {
    number
    hash
    transactions {
      from {address}
      to {address}
    }
  }
}

Result:

{
  "errors": [
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        1,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        0,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        9,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        10,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        6,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        4,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        7,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        3,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        2,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        8,
        "number"
      ]
    },
    {
      "message": "panic occurred: runtime error: invalid memory address or nil pointer dereference",
      "path": [
        "blocks",
        5,
        "number"
      ]
    }
  ],
  "data": null
}

Steps to reproduce the behaviour

Just launch the blocks graphql query for the range that is not mined yet.

Backtrace

Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843814 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc0c76fdbf0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d939e8, 0x18}, {0x14bea38, 0x4}, {0xc0b5eec690, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d939e8, 0xcaa0db}, {0xc0b5eec690, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0x7f122e5c1e00, {0x1746a80, 0xc17b7c20c0}, 0xc0b5eec648, 0xc13773b700, 0xc015acdec0, {0x1746a80, 0xc0c76fdbf0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc13773b700, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc13773b700)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843817 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc12c4d24e0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d939e0, 0x18}, {0x14bea38, 0x4}, {0xc113f1d098, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d939e0, 0xcaa0db}, {0xc113f1d098, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc12c4d2400, {0x1746a80, 0xc17b7c20c0}, 0xc113f1cfd8, 0xc13773b880, 0xc01c29fec0, {0x1746a80, 0xc12c4d24e0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc13773b880, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc13773b880)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843808 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc17b7c28d0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a28, 0x18}, {0x14bea38, 0x4}, {0xc07771dc50, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a28, 0xcaa0db}, {0xc07771dc50, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc17b7c2800, {0x1746a80, 0xc17b7c20c0}, 0xc07771da58, 0xc0281eca40, 0xc129d29ec0, {0x1746a80, 0xc17b7c28d0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281eca40, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281eca40)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843690 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc12c4d28a0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a30, 0x18}, {0x14bea38, 0x4}, {0xc113f1d410, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a30, 0xcaa0db}, {0xc113f1d410, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc12c4d2800, {0x1746a80, 0xc17b7c20c0}, 0xc113f1d320, 0xc0087d4fc0, 0xc01c29fec0, {0x1746a80, 0xc12c4d28a0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0087d4fc0, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0087d4fc0)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843839 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc17b7c2a20})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a10, 0x18}, {0x14bea38, 0x4}, {0xc07771df50, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a10, 0xcaa0db}, {0xc07771df50, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc17b7c2900, {0x1746a80, 0xc17b7c20c0}, 0xc07771df08, 0xc0281ed280, 0xc129d29ec0, {0x1746a80, 0xc17b7c2a20})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ed280, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ed280)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843833 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc12c4d2c90})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a00, 0x18}, {0x14bea38, 0x4}, {0xc113f1d530, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a00, 0xcaa0db}, {0xc113f1d530, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc12c4d2c00, {0x1746a80, 0xc17b7c20c0}, 0xc113f1d4d0, 0xc0281ecf80, 0xc01c29fec0, {0x1746a80, 0xc12c4d2c90})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ecf80, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ecf80)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843842 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc17b7c2b40})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a18, 0x18}, {0x14bea38, 0x4}, {0xc13365c168, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a18, 0xcaa0db}, {0xc13365c168, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc17b7c2b00, {0x1746a80, 0xc17b7c20c0}, 0xc13365c108, 0xc0281ed400, 0xc012671ec0, {0x1746a80, 0xc17b7c2b40})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ed400, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ed400)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843830 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc13a01dd40})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d939f8, 0x18}, {0x14bea38, 0x4}, {0xc0fcbfeff0, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d939f8, 0xcaa0db}, {0xc0fcbfeff0, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc13a01dc00, {0x1746a80, 0xc17b7c20c0}, 0xc0fcbfefa8, 0xc0281ecdc0, 0xc018171ec0, {0x1746a80, 0xc13a01dd40})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ecdc0, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ecdc0)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843827 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc12c4d2db0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d939f0, 0x18}, {0x14bea38, 0x4}, {0xc113f1d7d0, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d939f0, 0xcaa0db}, {0xc113f1d7d0, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc12c4d2d00, {0x1746a80, 0xc17b7c20c0}, 0xc113f1d638, 0xc0281ecc40, 0xc01c29fec0, {0x1746a80, 0xc12c4d2db0})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ecc40, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ecc40)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843845 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc17b7c2c90})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a20, 0x18}, {0x14bea38, 0x4}, {0xc13365c4f8, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a20, 0xcaa0db}, {0xc13365c4f8, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc17b7c2c00, {0x1746a80, 0xc17b7c20c0}, 0xc13365c498, 0xc0281ed5c0, 0xc012671ec0, {0x1746a80, 0xc17b7c2c90})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ed5c0, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ed5c0)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:31 geth-1 geth[21341]: 2021/12/29 19:31:31 graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
Dec 29 19:31:31 geth-1 geth[21341]: goroutine 843836 [running]:
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x0, {0x1746a80, 0xc17b7c20c0}, {0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/log/log.go:21 +0x65
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2.1()
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:181 +0x9f
Dec 29 19:31:31 geth-1 geth[21341]: panic({0x12fb120, 0x224f550})
Dec 29 19:31:31 geth-1 geth[21341]:         runtime/panic.go:1038 +0x215
Dec 29 19:31:31 geth-1 geth[21341]: github.com/ethereum/go-ethereum/graphql.(*Block).Number(0x4, {0x1746a80, 0xc186c1a090})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/ethereum/go-ethereum/graphql/graphql.go:557 +0x2a
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.call({0x147ed00, 0xc097d93a08, 0x18}, {0x14bea38, 0x4}, {0xc0b5eecae0, 0x1, 0x4b464e})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:543 +0x814
Dec 29 19:31:31 geth-1 geth[21341]: reflect.Value.Call({0x147ed00, 0xc097d93a08, 0xcaa0db}, {0xc0b5eecae0, 0x1, 0x1})
Dec 29 19:31:31 geth-1 geth[21341]:         reflect/value.go:339 +0xc5
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection.func2(0xc186c1a000, {0x1746a80, 0xc17b7c20c0}, 0xc0b5eec768, 0xc0281ed100, 0xc015acdec0, {0x1746a80, 0xc186c1a090})
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:205 +0x51d
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.execFieldSelection({0x1746a80, 0xc17b7c20c0}, 0xc09ff5cc40, 0x196, 0xc0281ed100, 0xc17b7c2060, 0x1)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:225 +0x1ce
Dec 29 19:31:31 geth-1 geth[21341]: github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections.func1(0xc0281ed100)
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:85 +0x1b4
Dec 29 19:31:31 geth-1 geth[21341]: created by github.com/graph-gophers/graphql-go/internal/exec.(*Request).execSelections
Dec 29 19:31:31 geth-1 geth[21341]:         github.com/graph-gophers/[email protected]/internal/exec/exec.go:81 +0x1d7
Dec 29 19:31:31 geth-1 geth[21341]: context: context.Background.WithValue(type *http.contextKey, val <not Stringer>).WithValue(type *http.contextKey, val 127.0.0.1:8545).WithCancel.WithCancel.WithValue(type opentracing.contextKey, val <not Stringer>).WithValue(type opentracing.contextKey, val <not Stringer>)
Dec 29 19:31:37 geth-1 geth[21341]: ERROR[12-29|19:31:37.924] Snapshot extension registration failed   peer=af5dfeb7 err="peer connected on snap without compatible eth support"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions