Skip to content

runtime error: invalid memory address after clearning chaindata folder #96

@matthewdarwin

Description

@matthewdarwin

When following the instructions for https://github.com/0xPolygon/erigon/releases/tag/v3.3.6-beta, after clearing the chaindata folder and starting erigon, the following errors are seen in the log:

[EROR] [12-28|16:09:30.402] RPC method eth_getBlockByNumber crashed: runtime error: invalid memory address or nil pointer dereference
 [service.go:222 panic.go:783 panic.go:262 signal_unix.go:925 database.go:106 mdbx_store.go:179 snapshot_store.go:202 reader.go:152 service.go:508 eth_block.go:236 value.go:581 value.go:365 service.go:227 handler.go:529 handler.go:479 handler.go:420 handler.go:240 handler.go:333 asm_amd64.s:1693]

Presumably erigon should not be listening for requests until after the chaindata is rebuilt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions