Skip to content

capacity overflow error #3827

Description

@aglkm

Compiled master branch and got the following error during node syncing:

20260423 16:38:33.770 ERROR grin_util::logger - 
thread 'peer_read' panicked at 'capacity overflow': /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/raw_vec/mod.rs:28   0: grin_util::logger::send_panic_to_log::{{closure}}
   1: std::panicking::panic_with_hook
   2: std::panicking::panic_handler::{closure#0}
   3: std::sys::backtrace::__rust_end_short_backtrace::<std::panicking::panic_handler::{closure#0}, !>
   4: __rustc::rust_begin_unwind
   5: core::panicking::panic_fmt
   6: alloc::raw_vec::capacity_overflow
   7: alloc::raw_vec::handle_error
   8: <grin_core::core::pmmr::segment::Segment<T> as grin_core::ser::Readable>::read
   9: <grin_p2p::msg::SegmentResponse<T> as grin_core::ser::Readable>::read
  10: grin_p2p::codec::Codec::read
  11: std::sys::backtrace::__rust_begin_short_backtrace
  12: core::ops::function::FnOnce::call_once{{vtable.shim}}
  13: <std::sys::thread::unix::Thread>::new::thread_start
  14: start_thread
             at ./nptl/pthread_create.c:448:8
  15: __GI___clone3
             at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Syncing stopped at: Sync step 2/7: Downloading Tx state (PIBD) - 21101792 / 24156692 entries - 87%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions