Closed KastanDay closed 1 year ago
Just +1'ing that experience.
Intel Processor, macOS Monterey.
WezTerm & default terminal (not that one would expect those to have an effect)
I'll add that resizing windows causes the errors to briefly go away, though they promptly return.
errors don't respect borders and are often cut off in display.
Perhaps I haven't been patient enough, but I have not found that the errors "calm down" eventually.
I am running into the same issue on MacOS 12.6. I encounter the same error on the homebrew version and can reproduce it in debug with a build from main. This is the stack trace where the resolver thread panics. I didn't have time to look deeper into it (and this is the first time ever looking into the code)
Maybe this helps to fix the issue.
Many thanks for the otherwise rally nice tool!
Backtrace of panic that creates above messages:
thread 'resolver' panicked at 'attempted to leave type `linked_hash_map::Node<trust_dns_proto::op::query::Query, dns_lru::LruValue>` uninitialized, which is invalid', /Users/kkratz/.cargo/registry/src/github.com-1ecc6299db9ec823/linked-hash-map-0.5.2/src/lib.rs:174:52
Process 70087 stopped
* thread #2, name = 'resolver', stop reason = breakpoint 1.1
frame #0: 0x00000001005ca5b8 bandwhich`rust_panic at panicking.rs:746:9 [opt]
Target 0: (bandwhich) stopped.
warning: bandwhich was compiled with optimization - stepping may behave oddly; variables may not be available.
warning: This version of LLDB has no plugin for the language "rust". Inspection of frame variables will be limited.
(lldb) bt
* thread #2, name = 'resolver', stop reason = breakpoint 1.1
* frame #0: 0x00000001005ca5b8 bandwhich`rust_panic at panicking.rs:746:9 [opt]
frame #1: 0x00000001005ca48c bandwhich`std::panicking::rust_panic_with_hook::h1e59e224d558a492 at panicking.rs:716:5 [opt]
frame #2: 0x00000001005ca2c0 bandwhich`std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::he1a9d6ab32bfd8c6 at panicking.rs:586:13 [opt]
frame #3: 0x00000001005c8c10 bandwhich`std::sys_common::backtrace::__rust_end_short_backtrace::he9b94791b02f48cd at backtrace.rs:138:18 [opt]
frame #4: 0x00000001005ca050 bandwhich`rust_begin_unwind at panicking.rs:584:5 [opt]
frame #5: 0x00000001005fa33c bandwhich`core::panicking::panic_fmt::h9fec86f6a9c4146e at panicking.rs:142:14 [opt]
frame #6: 0x00000001005fa25c bandwhich`core::panicking::panic::h02e9fc642940f2ec at panicking.rs:48:5 [opt]
frame #7: 0x0000000100305b90 bandwhich`linked_hash_map::LinkedHashMap$LT$K$C$V$C$S$GT$::ensure_guard_node::h94a5fd2911b601c9 [inlined] core::mem::uninitialized::h7a710b0d4b145257 at mod.rs:685:9
frame #8: 0x0000000100305b74 bandwhich`linked_hash_map::LinkedHashMap$LT$K$C$V$C$S$GT$::ensure_guard_node::h94a5fd2911b601c9(self=0x0000600003b00750) at lib.rs:174:52
frame #9: 0x0000000100305d34 bandwhich`linked_hash_map::LinkedHashMap$LT$K$C$V$C$S$GT$::insert::hdfb82e63310eb831(self=0x0000600003b00750, k=<unavailable>, v=<unavailable>) at lib.rs:304:9
frame #10: 0x0000000100332ee4 bandwhich`lru_cache::LruCache$LT$K$C$V$C$S$GT$::insert::ha955c2f6506d59c1(self=0x0000600003b00750, k=<unavailable>, v=LruValue @ 0x000000016fffd3f8) at lib.rs:119:23
frame #11: 0x0000000100363b80 bandwhich`trust_dns_resolver::dns_lru::DnsLru::insert::hbf814c830e075ad5(self=0x0000600003b00750, query=Query @ 0x000000016fffd638, records_and_ttl=Vec<(trust_dns_proto::rr::resource::Record, u32), alloc::alloc::Global> @ 0x000000016fffd660, now=Instant @ 0x000000016fffd4b8) at dns_lru.rs:167:9
frame #12: 0x000000010035593c bandwhich`trust_dns_resolver::lookup_state::CachingClient$LT$C$GT$::cache::_$u7b$$u7b$closure$u7d$$u7d$::haff5676c5b58a441((null)=ResumeTy @ 0x000000016fffd880) at lookup_state.rs:385:42
frame #13: 0x0000000100327ba4 bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hd58694de9b67a1d5(self=Pin<&mut core::future::from_generator::GenFuture<trust_dns_resolver::lookup_state::{impl#2}::cache::{async_fn_env#0}<trust_dns_resolver::lookup::LookupEither<trust_dns_resolver::name_server::connection_provider::TokioConnection, trust_dns_resolver::name_server::connection_provider::TokioConnectionProvider>>>> @ 0x000000016fffdac8, cx=0x00000001700011d8) at mod.rs:91:19
frame #14: 0x00000001003530ec bandwhich`trust_dns_resolver::lookup_state::CachingClient$LT$C$GT$::inner_lookup::_$u7b$$u7b$closure$u7d$$u7d$::h9cd98c20a301aa16((null)=ResumeTy @ 0x000000016fffef60) at lookup_state.rs:179:64
frame #15: 0x000000010032799c bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hc48c514f0080847c(self=Pin<&mut core::future::from_generator::GenFuture<trust_dns_resolver::lookup_state::{impl#2}::inner_lookup::{async_fn_env#0}<trust_dns_resolver::lookup::LookupEither<trust_dns_resolver::name_server::connection_provider::TokioConnection, trust_dns_resolver::name_server::connection_provider::TokioConnectionProvider>>>> @ 0x000000016ffff1d8, cx=0x00000001700011d8) at mod.rs:91:19
frame #16: 0x0000000100374600 bandwhich`_$LT$core..pin..Pin$LT$P$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hefde938410b1dc40(self=Pin<&mut core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<trust_dns_resolver::lookup::Lookup, trust_dns_resolver::error::ResolveError>> + core::marker::Send), alloc::alloc::Global>>> @ 0x000000016ffff238, cx=0x00000001700011d8) at future.rs:124:9
frame #17: 0x0000000100374690 bandwhich`_$LT$core..pin..Pin$LT$P$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hf1b09af63e17e6bf(self=Pin<&mut core::pin::Pin<&mut (dyn core::future::future::Future<Output=core::result::Result<trust_dns_resolver::lookup::Lookup, trust_dns_resolver::error::ResolveError>> + core::marker::Send)>> @ 0x000000016ffff2b8, cx=0x00000001700011d8) at future.rs:124:9
frame #18: 0x000000010036fb60 bandwhich`futures_util::future::future::FutureExt::poll_unpin::he41ea44d203a67ce(self=0x000000016ffff468, cx=0x00000001700011d8) at mod.rs:510:9
frame #19: 0x0000000100364f10 bandwhich`_$LT$trust_dns_resolver..lookup..LookupFuture$LT$C$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h796602dbce11d368(self=Pin<&mut trust_dns_resolver::lookup::LookupFuture<trust_dns_resolver::lookup::LookupEither<trust_dns_resolver::name_server::connection_provider::TokioConnection, trust_dns_resolver::name_server::connection_provider::TokioConnectionProvider>>> @ 0x000000016ffff3d8, cx=0x00000001700011d8) at lookup.rs:267:25
frame #20: 0x000000010036f92c bandwhich`_$LT$futures_util..future..either..Either$LT$A$C$B$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h3ebfe87b58e6f99e(self=(pointer = 0x0000000102b040b8), cx=0x00000001700011d8) at either.rs:63:37
frame #21: 0x000000010034661c bandwhich`trust_dns_resolver::async_resolver::AsyncResolver$LT$C$C$P$GT$::inner_lookup::_$u7b$$u7b$closure$u7d$$u7d$::h6059a73b230343ca((null)=ResumeTy @ 0x000000016ffffb28) at async_resolver.rs:321:48
frame #22: 0x0000000100326c70 bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h104183bf4268a611(self=Pin<&mut core::future::from_generator::GenFuture<trust_dns_resolver::async_resolver::{impl#1}::inner_lookup::{async_fn_env#0}<trust_dns_resolver::name_server::connection_provider::TokioConnection, trust_dns_resolver::name_server::connection_provider::TokioConnectionProvider, trust_dns_resolver::lookup::ReverseLookup>>> @ 0x000000016ffffd68, cx=0x00000001700011d8) at mod.rs:91:19
frame #23: 0x0000000100347080 bandwhich`trust_dns_resolver::async_resolver::AsyncResolver$LT$C$C$P$GT$::reverse_lookup::_$u7b$$u7b$closure$u7d$$u7d$::hec3edaef5e26a48e((null)=ResumeTy @ 0x00000001700002d0) at async_resolver.rs:102:62
frame #24: 0x000000010032748c bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h678466ac133dc476(self=Pin<&mut core::future::from_generator::GenFuture<trust_dns_resolver::async_resolver::{impl#1}::reverse_lookup::{async_fn_env#0}<trust_dns_resolver::name_server::connection_provider::TokioConnection, trust_dns_resolver::name_server::connection_provider::TokioConnectionProvider>>> @ 0x0000000170000508, cx=0x00000001700011d8) at mod.rs:91:19
frame #25: 0x0000000100082b1c bandwhich`_$LT$bandwhich..network..dns..resolver..Resolver$u20$as$u20$bandwhich..network..dns..resolver..Lookup$GT$::lookup::__lookup::_$u7b$$u7b$closure$u7d$$u7d$::he5dacfb195bbb9ae((null)=ResumeTy @ 0x0000000170000d50) at resolver.rs:44:28
frame #26: 0x0000000100063060 bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h7e243eb564dc4838(self=Pin<&mut core::future::from_generator::GenFuture<bandwhich::network::dns::resolver::{impl#1}::lookup::__lookup::{async_fn_env#0}>> @ 0x0000000170000e28, cx=0x00000001700011d8) at mod.rs:91:19
frame #27: 0x000000010009ef1c bandwhich`_$LT$core..pin..Pin$LT$P$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h5e2a8471a3b50430(self=Pin<&mut core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::option::Option<alloc::string::String>> + core::marker::Send), alloc::alloc::Global>>> @ 0x0000000170000e78, cx=0x00000001700011d8) at future.rs:124:9
frame #28: 0x00000001000763b8 bandwhich`bandwhich::network::dns::client::Client::new::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::he2084067c9503fed((null)=ResumeTy @ 0x00000001700010d8) at client.rs:48:76
frame #29: 0x00000001000631d4 bandwhich`_$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::he8ee671c7eb8a033(self=Pin<&mut core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>> @ 0x0000000170001150, cx=0x00000001700011d8) at mod.rs:91:19
frame #30: 0x00000001000647c8 bandwhich`tokio::task::core::Core$LT$T$GT$::poll::h54a25f2f584fd357(self=0x0000600003008030, header=0x0000600003008000) at core.rs:128:13
frame #31: 0x00000001000a35c4 bandwhich`tokio::task::harness::Harness$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hfaba32c0aa73c2df at harness.rs:120:27
frame #32: 0x000000010002e2a4 bandwhich`core::ops::function::FnOnce::call_once::hf176633508311497((null)={closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv> @ 0x00000001700012e8, (null)=<unavailable>) at function.rs:248:5
frame #33: 0x000000010006824c bandwhich`_$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h94f8f8100253828e(self=AssertUnwindSafe<tokio::task::harness::{impl#1}::poll::{closure#1}::{closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv>> @ 0x0000000170001330, _args=<unavailable>) at unwind_safe.rs:271:9
frame #34: 0x000000010005dc6c bandwhich`std::panicking::try::do_call::h20f42a8ae0528ed7(data="") at panicking.rs:492:40
frame #35: 0x000000010005e544 bandwhich`__rust_try + 32
frame #36: 0x000000010005d550 bandwhich`std::panicking::try::h2362895ce1e8c99d(f=AssertUnwindSafe<tokio::task::harness::{impl#1}::poll::{closure#1}::{closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv>> @ 0x0000000170001418) at panicking.rs:456:19
frame #37: 0x0000000100080d24 bandwhich`std::panic::catch_unwind::hfb6dcf13451d1ed2(f=AssertUnwindSafe<tokio::task::harness::{impl#1}::poll::{closure#1}::{closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv>> @ 0x0000000170001480) at panic.rs:137:14
frame #38: 0x00000001000a3530 bandwhich`tokio::task::harness::Harness$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h08e40f67ad8621e7((null)=0x0000600003008030) at harness.rs:101:13
frame #39: 0x00000001000435b8 bandwhich`tokio::loom::std::causal_cell::CausalCell$LT$T$GT$::with_mut::hc1bccb394db28744(self=0x0000600003008030, f={closure_env#1}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv> @ 0x0000000170001528) at causal_cell.rs:41:9
frame #40: 0x00000001000a32c8 bandwhich`tokio::task::harness::Harness$LT$T$C$S$GT$::poll::he3965bf904858e9d(self=Harness<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>, tokio::runtime::basic_scheduler::SchedulerPriv> @ 0x00000001700015e0, executor=&mut dyn core::ops::function::FnMut<(), Output=core::option::Option<core::ptr::non_null::NonNull<()>>> @ 0x0000000170001690) at harness.rs:100:19
frame #41: 0x000000010007086c bandwhich`tokio::task::raw::poll::h056f8e4c331eb969(ptr=0x0000600003008000, executor=&mut dyn core::ops::function::FnMut<(), Output=core::option::Option<core::ptr::non_null::NonNull<()>>> @ 0x0000000170001738) at raw.rs:162:5
frame #42: 0x000000010048e3f0 bandwhich`tokio::task::raw::RawTask::poll::h6f392933a8dcccf6(self=RawTask @ 0x0000000170001790, executor=&mut dyn core::ops::function::FnMut<(), Output=core::option::Option<core::ptr::non_null::NonNull<()>>> @ 0x0000000170001798) at raw.rs:113:9
frame #43: 0x000000010034fe40 bandwhich`tokio::task::Task$LT$S$GT$::run::ha2e6aeec5345675c(self=Task<tokio::runtime::basic_scheduler::SchedulerPriv> @ 0x00000001700017c8, executor=0x00000001700018c8) at mod.rs:370:13
frame #44: 0x0000000100336304 bandwhich`tokio::runtime::basic_scheduler::SchedulerPriv::tick::hb7502bbe109e5d8f(self=0x00006000030000a0, local=0x0000000170004b40) at basic_scheduler.rs:236:33
frame #45: 0x0000000100075578 bandwhich`tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::hf185dc0f742d78ba at basic_scheduler.rs:188:17
frame #46: 0x0000000100068ff4 bandwhich`tokio::runtime::global::with_state::_$u7b$$u7b$closure$u7d$$u7d$::h41f73ce50e7b0fb5(cell=0x0000000101809608) at global.rs:100:9
frame #47: 0x00000001000020cc bandwhich`std::thread::local::LocalKey$LT$T$GT$::try_with::h3993ca8d2ff416da(self=0x00000001006e6de8, f={closure_env#0}<tokio::runtime::basic_scheduler::{impl#2}::block_on::{closure_env#1}<tokio::park::either::Either<tokio::time::driver::Driver<tokio::park::either::Either<tokio::io::driver::Driver, tokio::park::thread::ParkThread>>, tokio::park::either::Either<tokio::io::driver::Driver, tokio::park::thread::ParkThread>>, core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>>, ()> @ 0x0000000170001bd0) at local.rs:445:16
frame #48: 0x0000000100001cb0 bandwhich`std::thread::local::LocalKey$LT$T$GT$::with::hd59cb30685f0ca59(self=0x00000001006e6de8, f=<unavailable>) at local.rs:421:9
frame #49: 0x0000000100068de8 bandwhich`tokio::runtime::global::with_state::h28874b883ef730dd(state=State @ 0x0000000170001c10, f=<unavailable>) at global.rs:83:5
frame #50: 0x00000001000693cc bandwhich`tokio::runtime::global::with_basic_scheduler::h10f0932539d342b4(basic_scheduler=0x00006000030000a0, f=<unavailable>) at global.rs:62:5
frame #51: 0x000000010007504c bandwhich`tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::h8744037d27df7c39(self=0x0000000170004b38, future=(__0 = bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<> @ 0x0000000170001f58)) at basic_scheduler.rs:167:9
frame #52: 0x0000000100067c54 bandwhich`tokio::runtime::Runtime::block_on::_$u7b$$u7b$closure$u7d$$u7d$::h9bf717b0648f3ce2 at mod.rs:409:34
frame #53: 0x0000000100069220 bandwhich`tokio::runtime::global::with_state::_$u7b$$u7b$closure$u7d$$u7d$::h7d9bc1ef6a032e38(cell=0x0000000101809608) at global.rs:100:9
frame #54: 0x0000000100002334 bandwhich`std::thread::local::LocalKey$LT$T$GT$::try_with::h9d97e93c8ff16de1(self=0x00000001006e6de8, f={closure_env#0}<tokio::runtime::{impl#0}::block_on::{closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>>, ()> @ 0x0000000170002760) at local.rs:445:16
frame #55: 0x0000000100001c40 bandwhich`std::thread::local::LocalKey$LT$T$GT$::with::hc2327dd47abddbd6(self=0x00000001006e6de8, f=<unavailable>) at local.rs:421:9
frame #56: 0x0000000100068e48 bandwhich`tokio::runtime::global::with_state::h49d0b5a284fddc03(state=State @ 0x00000001700029b8, f=<unavailable>) at global.rs:83:5
frame #57: 0x0000000100069474 bandwhich`tokio::runtime::global::with_basic_scheduler::h6c2e8e2b8264dbeb(basic_scheduler=0x00006000030000a0, f=<unavailable>) at global.rs:62:5
frame #58: 0x00000001000756d4 bandwhich`tokio::runtime::basic_scheduler::Spawner::enter::he73b1fb49f4a272c(self=0x0000000170004bf0, f={closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>> @ 0x0000000170003330) at basic_scheduler.rs:215:9
frame #59: 0x0000000100092c5c bandwhich`tokio::runtime::spawner::Spawner::enter::hb662fc166a7857be(self=0x0000000170004bf0, f={closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>> @ 0x0000000170003590) at spawner.rs:30:40
frame #60: 0x0000000100007248 bandwhich`tokio::runtime::handle::Handle::enter::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hcab67ebe44e27b00 at handle.rs:36:67
frame #61: 0x000000010007a248 bandwhich`tokio::time::clock::Clock::enter::h57838b32b9b71783(self=0x0000000170004bf0, f=<unavailable>) at clock.rs:30:13
frame #62: 0x000000010002b34c bandwhich`tokio::runtime::time::variant::with_default::hc896ae64f5eaab26(handle=0x0000000170004c00, clock=0x0000000170004bf0, f={closure_env#0}<tokio::runtime::{impl#0}::block_on::{closure_env#0}<core::future::from_generator::GenFuture<bandwhich::network::dns::client::{impl#0}::new::{closure#0}::{async_block_env#0}<bandwhich::network::dns::resolver::Resolver>>>, ()> @ 0x0000000170003d10) at time.rs:43:9
frame #63: 0x000000010000714c bandwhich`tokio::runtime::handle::Handle::enter::_$u7b$$u7b$closure$u7d$$u7d$::hc613399c80880c59 at handle.rs:36:13
frame #64: 0x000000010003a128 bandwhich`tokio::runtime::blocking::BlockingPool::enter::hb8653ca945245578(self=0x0000000170004bf0, f=<unavailable>) at mod.rs:60:13
frame #65: 0x0000000100006f48 bandwhich`tokio::runtime::handle::Handle::enter::hb65be1221e12b09b(self=0x0000000170004bf0, f=<unavailable>) at handle.rs:33:9
frame #66: 0x0000000100067b30 bandwhich`tokio::runtime::Runtime::block_on::h67cdcde6d5cf3530(self=0x0000000170004b30, future=<unavailable>) at mod.rs:406:9
frame #67: 0x0000000100075c18 bandwhich`bandwhich::network::dns::client::Client::new::_$u7b$$u7b$closure$u7d$$u7d$::hab4f47fbf9467cb6 at client.rs:37:17
frame #68: 0x0000000100081908 bandwhich`std::sys_common::backtrace::__rust_begin_short_backtrace::hd692b5e876a32191(f=<unavailable>) at backtrace.rs:122:18
frame #69: 0x000000010008725c bandwhich`std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1fa14e826ce6d84c at mod.rs:505:17
frame #70: 0x0000000100068338 bandwhich`_$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hdffbe6879154ae4a(self=<unavailable>, _args=<unavailable>) at unwind_safe.rs:271:9
frame #71: 0x000000010005df6c bandwhich`std::panicking::try::do_call::hf90ad80bab583588(data="\U00000001") at panicking.rs:492:40
frame #72: 0x000000010005e544 bandwhich`__rust_try + 32
frame #73: 0x000000010005d358 bandwhich`std::panicking::try::h077b8d25f0aaa2a7(f=<unavailable>) at panicking.rs:456:19
frame #74: 0x0000000100080c5c bandwhich`std::panic::catch_unwind::h7c8196341bb38d9a(f=<unavailable>) at panic.rs:137:14
frame #75: 0x00000001000863cc bandwhich`std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::h3b6126bea64237c0 at mod.rs:504:30
frame #76: 0x000000010002cfb0 bandwhich`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1ae302cbebd04566((null)=0x0000000102804bf0, (null)=<unavailable>) at function.rs:248:5
frame #77: 0x00000001005cdf18 bandwhich`std::sys::unix::thread::Thread::new::thread_start::h7b2f9b83fb320a20 [inlined] _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h89934fef96b83268 at boxed.rs:1951:9 [opt]
frame #78: 0x00000001005cdf0c bandwhich`std::sys::unix::thread::Thread::new::thread_start::h7b2f9b83fb320a20 [inlined] _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h2c579033340f7d2e at boxed.rs:1951:9 [opt]
frame #79: 0x00000001005cdf08 bandwhich`std::sys::unix::thread::Thread::new::thread_start::h7b2f9b83fb320a20 at thread.rs:108:17 [opt]
frame #80: 0x000000019fab026c libsystem_pthread.dylib`_pthread_start + 148
Looks like an issue in the linked-hash-map crate, updating the crate to 0.5.6 solves the issue for me
There is already an old PR that fixes this issue: https://github.com/imsnif/bandwhich/pull/238
The brew binary failed for me, but installing via cargo worked.
Having the same issue here on Ventura 13.2 will try installing via cargo instead of home-brew
UPDATE: removed from homebrew and installed with "cargo install bandwhich" (Rust already installed) This works fine when using with sudo
Can you please check if the issue persists on the latest main
? This should be patched in #273.
This seems like a duplicate of #216. I'll redirect the discussion to over there.
Update: these errors eventually settle down after basically every user applicaion on my system has errored once.
Hard to parse errors like:
Larger (very chaotic) output for easier grepping: