Skip to content

[Bug] Stack backtrace shows up in logs#4314

Description

@vicsn

馃悰 Bug Report

This backtrace showed up on a halted client (which didn't upgrade before a new ConsensusVersion):

2026-06-10T12:57:08.491007Z ERROR snarkos_node::client: Block synchronization failed - VerificationFailed { inner: Previous state root is incorrect in block 17110851 (found 'sr1qzvzvpcgf2e4scjlhe8436ayl8e6mv8nye2xesgxdm8qw9m2tcgqu9j7wc', expected 'sr1strt26erzgd0q3su77hmcc4sv57efp0eczvkgef7lw9j0u4q3ggqsq0358')
Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: snarkvm_ledger_block::header::verify::<impl snarkvm_ledger_block::header::Header<N>>::verify
   2: snarkvm_ledger_block::verify::<impl snarkvm_ledger_block::Block<N>>::verify
   3: snarkvm_ledger::check_next_block::<impl snarkvm_ledger::Ledger<N,C>>::check_block_content
   4: <snarkos_node_bft_ledger_service::ledger::LedgerUpdate<N,C> as snarkos_node_bft_ledger_service::traits::LedgerUpdateService<N>>::check_next_block
   5: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
   6: tokio::runtime::task::core::Core<T,S>::poll
   7: tokio::runtime::task::harness::Harness<T,S>::poll
   8: tokio::runtime::blocking::pool::Inner::run
   9: std::sys::backtrace::__rust_begin_short_backtrace
  10: core::ops::function::FnOnce::call_once{{vtable.shim}}
  11: std::sys::pal::unix::thread::Thread::new::thread_start
  12: <unknown>
  13: <unknown> }
2026-06-10T12:57:10.712858Z TRACE snarkos_node_sync::block_sync::sync_state: Greatest peer height increased from 17116658 to 17116659

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect or unexpected behaviorwontfix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions