Skip to content

Can't change drives (Rust crash) #2748

@Zorlin

Description

@Zorlin

When I attempt to change drives in node-launchpad I get this crash.

It occurs when my MooseFS filesystem is mounted, and does not when it is not.

root@autonomi01:~# ./node-launchpad 
Well, this is embarrassing.

node-launchpad had a problem and crashed. To help us diagnose the problem you can send us a crash report.

We have generated a report file at "/tmp/report-318a6476-5b85-4837-8149-9767236682b4.toml". Submit an issue or email with the subject of "node-launchpad Crash Report" and include the report as an attachment.

- Homepage: https://maidsafe.net
- Authors: MaidSafe Developers <[email protected]>

We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.

Thank you kindly!
The application panicked (crashed).

name = "node-launchpad"
operating_system = "Ubuntu 24.4.0 (noble) [64-bit]"
crate_version = "0.5.4"
explanation = """
Panic occurred in file '/rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/slice.rs' at line 566
"""
cause = "capacity overflow"
method = "Panic"
backtrace = """

   0: 0x7dda6986f757 - alloc::raw_vec::capacity_overflow::h77732bb5a54022c2
   1: 0x7dda68d68276 - alloc::raw_vec::handle_error::h43e4c8d624b2a8ab
   2: 0x7dda68eb8295 - alloc::slice::<impl [T]>::repeat::h01d9e8ebb25d0e9d
   3: 0x7dda68e39bef - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::hc608fc79196977c2
   4: 0x7dda68e552dc - <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter::h7a01b341803f4510
   5: 0x7dda68e45ddc - <node_launchpad::components::popup::change_drive::ChangeDrivePopup as node_launchpad::components::Component>::draw::h92fbb9bb5e8b328c
   6: 0x7dda68dc007f - ratatui::terminal::terminal::Terminal<B>::draw::hdc751b07e1d2fba1
   7: 0x7dda68d6e12d - node_launchpad::app::App::run::{{closure}}::hf6081c58db7ce0f1
   8: 0x7dda68d767f2 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h79562327bac7d03f
   9: 0x7dda68d74784 - tokio::runtime::park::CachedParkThread::block_on::h693d5d27fdb4d9b4
  10: 0x7dda68dbd74c - tokio::runtime::context::runtime::enter_runtime::h6ae5946ba020866c
  11: 0x7dda68da89cc - tokio::runtime::runtime::Runtime::block_on::h96586a085b8d657b
  12: 0x7dda68db9559 - node_launchpad::main::h02a7ff15555fe1c1
  13: 0x7dda68dbe613 - std::sys::backtrace::__rust_begin_short_backtrace::hd0dca23a81959f54
  14: 0x7dda68dc0d4d - std::rt::lang_start::{{closure}}::hf213ded31e6bc68d
  15: 0x7dda69821ba7 - std::rt::lang_start_internal::h954781024c66758f
  16: 0x7dda68db9635 - main"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions