Skip to content

Instantly share code, notes, and snippets.

@davidbarsky
Created January 3, 2025 00:47
Show Gist options
  • Select an option

  • Save davidbarsky/02f223166d4e2c81057225a10f6f7199 to your computer and use it in GitHub Desktop.

Select an option

Save davidbarsky/02f223166d4e2c81057225a10f6f7199 to your computer and use it in GitHub Desktop.
Matched allocations: 29966
allocated at: 33s 847ms 253us
deallocated at: Some(1m 6s 911ms 934us)
backtrace: #00 [rust-analyzer] _start
#01 [libc.so.6] __libc_start_main
#02 [libc.so.6] __libc_start_call_main
#03 [rust-analyzer] main
#04 [rust-analyzer] std::rt::lang_start_internal [rt.rs:174]
#05 [rust-analyzer] std::panic::catch_unwind [panic.rs:358]
#06 [rust-analyzer] std::panicking::try [panicking.rs:520]
#07 [rust-analyzer] std::panicking::try::do_call [panicking.rs:557]
#08 [rust-analyzer] std::rt::lang_start_internal::{{closure}} [rt.rs:174]
#09 [rust-analyzer] std::panic::catch_unwind [panic.rs:358]
#10 [rust-analyzer] std::panicking::try [panicking.rs:520]
#11 [rust-analyzer] std::panicking::try::do_call [panicking.rs:557]
#12 [rust-analyzer] core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once [function.rs:284]
#13 [rust-analyzer] std::rt::lang_start::{{closure}} [rt.rs:195]
#14 [rust-analyzer] std::sys::backtrace::__rust_begin_short_backtrace [backtrace.rs:154]
#15 [rust-analyzer] core::ops::function::FnOnce::call_once [function.rs:250]
#16 [rust-analyzer] rust_analyzer::main [main.rs:38]
#17 [rust-analyzer] rust_analyzer::actual_main [main.rs:80]
#18 [rust-analyzer] rust_analyzer::cli::analysis_stats::<impl rust_analyzer::cli::flags::AnalysisStats>::run [analysis_stats.rs:156]
#19 [rust-analyzer] hir::has_source::<impl hir::Module>::definition_source_file_id [has_source.rs:49]
#20 [rust-analyzer] <DB as hir_def::db::DefDatabase>::crate_def_map::crate_def_map_shim [setup_tracked_fn.rs:284]
#21 [rust-analyzer] salsa::attach::attach [attach.rs:91]
#22 [rust-analyzer] std::thread::local::LocalKey<T>::with [local.rs:260]
#23 [rust-analyzer] std::thread::local::LocalKey<T>::try_with [local.rs:283]
#24 [rust-analyzer] salsa::attach::attach::{{closure}} [attach.rs:91]
#25 [rust-analyzer] salsa::attach::Attached::attach [attach.rs:71]
#26 [rust-analyzer] <DB as hir_def::db::DefDatabase>::crate_def_map::crate_def_map_shim::{{closure}} [setup_tracked_fn.rs:289]
#27 [rust-analyzer] salsa::function::fetch::<impl salsa::function::IngredientImpl<C>>::fetch [fetch.rs:13]
#28 [rust-analyzer] salsa::function::fetch::<impl salsa::function::IngredientImpl<C>>::refresh_memo [fetch.rs:41]
#29 [rust-analyzer] core::option::Option<T>::or_else [option.rs:1546]
#30 [rust-analyzer] salsa::function::fetch::<impl salsa::function::IngredientImpl<C>>::refresh_memo::{{closure}} [fetch.rs:41]
#31 [rust-analyzer] salsa::function::fetch::<impl salsa::function::IngredientImpl<C>>::fetch_cold [fetch.rs:91]
#32 [rust-analyzer] salsa::function::execute::<impl salsa::function::IngredientImpl<C>>::execute [execute.rs:51]
#33 [rust-analyzer] salsa::cycle::Cycle::catch [cycle.rs:43]
#34 [rust-analyzer] std::panic::catch_unwind [panic.rs:358]
#35 [rust-analyzer] std::panicking::try [panicking.rs:520]
#36 [rust-analyzer] std::panicking::try::do_call [panicking.rs:557]
#37 [rust-analyzer] <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once [unwind_safe.rs:272]
#38 [rust-analyzer] salsa::function::execute::<impl salsa::function::IngredientImpl<C>>::execute::{{closure}} [execute.rs:51]
#39 [rust-analyzer] <<DB as hir_def::db::DefDatabase>::crate_def_map::crate_def_map_shim::Configuration_ as salsa::function::Configuration>::execute [setup_tracked_fn.rs:177]
#40 [rust-analyzer] <<DB as hir_def::db::DefDatabase>::crate_def_map::crate_def_map_shim::Configuration_ as salsa::function::Configuration>::execute::inner_ [db.rs:123]
#41 [rust-analyzer] hir_def::nameres::DefMap::crate_def_map_query [nameres.rs:355]
#42 [rust-analyzer] hir_def::nameres::collector::collect_defs [collector.rs:106]
#43 [rust-analyzer] hir_def::nameres::DefMap::shrink_to_fit [nameres.rs:429]
#44 [rust-analyzer] hir_def::item_scope::ItemScope::shrink_to_fit [item_scope.rs:772]
#45 [rust-analyzer] indexmap::map::IndexMap<K,V,S>::shrink_to_fit [map.rs:368]
#46 [rust-analyzer] indexmap::map::core::IndexMapCore<K,V>::shrink_to [core.rs:290]
#47 [rust-analyzer] alloc::vec::Vec<T,A>::shrink_to [mod.rs:1432]
#48 [rust-analyzer] alloc::raw_vec::RawVec<T,A>::shrink_to_fit [raw_vec.rs:388]
#49 [rust-analyzer] alloc::raw_vec::RawVecInner<A>::shrink_to_fit [raw_vec.rs:601]
#50 [rust-analyzer] alloc::raw_vec::RawVecInner<A>::shrink [raw_vec.rs:680]
#51 [rust-analyzer] alloc::raw_vec::RawVecInner<A>::shrink_unchecked [raw_vec.rs:716]
#52 [rust-analyzer] <alloc::alloc::Global as core::alloc::Allocator>::shrink [alloc.rs:322]
#53 [rust-analyzer] alloc::alloc::realloc [alloc.rs:139]
#54 [libbytehound.so] realloc [api.rs:378]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment