Skip to content

v31.0.0: genesis.json causes panic in gov.InitGenesis (nil pointer dereference) #9608

@Arbilad

Description

@Arbilad

Bug Description

Cannot start new Osmosis v31.0.0 node - crashes during genesis initialization with nil pointer dereference in gov module.

Environment

Error

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2f9c693]

goroutine 1 [running]: github.com/cosmos/cosmos-sdk/x/gov.InitGenesis(...) github.com/cosmos/cosmos-sdk@v0.50.14/x/gov/genesis.go:21 +0x153

Steps to Reproduce

  1. Run official installer: curl -sL https://get.osmosis.zone/install > i.py && python3 i.py
  2. Select: node → mainnet → default settings
  3. Start service: sudo systemctl start cosmovisor
  4. Node crashes immediately with above error

Expected Behavior

Node should initialize from genesis and begin syncing

Actual Behavior

Node crash-loops every ~7 seconds at height 0

Additional Context

  • Tested on fresh Hetzner dedicated server (64GB RAM, NVMe)
  • Same error occurs with manual setup following docs
  • All snapshot providers currently unavailable/broken:
    • snapshots.osmosis.zone: 504 Gateway Timeout
    • quicksync.io: JSON API broken
    • State-sync: RPC timeouts

Cannot sync node by any method due to this genesis.json bug.

Need working genesis.json or alternative sync method for v31.0.0.

Any help will be much appreciated, thanks in advance and Happy New Year !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs Triage 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions