Skip to content

Fails to start on MacOS Big Sur #217

@bpjones

Description

@bpjones

I'm running into an issue running bandwhich on macOS Big Sur 11.3.1. It installed just fine via brew install bandwhich. After starting it up using sudo bandwhich, I get this error in the terminal:

thread 'display_handler' panicked at 'called `Result::unwrap()` on an `Err` value: AddrParseError(())', src/os/lsof_utils.rs:110:31  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I resize the terminal window and then I see the 3 pane bandwhich appear, but each section is empty. Hit q to exit and see another error message appear:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src/main.rs:311:31

ScreenFlow

2021-06-01 UPDATE: Here's the backtrace in case it's of any help.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src/main.rs:311:31
stack backtrace:
   0:        0x106413ede - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0afb3dc3ec8cd05f
   1:        0x10644a3fe - core::fmt::write::h39441ef24fae20ea
   2:        0x106413c79 - std::io::Write::write_fmt::h2ffecc964e3c3ddd
   3:        0x106430de5 - std::panicking::default_hook::{{closure}}::h1a491655bcf6394f
   4:        0x106430b0c - std::panicking::default_hook::h038c301fad559a62
   5:        0x1064312f5 - std::panicking::rust_panic_with_hook::h489020cfd35413ea
   6:        0x1064146fb - std::panicking::begin_panic_handler::{{closure}}::he498abc45ca35fbf
   7:        0x106414058 - std::sys_common::backtrace::__rust_end_short_backtrace::h4a2a0fae6b0989d8
   8:        0x106430ed3 - _rust_begin_unwind
   9:        0x10646479f - core::panicking::panic_fmt::h0003130af3c08aa0
  10:        0x106464815 - core::result::unwrap_failed::hbfeca77107a6ab03
  11:        0x106232435 - bandwhich::try_main::hef395a59d21efc72
  12:        0x10622face - bandwhich::main::hd5e8acc3a24a7afa
  13:        0x10623cafa - std::sys_common::backtrace::__rust_begin_short_backtrace::h6c395a2a27071850
  14:        0x106251c0c - std::rt::lang_start::{{closure}}::hce1a7f46f8df1be2
  15:        0x10643155c - std::rt::lang_start_internal::h0a88825a8a52fb96
  16:        0x106233299 - _main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfix submittedA tentative fix needs testing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions