Skip to content

rust-analyzer crashes when loading tokio projects #14192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
delamarch3 opened this issue Feb 22, 2023 · 27 comments
Closed

rust-analyzer crashes when loading tokio projects #14192

delamarch3 opened this issue Feb 22, 2023 · 27 comments
Labels
Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug I-crash S-unactionable Issue requires feedback, design decisions or is blocked on other work

Comments

@delamarch3
Copy link

delamarch3 commented Feb 22, 2023

rust-analyzer version: rust-analyzer 0.0.0 (a6603fc 2023-02-16)

rustc version: rustc 1.67.1 (d5a82bbd2 2023-02-07)

relevant settings: Not sure if any environment variables are being set. Using helix editor.

I've noticed that rust-analyzer crashes when loading tokio projects. The lightest projects I've noticed this in only have either tokio + redis or tokio + chrono as dependencies. Here's what I get from rust-analyzer analysis-stats .:

Database loaded:     977.68ms (metadata 737.67ms; build 135.62ms)
  crates: 2, mods: 17, decls: 92, fns: 63
Item Collection:     7.50s
4/63 6% processing: test_getrust-analyzer(35815,0x1065e8600) malloc: *** error for object 0x6000146fe300: pointer being freed was not allocated
rust-analyzer(35815,0x1065e8600) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      rust-analyzer analysis-stats .

Here's the full crash report:

Crash Report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               rust-analyzer [35404]
Path:                  /usr/local/Cellar/rust-analyzer/2023-02-20/bin/rust-analyzer
Identifier:            rust-analyzer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        hx [35403]
Responsible:           iTerm2 [1492]
User ID:               501

Date/Time:             2023-02-22 20:05:52.6678 +0000
OS Version:            macOS 12.6.3 (21G419)
Report Version:        12
Bridge OS Version:     7.2 (20P3045)
Anonymous UUID:        35091721-F39F-470C-A28C-910D57315878

Sleep/Wake UUID:       619D4117-8EB2-41A1-B125-B92364719B72

Time Awake Since Boot: 57000 seconds
Time Since Wake:       3928 seconds

System Integrity Protection: enabled

Crashed Thread:        5  Worker

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called


Thread 0:: main Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff81c88f0ea __ulock_wait + 10
1   libsystem_pthread.dylib       	    0x7ff81c8cbc95 _pthread_join + 358
2   rust-analyzer                 	       0x10d5c1bf0 std::sys::unix::thread::Thread::join::h40594c04f82780fc + 16
3   rust-analyzer                 	       0x10c6ce8da std::thread::JoinHandle$LT$T$GT$::join::h1f12fa40bccf7c07 + 42
4   rust-analyzer                 	       0x10c670665 rust_analyzer::with_extra_thread::hd1942c2f5f9f3544 + 229
5   rust-analyzer                 	       0x10c6a746f rust_analyzer::main::hadc7b696883cb6b0 + 4719
6   rust-analyzer                 	       0x10c6cd326 std::sys_common::backtrace::__rust_begin_short_backtrace::h6756f4972932ea0f + 6
7   rust-analyzer                 	       0x10c6d20ec std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::ha6f52560b59f130a + 12
8   rust-analyzer                 	       0x10d5c6388 std::rt::lang_start_internal::h63aa6976ade06f50 + 40
9   rust-analyzer                 	       0x10c6a9c1c main + 44
10  dyld                          	       0x10f16d52e start + 462

Thread 1:: LspServer
0   libsystem_kernel.dylib        	    0x7ff81c88d9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff81c7137ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff81c713c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10d5e9680 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10cf6e29b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10cf6deb1 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10cf6e4ba crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10c7e30d4 rust_analyzer::main_loop::_$LT$impl$u20$rust_analyzer..global_state..GlobalState$GT$::run::h8652d4b7bb188877 + 2132
8   rust-analyzer                 	       0x10c81f694 rust_analyzer::main_loop::main_loop::h44b49150bd2d95fe + 484
9   rust-analyzer                 	       0x10c6a9114 rust_analyzer::run_server::h1e64d412550020b1 + 4612
10  rust-analyzer                 	       0x10c6cd319 std::sys_common::backtrace::__rust_begin_short_backtrace::h3c93dea765064fd2 + 9
11  rust-analyzer                 	       0x10c6cf316 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h2d426602cb4e5c96 + 118
12  rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
13  libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
14  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 2:
0   libsystem_kernel.dylib        	    0x7ff81c88d9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff81c7137ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff81c713c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10d5e9680 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10ca1e240 crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 800
5   rust-analyzer                 	       0x10ca1ec0c crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hb2334eaf29c5cd68 + 284
6   rust-analyzer                 	       0x10ca1f9aa crossbeam_channel::flavors::zero::Channel$LT$T$GT$::recv::h314b607912df171c + 1114
7   rust-analyzer                 	       0x10ca23788 crossbeam_channel::channel::Receiver$LT$T$GT$::recv::h9193a814758ca302 + 120
8   rust-analyzer                 	       0x10ca1d75c std::sys_common::backtrace::__rust_begin_short_backtrace::h60725cd389e4e017 + 108
9   rust-analyzer                 	       0x10ca22c24 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he6a06ffea7588b3f + 148
10  rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 3:
0   libsystem_kernel.dylib        	    0x7ff81c88e3ba read + 10
1   rust-analyzer                 	       0x10d5f0b23 std::io::read_until::h976776084d9fabe9 + 371
2   rust-analyzer                 	       0x10d5ef96d std::io::append_to_string::h72576dcb4a6dce6f + 45
3   rust-analyzer                 	       0x10d5bcdcb _$LT$std..io..stdio..StdinLock$u20$as$u20$std..io..BufRead$GT$::read_line::h43603af26cd4f812 + 27
4   rust-analyzer                 	       0x10ca2d605 lsp_server::msg::Message::_read::hc0d2998210abc70b + 101
5   rust-analyzer                 	       0x10ca1d497 std::sys_common::backtrace::__rust_begin_short_backtrace::h05731bf51a9bbd29 + 103
6   rust-analyzer                 	       0x10ca229f4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h40f66eac11c8fba8 + 148
7   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
8   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 4:: VfsLoader
0   libsystem_kernel.dylib        	    0x7ff81c88d9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff81c7137ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff81c713c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10d5e9680 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10cf6e29b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10cf6deb1 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10cf6e4ba crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10c9fe0ac vfs_notify::NotifyActor::run::h4f02e03c118455c0 + 316
8   rust-analyzer                 	       0x10ca029bd std::sys_common::backtrace::__rust_begin_short_backtrace::h78fb6416dc20482c + 61
9   rust-analyzer                 	       0x10c9faf5f core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0783495701fd8aa0 + 207
10  rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 5 Crashed:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c89400e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff81c8ca1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff81c815d24 abort + 123
3   libsystem_malloc.dylib        	    0x7ff81c6f3357 malloc_vreport + 551
4   libsystem_malloc.dylib        	    0x7ff81c6f652b malloc_report + 151
5   rust-analyzer                 	       0x10d0eca6f core::ptr::drop_in_place$LT$chalk_ir..Binders$LT$chalk_solve..rust_ir..OpaqueTyDatumBound$LT$hir_ty..interner..Interner$GT$$GT$$GT$::haa4c93c5d7024ea1 + 63
6   rust-analyzer                 	       0x10d03bf92 alloc::sync::Arc$LT$T$GT$::drop_slow::h7676f3500110e80f + 18
7   rust-analyzer                 	       0x10d169ab7 chalk_solve::clauses::program_clauses_that_could_match::h552f6c8170760d0c + 2759
8   rust-analyzer                 	       0x10d020f74 chalk_recursive::solve::SolveIteration::solve_iteration::hfb761f694aff9bcb + 1684
9   rust-analyzer                 	       0x10d0a5402 chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_goal::h9dfc34972ce1ba93 + 3122
10  rust-analyzer                 	       0x10d0a6387 chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_root_goal::h81046cd9ccad88c8 + 455
11  rust-analyzer                 	       0x10d12c00b hir_ty::traits::trait_solve_query::hc12451fa64638693 + 2699
12  rust-analyzer                 	       0x10d1529c1 salsa::runtime::Runtime::execute_query_implementation::h509993448613ce52 + 449
13  rust-analyzer                 	       0x10d1d48f0 salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::hf25dc3a99e54fa21 + 2304
14  rust-analyzer                 	       0x10d1f1afa salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::h1d81bb4fa93b4f83 + 1130
15  rust-analyzer                 	       0x10d017e5b _$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::h9680b0cb369360a1 + 651
16  rust-analyzer                 	       0x10d062543 salsa::QueryTable$LT$Q$GT$::get::h8221f96701e0ef85 + 83
17  rust-analyzer                 	       0x10d195bc9 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::__shim::ha4908857ec224f34 + 105
18  rust-analyzer                 	       0x10cc21aa7 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::h48bbebd9c7d24aa4 + 55
19  rust-analyzer                 	       0x10d193161 hir_ty::db::trait_solve_wait::h0bd5176a9282cc9f + 209
20  rust-analyzer                 	       0x10cc21897 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve::h838b30557b49041a + 55
21  rust-analyzer                 	       0x10d1a5e8d hir_ty::infer::unify::InferenceTable::register_obligation_in_env::haf85558b8841f38a + 125
22  rust-analyzer                 	       0x10d190d0f hir_ty::infer::InferenceContext::resolve_associated_type_with_params::h2d9521c8d89d416b + 687
23  rust-analyzer                 	       0x10d180797 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8 + 8887
24  rust-analyzer                 	       0x10d17e22d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr::hcdabc53f799bc558 + 29
25  rust-analyzer                 	       0x10d17f946 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8 + 5222
26  rust-analyzer                 	       0x10d17e35d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f + 29
27  rust-analyzer                 	       0x10d187a9e hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h6871797293adf3ca + 382
28  rust-analyzer                 	       0x10d1812fd hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8 + 11805
29  rust-analyzer                 	       0x10d17e35d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f + 29
30  rust-analyzer                 	       0x10d163215 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::with_breakable_ctx::hefd20bb51f458867 + 437
31  rust-analyzer                 	       0x10d180185 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8 + 7333
32  rust-analyzer                 	       0x10d17e35d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f + 29
33  rust-analyzer                 	       0x10d187a9e hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h6871797293adf3ca + 382
34  rust-analyzer                 	       0x10d1812fd hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8 + 11805
35  rust-analyzer                 	       0x10d17e35d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f + 29
36  rust-analyzer                 	       0x10d18def2 hir_ty::infer::infer_query::h010b19209f6de18b + 4402
37  rust-analyzer                 	       0x10d152ead salsa::runtime::Runtime::execute_query_implementation::h55c4c9ae87a5a460 + 397
38  rust-analyzer                 	       0x10d1afa7a salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h02aa9fcc22ec9927 + 2458
39  rust-analyzer                 	       0x10d1fd233 salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::hcacd980029287713 + 995
40  rust-analyzer                 	       0x10d019a1c _$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::hcd7af31fe7f5e259 + 492
41  rust-analyzer                 	       0x10d193283 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::__shim::haa00da28e9d5122d + 67
42  rust-analyzer                 	       0x10cc21835 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::h17af69883d1d3beb + 37
43  rust-analyzer                 	       0x10d192fb8 hir_ty::db::infer_wait::h894ac44780efe39b + 216
44  rust-analyzer                 	       0x10cc21f75 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer::h861c1fabbdaf46a1 + 37
45  rust-analyzer                 	       0x10cf7fa3e hir::DefWithBody::diagnostics::h86a9ca69833776e9 + 2222
46  rust-analyzer                 	       0x10cf78e59 hir::ModuleDef::diagnostics::h2e865c895448d394 + 1209
47  rust-analyzer                 	       0x10cf79bfe hir::Module::diagnostics::h0224db5377011f5b + 942
48  rust-analyzer                 	       0x10cf79bb8 hir::Module::diagnostics::h0224db5377011f5b + 872
49  rust-analyzer                 	       0x10cc260dc ide_diagnostics::diagnostics::h654c3d2118b2ad37 + 860
50  rust-analyzer                 	       0x10cbf9d37 std::panicking::try::h4abf26d66ad74357 + 39
51  rust-analyzer                 	       0x10cc04c1a ide::Analysis::diagnostics::h57f72b68876bf4ea + 58
52  rust-analyzer                 	       0x10c92216c rust_analyzer::handlers::publish_diagnostics::h3d12a85c61c72f77 + 588
53  rust-analyzer                 	       0x10c7fa160 alloc::vec::in_place_collect::_$LT$impl$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$u20$for$u20$alloc..vec..Vec$LT$T$GT$$GT$::from_iter::h6f1f9f3a954d25da + 144
54  rust-analyzer                 	       0x10c839dad _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h277b30928539717d + 141
55  rust-analyzer                 	       0x10c9eb7bd std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 381
56  rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
57  rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
58  libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
59  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 6:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c88fbd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff81c8c7e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff81c8c5cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10c9eb6b5 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 7:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c88fbd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff81c8c7e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff81c8c5cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10c9eb6b5 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 8:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c88fbd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff81c8c7e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff81c8c5cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10c9eb6b5 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 9:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c88fbd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff81c8c7e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff81c8c5cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10c9eb6b5 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 10:: Worker
0   libsystem_kernel.dylib        	    0x7ff81c88d9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff81c7137ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff81c713c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10d5e9680 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10c9ea036 std::sync::mpmc::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h382232ec2d10ae5a + 726
5   rust-analyzer                 	       0x10c9e99ba std::sync::mpmc::list::Channel$LT$T$GT$::recv::ha5a50a5159107fed + 698
6   rust-analyzer                 	       0x10c9eb71c std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 220
7   rust-analyzer                 	       0x10c9ef748 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
8   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
9   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 11:
0   libsystem_pthread.dylib       	    0x7ff81c8c5f48 start_wqthread + 0

Thread 12:: Flycheck
0   libsystem_kernel.dylib        	    0x7ff81c88d9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff81c7137ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff81c713c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10d5e9680 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10cf6e29b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10cf6deb1 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10cf6e4ba crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10ca567b0 flycheck::FlycheckActor::run::h44e6215704e8d5ae + 400
8   rust-analyzer                 	       0x10ca674bd std::sys_common::backtrace::__rust_begin_short_backtrace::hb26202ae0cdd7d07 + 61
9   rust-analyzer                 	       0x10ca374df core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h698fb4c34f4108f4 + 207
10  rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15

Thread 13:: notify-rs fsevents loop
0   libsystem_kernel.dylib        	    0x7ff81c88d97a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81c88dce8 mach_msg + 56
2   CoreFoundation                	    0x7ff81c99136d __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff81c98f9f8 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff81c98ee3c CFRunLoopRunSpecific + 562
5   CoreFoundation                	    0x7ff81ca16dcb CFRunLoopRun + 40
6   rust-analyzer                 	       0x10ca0a782 std::sys_common::backtrace::__rust_begin_short_backtrace::h31d5e512b07465fb + 146
7   rust-analyzer                 	       0x10ca11ff6 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h594dfc35b1c48245 + 166
8   rust-analyzer                 	       0x10d5c1a47 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
9   libsystem_pthread.dylib       	    0x7ff81c8ca4e1 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff81c8c5f6b thread_start + 15


Thread 5 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000070000c1e9000  rcx: 0x000070000c1e4638  rdx: 0x0000000000000000
  rdi: 0x0000000000002903  rsi: 0x0000000000000006  rbp: 0x000070000c1e4660  rsp: 0x000070000c1e4638
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000002903  r13: 0x0000000000000050  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff81c89400e  rfl: 0x0000000000000246  cr2: 0x00007ff85e039008
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133


Binary Images:
    0x7ff81c88c000 -     0x7ff81c8c3fff libsystem_kernel.dylib (*) <e2477724-bccf-3a8c-9c75-c774c569f36e> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81c8c4000 -     0x7ff81c8cffff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
       0x10c65b000 -        0x10d9c6fff rust-analyzer (*) <8d7c0d59-b061-3f10-b554-3d7c184a07d2> /usr/local/Cellar/rust-analyzer/2023-02-20/bin/rust-analyzer
       0x10f168000 -        0x10f1d3fff dyld (*) <006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6> /usr/lib/dyld
    0x7ff81c710000 -     0x7ff81c756fff libdispatch.dylib (*) <1a04b380-76e4-3e4b-b0fc-9837533d021d> /usr/lib/system/libdispatch.dylib
    0x7ff81c794000 -     0x7ff81c81cfff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
    0x7ff81c6e4000 -     0x7ff81c70ffff libsystem_malloc.dylib (*) <47042acd-a337-322a-8db7-ecd59cc60d92> /usr/lib/system/libsystem_malloc.dylib
    0x7ff81c911000 -     0x7ff81ce13fff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=420.5M resident=0K(0%) swapped_out_or_unallocated=420.5M(100%)
Writable regions: Total=910.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=910.4M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           833.9M      564 
MALLOC guard page                   16K        4 
ObjC additional data                15K        1 
STACK GUARD                         52K       13 
Stack                             74.6M       14 
Stack Guard                       56.0M        1 
VM_ALLOCATE                         72K       18 
VM_ALLOCATE (reserved)            1664K       13         reserved VM address space (unallocated)
__DATA                            1885K      118 
__DATA_CONST                      6708K       84 
__DATA_DIRTY                       216K       51 
__LINKEDIT                       320.9M        5 
__TEXT                            99.6M      131 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                         48K        1 
shared memory                      560K        5 
===========                     =======  ======= 
TOTAL                              1.4G     1027 
TOTAL, minus reserved VM space     1.4G     1027 



-----------
Full Report
-----------

{"app_name":"rust-analyzer","timestamp":"2023-02-22 20:05:52.00 +0000","app_version":"","slice_uuid":"8d7c0d59-b061-3f10-b554-3d7c184a07d2","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.6.3 (21G419)","incident_id":"93A3849B-AEFC-4729-81C3-1C02499AF680","name":"rust-analyzer"}
{
  "uptime" : 57000,
  "procLaunch" : "2023-02-22 20:05:40.9436 +0000",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "procStartAbsTime" : 57304402656531,
  "coalitionID" : 1626,
  "osVersion" : {
    "train" : "macOS 12.6.3",
    "build" : "21G419",
    "releaseType" : "User"
  },
  "captureTime" : "2023-02-22 20:05:52.6678 +0000",
  "incident" : "93A3849B-AEFC-4729-81C3-1C02499AF680",
  "bug_type" : "309",
  "pid" : 35404,
  "procExitAbsTime" : 57316126204660,
  "cpuType" : "X86-64",
  "procName" : "rust-analyzer",
  "procPath" : "\/usr\/local\/Cellar\/rust-analyzer\/2023-02-20\/bin\/rust-analyzer",
  "parentProc" : "hx",
  "parentPid" : 35403,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "35091721-F39F-470C-A28C-910D57315878",
  "responsiblePid" : 1492,
  "responsibleProc" : "iTerm2",
  "wakeTime" : 3928,
  "bridgeVersion" : {"build":"20P3045","train":"7.2"},
  "sleepWakeUUID" : "619D4117-8EB2-41A1-B125-B92364719B72",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 5,
  "threads" : [{"id":477110,"name":"main","queue":"com.apple.main-thread","frames":[{"imageOffset":12522,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":0},{"imageOffset":31893,"symbol":"_pthread_join","symbolLocation":358,"imageIndex":1},{"imageOffset":16149488,"symbol":"std::sys::unix::thread::Thread::join::h40594c04f82780fc","symbolLocation":16,"imageIndex":2},{"imageOffset":473306,"symbol":"std::thread::JoinHandle$LT$T$GT$::join::h1f12fa40bccf7c07","symbolLocation":42,"imageIndex":2},{"imageOffset":87653,"symbol":"rust_analyzer::with_extra_thread::hd1942c2f5f9f3544","symbolLocation":229,"imageIndex":2},{"imageOffset":312431,"symbol":"rust_analyzer::main::hadc7b696883cb6b0","symbolLocation":4719,"imageIndex":2},{"imageOffset":467750,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h6756f4972932ea0f","symbolLocation":6,"imageIndex":2},{"imageOffset":487660,"symbol":"std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::ha6f52560b59f130a","symbolLocation":12,"imageIndex":2},{"imageOffset":16167816,"symbol":"std::rt::lang_start_internal::h63aa6976ade06f50","symbolLocation":40,"imageIndex":2},{"imageOffset":322588,"symbol":"main","symbolLocation":44,"imageIndex":2},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":3}]},{"id":477111,"name":"LspServer","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16311936,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9515675,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9514673,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9516218,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":1605844,"symbol":"rust_analyzer::main_loop::_$LT$impl$u20$rust_analyzer..global_state..GlobalState$GT$::run::h8652d4b7bb188877","symbolLocation":2132,"imageIndex":2},{"imageOffset":1853076,"symbol":"rust_analyzer::main_loop::main_loop::h44b49150bd2d95fe","symbolLocation":484,"imageIndex":2},{"imageOffset":319764,"symbol":"rust_analyzer::run_server::h1e64d412550020b1","symbolLocation":4612,"imageIndex":2},{"imageOffset":467737,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h3c93dea765064fd2","symbolLocation":9,"imageIndex":2},{"imageOffset":475926,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h2d426602cb4e5c96","symbolLocation":118,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477112,"frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16311936,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":3945024,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":800,"imageIndex":2},{"imageOffset":3947532,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hb2334eaf29c5cd68","symbolLocation":284,"imageIndex":2},{"imageOffset":3951018,"symbol":"crossbeam_channel::flavors::zero::Channel$LT$T$GT$::recv::h314b607912df171c","symbolLocation":1114,"imageIndex":2},{"imageOffset":3966856,"symbol":"crossbeam_channel::channel::Receiver$LT$T$GT$::recv::h9193a814758ca302","symbolLocation":120,"imageIndex":2},{"imageOffset":3942236,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h60725cd389e4e017","symbolLocation":108,"imageIndex":2},{"imageOffset":3963940,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he6a06ffea7588b3f","symbolLocation":148,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477113,"frames":[{"imageOffset":9146,"symbol":"read","symbolLocation":10,"imageIndex":0},{"imageOffset":16341795,"symbol":"std::io::read_until::h976776084d9fabe9","symbolLocation":371,"imageIndex":2},{"imageOffset":16337261,"symbol":"std::io::append_to_string::h72576dcb4a6dce6f","symbolLocation":45,"imageIndex":2},{"imageOffset":16129483,"symbol":"_$LT$std..io..stdio..StdinLock$u20$as$u20$std..io..BufRead$GT$::read_line::h43603af26cd4f812","symbolLocation":27,"imageIndex":2},{"imageOffset":4007429,"symbol":"lsp_server::msg::Message::_read::hc0d2998210abc70b","symbolLocation":101,"imageIndex":2},{"imageOffset":3941527,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h05731bf51a9bbd29","symbolLocation":103,"imageIndex":2},{"imageOffset":3963380,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h40f66eac11c8fba8","symbolLocation":148,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477114,"name":"VfsLoader","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16311936,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9515675,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9514673,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9516218,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":3813548,"symbol":"vfs_notify::NotifyActor::run::h4f02e03c118455c0","symbolLocation":316,"imageIndex":2},{"imageOffset":3832253,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h78fb6416dc20482c","symbolLocation":61,"imageIndex":2},{"imageOffset":3800927,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0783495701fd8aa0","symbolLocation":207,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"triggered":true,"id":477115,"name":"Worker","threadState":{"r13":{"value":80},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":1},"cr2":{"value":140704705908744},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":22},"rbx":{"value":123145505640448},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703607373838,"matchesCrashFrame":1},"rbp":{"value":123145505621600},"rsp":{"value":123145505621560},"r12":{"value":10499},"rcx":{"value":123145505621560},"flavor":"x86_THREAD_STATE","rdi":{"value":10499}},"frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":5},{"imageOffset":62295,"symbol":"malloc_vreport","symbolLocation":551,"imageIndex":6},{"imageOffset":75051,"symbol":"malloc_report","symbolLocation":151,"imageIndex":6},{"imageOffset":11082351,"symbol":"core::ptr::drop_in_place$LT$chalk_ir..Binders$LT$chalk_solve..rust_ir..OpaqueTyDatumBound$LT$hir_ty..interner..Interner$GT$$GT$$GT$::haa4c93c5d7024ea1","symbolLocation":63,"imageIndex":2},{"imageOffset":10358674,"symbol":"alloc::sync::Arc$LT$T$GT$::drop_slow::h7676f3500110e80f","symbolLocation":18,"imageIndex":2},{"imageOffset":11594423,"symbol":"chalk_solve::clauses::program_clauses_that_could_match::h552f6c8170760d0c","symbolLocation":2759,"imageIndex":2},{"imageOffset":10248052,"symbol":"chalk_recursive::solve::SolveIteration::solve_iteration::hfb761f694aff9bcb","symbolLocation":1684,"imageIndex":2},{"imageOffset":10789890,"symbol":"chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_goal::h9dfc34972ce1ba93","symbolLocation":3122,"imageIndex":2},{"imageOffset":10793863,"symbol":"chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_root_goal::h81046cd9ccad88c8","symbolLocation":455,"imageIndex":2},{"imageOffset":11341835,"symbol":"hir_ty::traits::trait_solve_query::hc12451fa64638693","symbolLocation":2699,"imageIndex":2},{"imageOffset":11499969,"symbol":"salsa::runtime::Runtime::execute_query_implementation::h509993448613ce52","symbolLocation":449,"imageIndex":2},{"imageOffset":12032240,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::hf25dc3a99e54fa21","symbolLocation":2304,"imageIndex":2},{"imageOffset":12151546,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::h1d81bb4fa93b4f83","symbolLocation":1130,"imageIndex":2},{"imageOffset":10210907,"symbol":"_$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::h9680b0cb369360a1","symbolLocation":651,"imageIndex":2},{"imageOffset":10515779,"symbol":"salsa::QueryTable$LT$Q$GT$::get::h8221f96701e0ef85","symbolLocation":83,"imageIndex":2},{"imageOffset":11774921,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::__shim::ha4908857ec224f34","symbolLocation":105,"imageIndex":2},{"imageOffset":6056615,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::h48bbebd9c7d24aa4","symbolLocation":55,"imageIndex":2},{"imageOffset":11764065,"symbol":"hir_ty::db::trait_solve_wait::h0bd5176a9282cc9f","symbolLocation":209,"imageIndex":2},{"imageOffset":6056087,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve::h838b30557b49041a","symbolLocation":55,"imageIndex":2},{"imageOffset":11841165,"symbol":"hir_ty::infer::unify::InferenceTable::register_obligation_in_env::haf85558b8841f38a","symbolLocation":125,"imageIndex":2},{"imageOffset":11754767,"symbol":"hir_ty::infer::InferenceContext::resolve_associated_type_with_params::h2d9521c8d89d416b","symbolLocation":687,"imageIndex":2},{"imageOffset":11687831,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8","symbolLocation":8887,"imageIndex":2},{"imageOffset":11678253,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr::hcdabc53f799bc558","symbolLocation":29,"imageIndex":2},{"imageOffset":11684166,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8","symbolLocation":5222,"imageIndex":2},{"imageOffset":11678557,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f","symbolLocation":29,"imageIndex":2},{"imageOffset":11717278,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h6871797293adf3ca","symbolLocation":382,"imageIndex":2},{"imageOffset":11690749,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8","symbolLocation":11805,"imageIndex":2},{"imageOffset":11678557,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f","symbolLocation":29,"imageIndex":2},{"imageOffset":11567637,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::with_breakable_ctx::hefd20bb51f458867","symbolLocation":437,"imageIndex":2},{"imageOffset":11686277,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8","symbolLocation":7333,"imageIndex":2},{"imageOffset":11678557,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f","symbolLocation":29,"imageIndex":2},{"imageOffset":11717278,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h6871797293adf3ca","symbolLocation":382,"imageIndex":2},{"imageOffset":11690749,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::hb48053cb0b9742c8","symbolLocation":11805,"imageIndex":2},{"imageOffset":11678557,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::h45613af2bae74a5f","symbolLocation":29,"imageIndex":2},{"imageOffset":11742962,"symbol":"hir_ty::infer::infer_query::h010b19209f6de18b","symbolLocation":4402,"imageIndex":2},{"imageOffset":11501229,"symbol":"salsa::runtime::Runtime::execute_query_implementation::h55c4c9ae87a5a460","symbolLocation":397,"imageIndex":2},{"imageOffset":11881082,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h02aa9fcc22ec9927","symbolLocation":2458,"imageIndex":2},{"imageOffset":12198451,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::hcacd980029287713","symbolLocation":995,"imageIndex":2},{"imageOffset":10218012,"symbol":"_$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::hcd7af31fe7f5e259","symbolLocation":492,"imageIndex":2},{"imageOffset":11764355,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::__shim::haa00da28e9d5122d","symbolLocation":67,"imageIndex":2},{"imageOffset":6055989,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::h17af69883d1d3beb","symbolLocation":37,"imageIndex":2},{"imageOffset":11763640,"symbol":"hir_ty::db::infer_wait::h894ac44780efe39b","symbolLocation":216,"imageIndex":2},{"imageOffset":6057845,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer::h861c1fabbdaf46a1","symbolLocation":37,"imageIndex":2},{"imageOffset":9587262,"symbol":"hir::DefWithBody::diagnostics::h86a9ca69833776e9","symbolLocation":2222,"imageIndex":2},{"imageOffset":9559641,"symbol":"hir::ModuleDef::diagnostics::h2e865c895448d394","symbolLocation":1209,"imageIndex":2},{"imageOffset":9563134,"symbol":"hir::Module::diagnostics::h0224db5377011f5b","symbolLocation":942,"imageIndex":2},{"imageOffset":9563064,"symbol":"hir::Module::diagnostics::h0224db5377011f5b","symbolLocation":872,"imageIndex":2},{"imageOffset":6074588,"symbol":"ide_diagnostics::diagnostics::h654c3d2118b2ad37","symbolLocation":860,"imageIndex":2},{"imageOffset":5893431,"symbol":"std::panicking::try::h4abf26d66ad74357","symbolLocation":39,"imageIndex":2},{"imageOffset":5938202,"symbol":"ide::Analysis::diagnostics::h57f72b68876bf4ea","symbolLocation":58,"imageIndex":2},{"imageOffset":2912620,"symbol":"rust_analyzer::handlers::publish_diagnostics::h3d12a85c61c72f77","symbolLocation":588,"imageIndex":2},{"imageOffset":1700192,"symbol":"alloc::vec::in_place_collect::_$LT$impl$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$u20$for$u20$alloc..vec..Vec$LT$T$GT$$GT$::from_iter::h6f1f9f3a954d25da","symbolLocation":144,"imageIndex":2},{"imageOffset":1961389,"symbol":"_$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h277b30928539717d","symbolLocation":141,"imageIndex":2},{"imageOffset":3737533,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":381,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477116,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3737269,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477117,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3737269,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477118,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3737269,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477119,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3737269,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477120,"name":"Worker","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16311936,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":3731510,"symbol":"std::sync::mpmc::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h382232ec2d10ae5a","symbolLocation":726,"imageIndex":2},{"imageOffset":3729850,"symbol":"std::sync::mpmc::list::Channel$LT$T$GT$::recv::ha5a50a5159107fed","symbolLocation":698,"imageIndex":2},{"imageOffset":3737372,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":220,"imageIndex":2},{"imageOffset":3753800,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477257,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":477560,"name":"Flycheck","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16311936,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9515675,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9514673,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9516218,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":4175792,"symbol":"flycheck::FlycheckActor::run::h44e6215704e8d5ae","symbolLocation":400,"imageIndex":2},{"imageOffset":4244669,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::hb26202ae0cdd7d07","symbolLocation":61,"imageIndex":2},{"imageOffset":4048095,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h698fb4c34f4108f4","symbolLocation":207,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":477569,"name":"notify-rs fsevents loop","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":525165,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":7},{"imageOffset":518648,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":7},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":7},{"imageOffset":1072587,"symbol":"CFRunLoopRun","symbolLocation":40,"imageIndex":7},{"imageOffset":3864450,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h31d5e512b07465fb","symbolLocation":146,"imageIndex":2},{"imageOffset":3895286,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h594dfc35b1c48245","symbolLocation":166,"imageIndex":2},{"imageOffset":16149063,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703607341056,
    "size" : 229376,
    "uuid" : "e2477724-bccf-3a8c-9c75-c774c569f36e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703607570432,
    "size" : 49152,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4502958080,
    "size" : 20365312,
    "uuid" : "8d7c0d59-b061-3f10-b554-3d7c184a07d2",
    "path" : "\/usr\/local\/Cellar\/rust-analyzer\/2023-02-20\/bin\/rust-analyzer",
    "name" : "rust-analyzer"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4548100096,
    "size" : 442368,
    "uuid" : "006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703605784576,
    "size" : 290816,
    "uuid" : "1a04b380-76e4-3e4b-b0fc-9837533d021d",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703606325248,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703605604352,
    "size" : 180224,
    "uuid" : "47042acd-a337-322a-8db7-ecd59cc60d92",
    "path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
    "name" : "libsystem_malloc.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703607885824,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "93c48919-68af-367e-9a67-db4159bc962c",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  }
],
  "sharedCache" : {
  "base" : 140703604314112,
  "size" : 19331678208,
  "uuid" : "b6d97ead-9d19-3228-adaa-cca8452c02d2"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=420.5M resident=0K(0%) swapped_out_or_unallocated=420.5M(100%)\nWritable regions: Total=910.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=910.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           833.9M      564 \nMALLOC guard page                   16K        4 \nObjC additional data                15K        1 \nSTACK GUARD                         52K       13 \nStack                             74.6M       14 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                         72K       18 \nVM_ALLOCATE (reserved)            1664K       13         reserved VM address space (unallocated)\n__DATA                            1885K      118 \n__DATA_CONST                      6708K       84 \n__DATA_DIRTY                       216K       51 \n__LINKEDIT                       320.9M        5 \n__TEXT                            99.6M      131 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                         48K        1 \nshared memory                      560K        5 \n===========                     =======  ======= \nTOTAL                              1.4G     1027 \nTOTAL, minus reserved VM space     1.4G     1027 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "Worker"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "620aec83b02b354d3afd2f50"
      },
      "deploymentId" : 240000143
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000251
    }
  ],
  "experiments" : [

  ]
}
}


@delamarch3 delamarch3 added the C-bug Category: bug label Feb 22, 2023
@lowr
Copy link
Contributor

lowr commented Feb 23, 2023

This seems pretty awful... Double free with Arc?

I don't think this is a bug of rust-analyzer per se, but we can try identifying the problem. Can you share a reproducing repository with us?

@delamarch3
Copy link
Author

@lowr Here's one. If I open any file that isn't lib.rs it crashes so I don't think it has anything to do with file size actually.

@lnicola
Copy link
Member

lnicola commented Feb 23, 2023

It seems to work fine for me:

Database loaded:     445.24ms, 131minstr (metadata 356.76ms, 7640kinstr; build 44.46ms, 2035kinstr)
  crates: 2, mods: 6, decls: 56, fns: 35
Item Collection:     4.78s, 49ginstr
  exprs: 1956, ??ty: 5 (0%), ?ty: 14 (0%), !ty: 0
Inference:           2.29s, 21ginstr
Total:               7.07s, 70ginstr

image

@delamarch3
Copy link
Author

I'm thinking of trying on a different computer to see what happens. Also, I've found this to be the smallest example where rust-analyzer would crash. It will load fine, then when I enter s. it crashes:

use tokio::net::TcpListener;

#[tokio::main]
async fn main() {
    let s = TcpListener::bind("0.0.0.0:8080");
}

I've opened some projects that don't use tokio and they work fine, so I wonder if that has anything to do with it.

@lnicola
Copy link
Member

lnicola commented Feb 23, 2023

Sounds like it might be related to proc macros?

@delamarch3
Copy link
Author

I tried without [tokio::main] and it still crashes so I guess that's not the smallest example lol. Weird thing is that I've stopped getting crash reports and now rust-analyzer analysis-stats . returns this:

Database loaded:     1.18s (metadata 834.72ms; build 224.48ms)
  crates: 1, mods: 1, decls: 1, fns: 1
Item Collection:     5.42s
  exprs: 4, ??ty: 0 (0%), ?ty: 0 (0%), !ty: 0
Inference:           2.09s
Total:               7.51s

I'm still getting the same logs as before in helix though.

@delamarch3 delamarch3 changed the title rust-analyzer crashes when loading >200 line files rust-analyzer crashes when loading tokio projects Feb 24, 2023
@delamarch3
Copy link
Author

I tried on a different Mac and it worked fine 😔. Could be something up with my Mac but I have no idea what it could be

@lnicola
Copy link
Member

lnicola commented Feb 24, 2023

Thanks for checking. Maybe you can try on a different account -- you'll have to install again rustup and the Rust toolchain.

@delamarch3
Copy link
Author

I will try that soon and let you know.

I think I've narrowed down the cause a bit further: a project that uses tokio will load fine if I open it on a file that doesn't import anything from tokio, but as soon as I switch to a file that does it crashes.

@visd0m
Copy link

visd0m commented Mar 9, 2023

I'm having the same issue on an intel Mac.

Here is the crash report, maybe it can help somehow
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               rust-analyzer [13840]
Path:                  /usr/local/Cellar/rust-analyzer/2023-03-06/bin/rust-analyzer
Identifier:            rust-analyzer
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        Emacs [13154]
Responsible:           Emacs [13154]
User ID:               501

Date/Time:             2023-03-09 11:28:05.3639 +0100
OS Version:            macOS 12.6.3 (21G419)
Report Version:        12
Bridge OS Version:     7.2 (20P3045)
Anonymous UUID:        3D03F1DD-0948-6ACD-45E3-64BD73FB3948


Time Awake Since Boot: 9800 seconds

System Integrity Protection: enabled

Crashed Thread:        6  Worker

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called


Thread 0:: main Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff800e410ea __ulock_wait + 10
1   libsystem_pthread.dylib       	    0x7ff800e7dc95 _pthread_join + 358
2   rust-analyzer                 	       0x10fa454b0 std::sys::unix::thread::Thread::join::h40594c04f82780fc + 16
3   rust-analyzer                 	       0x10eab9d5a std::thread::JoinHandle$LT$T$GT$::join::hb6ad48446c089eb1 + 42
4   rust-analyzer                 	       0x10ea9ad05 rust_analyzer::with_extra_thread::h073b3c495158b7ba + 229
5   rust-analyzer                 	       0x10ea95e4f rust_analyzer::main::hba8e25cbe1527aa8 + 4719
6   rust-analyzer                 	       0x10eaf8686 std::sys_common::backtrace::__rust_begin_short_backtrace::h2bcfcdd8a220da0c + 6
7   rust-analyzer                 	       0x10eaa6b7c std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h0cf0473a578218bb + 12
8   rust-analyzer                 	       0x10fa49c48 std::rt::lang_start_internal::h63aa6976ade06f50 + 40
9   rust-analyzer                 	       0x10ea985fc main + 44
10  dyld                          	       0x1203b452e start + 462

Thread 1:: LspServer
0   libsystem_kernel.dylib        	    0x7ff800e3f9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff800cc57ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff800cc5c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10fa6cf40 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10f3ad85b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10f3ad471 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10f3ada7a crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10edbc934 rust_analyzer::main_loop::_$LT$impl$u20$rust_analyzer..global_state..GlobalState$GT$::run::hcf1f1bed7a9cd009 + 2132
8   rust-analyzer                 	       0x10ecddfb4 rust_analyzer::main_loop::main_loop::h33f0940d17699630 + 484
9   rust-analyzer                 	       0x10ea97af4 rust_analyzer::run_server::h767ec505ef51fe99 + 4612
10  rust-analyzer                 	       0x10eaf8709 std::sys_common::backtrace::__rust_begin_short_backtrace::ha45984b34d693298 + 9
11  rust-analyzer                 	       0x10eaba796 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he566f0d00a7b7402 + 118
12  rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
13  libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
14  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 2:
0   libsystem_kernel.dylib        	    0x7ff800e3f9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff800cc57ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff800cc5c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10fa6cf40 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10ee503f0 crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 800
5   rust-analyzer                 	       0x10ee50dbc crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hb2334eaf29c5cd68 + 284
6   rust-analyzer                 	       0x10ee51b5a crossbeam_channel::flavors::zero::Channel$LT$T$GT$::recv::h314b607912df171c + 1114
7   rust-analyzer                 	       0x10ee55938 crossbeam_channel::channel::Receiver$LT$T$GT$::recv::h9193a814758ca302 + 120
8   rust-analyzer                 	       0x10ee4f90c std::sys_common::backtrace::__rust_begin_short_backtrace::h60725cd389e4e017 + 108
9   rust-analyzer                 	       0x10ee54dd4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he6a06ffea7588b3f + 148
10  rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 3:
0   libsystem_kernel.dylib        	    0x7ff800e403ba read + 10
1   rust-analyzer                 	       0x10fa743e3 std::io::read_until::h976776084d9fabe9 + 371
2   rust-analyzer                 	       0x10fa7322d std::io::append_to_string::h72576dcb4a6dce6f + 45
3   rust-analyzer                 	       0x10fa4068b _$LT$std..io..stdio..StdinLock$u20$as$u20$std..io..BufRead$GT$::read_line::h43603af26cd4f812 + 27
4   rust-analyzer                 	       0x10ee5f7b5 lsp_server::msg::Message::_read::hc0d2998210abc70b + 101
5   rust-analyzer                 	       0x10ee4f647 std::sys_common::backtrace::__rust_begin_short_backtrace::h05731bf51a9bbd29 + 103
6   rust-analyzer                 	       0x10ee54ba4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h40f66eac11c8fba8 + 148
7   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
8   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 4:: VfsLoader
0   libsystem_kernel.dylib        	    0x7ff800e3f9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff800cc57ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff800cc5c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10fa6cf40 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10f3ad85b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10f3ad471 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10f3ada7a crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10ee3025c vfs_notify::NotifyActor::run::h4f02e03c118455c0 + 316
8   rust-analyzer                 	       0x10ee34b6d std::sys_common::backtrace::__rust_begin_short_backtrace::h78fb6416dc20482c + 61
9   rust-analyzer                 	       0x10ee2d10f core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0783495701fd8aa0 + 207
10  rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 5:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e41bd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff800e79e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff800e77cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10ee1d865 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 6 Crashed:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e4600e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff800e7c1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff800dc7d24 abort + 123
3   libsystem_malloc.dylib        	    0x7ff800ca5357 malloc_vreport + 551
4   libsystem_malloc.dylib        	    0x7ff800ca852b malloc_report + 151
5   rust-analyzer                 	       0x10f626bcf core::ptr::drop_in_place$LT$chalk_ir..Binders$LT$chalk_solve..rust_ir..OpaqueTyDatumBound$LT$hir_ty..interner..Interner$GT$$GT$$GT$::h9046122f0b608961 + 63
6   rust-analyzer                 	       0x10f683372 alloc::sync::Arc$LT$T$GT$::drop_slow::hdf91b4f19f31ee77 + 18
7   rust-analyzer                 	       0x10f476167 chalk_solve::clauses::program_clauses_that_could_match::hcfed10bbd6f1d9ee + 2759
8   rust-analyzer                 	       0x10f59acc4 chalk_recursive::solve::SolveIteration::solve_iteration::h63a35544b0c3d24e + 1684
9   rust-analyzer                 	       0x10f692552 chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_goal::h1807c4ca2f3ffe5c + 3122
10  rust-analyzer                 	       0x10f6934d7 chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_root_goal::hb7e8bc59dc2bc40b + 455
11  rust-analyzer                 	       0x10f61c54b hir_ty::traits::trait_solve_query::h4828182688390614 + 2699
12  rust-analyzer                 	       0x10f660a31 salsa::runtime::Runtime::execute_query_implementation::h1951f98b3bbb4117 + 449
13  rust-analyzer                 	       0x10f5ad690 salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h0a06a766b2782ddc + 2304
14  rust-analyzer                 	       0x10f5fde4a salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::hfda79c0550354bbe + 1130
15  rust-analyzer                 	       0x10f4bb66b _$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::h388bc830d132016e + 651
16  rust-analyzer                 	       0x10f61e323 salsa::QueryTable$LT$Q$GT$::get::h16b5b956173b7bcf + 83
17  rust-analyzer                 	       0x10f658f79 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::__shim::h73dfbcabe022f81b + 105
18  rust-analyzer                 	       0x10f05fc67 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::h3436a10d48786a77 + 55
19  rust-analyzer                 	       0x10f6563c1 hir_ty::db::trait_solve_wait::h74a6d0137445c356 + 209
20  rust-analyzer                 	       0x10f05fa57 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve::h007b367db6ee6c5a + 55
21  rust-analyzer                 	       0x10f610d9d hir_ty::infer::unify::InferenceTable::register_obligation_in_env::h4dc4abeb42e1a1ca + 125
22  rust-analyzer                 	       0x10f67bdff hir_ty::infer::InferenceContext::resolve_associated_type_with_params::he9d8d50780604df9 + 687
23  rust-analyzer                 	       0x10f66a95a hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64 + 8058
24  rust-analyzer                 	       0x10f6683dd hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr::h952437701384ea63 + 29
25  rust-analyzer                 	       0x10f668cbe hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64 + 734
26  rust-analyzer                 	       0x10f66923f hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64 + 2143
27  rust-analyzer                 	       0x10f66850d hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::hb4966321ce3bb08d + 29
28  rust-analyzer                 	       0x10f4abbc4 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::with_breakable_ctx::h5ccdd429e5e87a4f + 1140
29  rust-analyzer                 	       0x10f671f74 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h1d2e91f59df38747 + 356
30  rust-analyzer                 	       0x10f669dba hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64 + 5082
31  rust-analyzer                 	       0x10f670504 hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_return::h78481708002d685d + 68
32  rust-analyzer                 	       0x10f678dcd hir_ty::infer::infer_query::h991fb0c1c98693bf + 4349
33  rust-analyzer                 	       0x10f663ded salsa::runtime::Runtime::execute_query_implementation::hb923abdf5157a2c5 + 397
34  rust-analyzer                 	       0x10f5bacea salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h545ce7017a795e27 + 2458
35  rust-analyzer                 	       0x10f5f50e3 salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::h6599a522651c6895 + 995
36  rust-analyzer                 	       0x10f4bfd3c _$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::hb1e9551897f50247 + 492
37  rust-analyzer                 	       0x10f6564e3 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::__shim::h99ac8225ff46be4c + 67
38  rust-analyzer                 	       0x10f05f9f5 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::h46278075b22ef112 + 37
39  rust-analyzer                 	       0x10f656218 hir_ty::db::infer_wait::h3d0b1351d60d27c8 + 216
40  rust-analyzer                 	       0x10f060135 _$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer::hf1fba0b0e9e8339f + 37
41  rust-analyzer                 	       0x10f3c8239 hir::DefWithBody::diagnostics::hc5c56759e8c07021 + 2265
42  rust-analyzer                 	       0x10f3c2aa5 hir::Module::diagnostics::h559ef92d2b81b14e + 3029
43  rust-analyzer                 	       0x10f0681cc ide_diagnostics::diagnostics::hc650e0844793c2de + 860
44  rust-analyzer                 	       0x10f021517 std::panicking::try::heb28b2461218bae2 + 39
45  rust-analyzer                 	       0x10f00b90a ide::Analysis::diagnostics::h612541f53599ea94 + 58
46  rust-analyzer                 	       0x10ede1b1c rust_analyzer::handlers::publish_diagnostics::hca89d2f63bd54d5e + 588
47  rust-analyzer                 	       0x10ed33f00 alloc::vec::in_place_collect::_$LT$impl$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$u20$for$u20$alloc..vec..Vec$LT$T$GT$$GT$::from_iter::hb7c8defc854cb4c3 + 144
48  rust-analyzer                 	       0x10ebc962d _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h5812abd976efbca9 + 141
49  rust-analyzer                 	       0x10ee1d96d std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 381
50  rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
51  rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
52  libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
53  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 7:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e3f9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff800cc57ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff800cc5c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10fa6cf40 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10ee1c1e6 std::sync::mpmc::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h382232ec2d10ae5a + 726
5   rust-analyzer                 	       0x10ee1bb6a std::sync::mpmc::list::Channel$LT$T$GT$::recv::ha5a50a5159107fed + 698
6   rust-analyzer                 	       0x10ee1d8cc std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 220
7   rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
8   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
9   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 8:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e41bd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff800e79e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff800e77cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10ee1d865 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 9:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e41bd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff800e79e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff800e77cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10ee1d865 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 10:: Worker
0   libsystem_kernel.dylib        	    0x7ff800e41bd2 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	    0x7ff800e79e7e _pthread_mutex_firstfit_lock_wait + 76
2   libsystem_pthread.dylib       	    0x7ff800e77cbb _pthread_mutex_firstfit_lock_slow + 205
3   rust-analyzer                 	       0x10ee1d865 std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46 + 117
4   rust-analyzer                 	       0x10ee218f8 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99 + 136
5   rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
6   libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15

Thread 11:: Flycheck
0   libsystem_kernel.dylib        	    0x7ff800e3f9b6 semaphore_wait_trap + 10
1   libdispatch.dylib             	    0x7ff800cc57ce _dispatch_sema4_wait + 16
2   libdispatch.dylib             	    0x7ff800cc5c9d _dispatch_semaphore_wait_slow + 98
3   rust-analyzer                 	       0x10fa6cf40 std::thread::park::h8596ea2a7a6bd2d9 + 48
4   rust-analyzer                 	       0x10f3ad85b crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f + 811
5   rust-analyzer                 	       0x10f3ad471 crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551 + 833
6   rust-analyzer                 	       0x10f3ada7a crossbeam_channel::select::run_select::h0e6cabbbdec70909 + 474
7   rust-analyzer                 	       0x10ee88985 flycheck::FlycheckActor::run::h0b2edbbfb6d4d4cd + 437
8   rust-analyzer                 	       0x10ee99eed std::sys_common::backtrace::__rust_begin_short_backtrace::hfb3b986e36d97d54 + 61
9   rust-analyzer                 	       0x10ee6968f core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h3ced690cb2406b98 + 207
10  rust-analyzer                 	       0x10fa45307 std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092 + 39
11  libsystem_pthread.dylib       	    0x7ff800e7c4e1 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff800e77f6b thread_start + 15


Thread 6 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000070000be0d000  rcx: 0x000070000be08c18  rdx: 0x0000000000000000
  rdi: 0x0000000000001503  rsi: 0x0000000000000006  rbp: 0x000070000be08c40  rsp: 0x000070000be08c18
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000001503  r13: 0x0000000000000050  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff800e4600e  rfl: 0x0000000000000246  cr2: 0x00007ff8425eb008
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133


Binary Images:
    0x7ff800e3e000 -     0x7ff800e75fff libsystem_kernel.dylib (*) <e2477724-bccf-3a8c-9c75-c774c569f36e> /usr/lib/system/libsystem_kernel.dylib
    0x7ff800e76000 -     0x7ff800e81fff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
       0x10ea89000 -        0x10fe54fff rust-analyzer (*) <4f282bac-5e6e-3d56-96e3-d852620ad55f> /usr/local/Cellar/rust-analyzer/2023-03-06/bin/rust-analyzer
       0x1203af000 -        0x12041afff dyld (*) <006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6> /usr/lib/dyld
    0x7ff800cc2000 -     0x7ff800d08fff libdispatch.dylib (*) <1a04b380-76e4-3e4b-b0fc-9837533d021d> /usr/lib/system/libdispatch.dylib
    0x7ff800d46000 -     0x7ff800dcefff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
    0x7ff800c96000 -     0x7ff800cc1fff libsystem_malloc.dylib (*) <47042acd-a337-322a-8db7-ecd59cc60d92> /usr/lib/system/libsystem_malloc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=420.8M resident=0K(0%) swapped_out_or_unallocated=420.8M(100%)
Writable regions: Total=3.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                             2.6G     1809 
MALLOC guard page                   16K        4 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
ObjC additional data                15K        1 
STACK GUARD                         44K       11 
Stack                             73.6M       12 
Stack Guard                       54.4M        1 
VM_ALLOCATE                         64K       16 
VM_ALLOCATE (reserved)            1536K       12         reserved VM address space (unallocated)
__DATA                            1884K      118 
__DATA_CONST                      6726K       83 
__DATA_DIRTY                       209K       50 
__LINKEDIT                       321.0M        5 
__TEXT                            99.7M      130 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
shared memory                        8K        1 
===========                     =======  ======= 
TOTAL                              3.6G     2257 
TOTAL, minus reserved VM space     3.2G     2257 



-----------
Full Report
-----------

{"app_name":"rust-analyzer","timestamp":"2023-03-09 11:28:05.00 +0100","app_version":"","slice_uuid":"4f282bac-5e6e-3d56-96e3-d852620ad55f","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.6.3 (21G419)","incident_id":"FA1C41FC-C651-42EC-8ED3-B693B7BA2FFC","name":"rust-analyzer"}
{
  "uptime" : 9800,
  "procLaunch" : "2023-03-09 11:27:27.3219 +0100",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro15,1",
  "procStartAbsTime" : 9788183924201,
  "coalitionID" : 776,
  "osVersion" : {
    "train" : "macOS 12.6.3",
    "build" : "21G419",
    "releaseType" : "User"
  },
  "captureTime" : "2023-03-09 11:28:05.3639 +0100",
  "incident" : "FA1C41FC-C651-42EC-8ED3-B693B7BA2FFC",
  "bug_type" : "309",
  "pid" : 13840,
  "procExitAbsTime" : 9826224528419,
  "cpuType" : "X86-64",
  "procName" : "rust-analyzer",
  "procPath" : "\/usr\/local\/Cellar\/rust-analyzer\/2023-03-06\/bin\/rust-analyzer",
  "parentProc" : "Emacs",
  "parentPid" : 13154,
  "coalitionName" : "org.gnu.Emacs",
  "crashReporterKey" : "3D03F1DD-0948-6ACD-45E3-64BD73FB3948",
  "responsiblePid" : 13154,
  "responsibleProc" : "Emacs",
  "bridgeVersion" : {"build":"20P3045","train":"7.2"},
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 6,
  "threads" : [{"id":151425,"name":"main","queue":"com.apple.main-thread","frames":[{"imageOffset":12522,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":0},{"imageOffset":31893,"symbol":"_pthread_join","symbolLocation":358,"imageIndex":1},{"imageOffset":16499888,"symbol":"std::sys::unix::thread::Thread::join::h40594c04f82780fc","symbolLocation":16,"imageIndex":2},{"imageOffset":200026,"symbol":"std::thread::JoinHandle$LT$T$GT$::join::hb6ad48446c089eb1","symbolLocation":42,"imageIndex":2},{"imageOffset":72965,"symbol":"rust_analyzer::with_extra_thread::h073b3c495158b7ba","symbolLocation":229,"imageIndex":2},{"imageOffset":52815,"symbol":"rust_analyzer::main::hba8e25cbe1527aa8","symbolLocation":4719,"imageIndex":2},{"imageOffset":456326,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h2bcfcdd8a220da0c","symbolLocation":6,"imageIndex":2},{"imageOffset":121724,"symbol":"std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h0cf0473a578218bb","symbolLocation":12,"imageIndex":2},{"imageOffset":16518216,"symbol":"std::rt::lang_start_internal::h63aa6976ade06f50","symbolLocation":40,"imageIndex":2},{"imageOffset":62972,"symbol":"main","symbolLocation":44,"imageIndex":2},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":3}]},{"id":151426,"name":"LspServer","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16662336,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9586779,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9585777,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9587322,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":3356980,"symbol":"rust_analyzer::main_loop::_$LT$impl$u20$rust_analyzer..global_state..GlobalState$GT$::run::hcf1f1bed7a9cd009","symbolLocation":2132,"imageIndex":2},{"imageOffset":2445236,"symbol":"rust_analyzer::main_loop::main_loop::h33f0940d17699630","symbolLocation":484,"imageIndex":2},{"imageOffset":60148,"symbol":"rust_analyzer::run_server::h767ec505ef51fe99","symbolLocation":4612,"imageIndex":2},{"imageOffset":456457,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::ha45984b34d693298","symbolLocation":9,"imageIndex":2},{"imageOffset":202646,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he566f0d00a7b7402","symbolLocation":118,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151427,"frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16662336,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":3961840,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":800,"imageIndex":2},{"imageOffset":3964348,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::hb2334eaf29c5cd68","symbolLocation":284,"imageIndex":2},{"imageOffset":3967834,"symbol":"crossbeam_channel::flavors::zero::Channel$LT$T$GT$::recv::h314b607912df171c","symbolLocation":1114,"imageIndex":2},{"imageOffset":3983672,"symbol":"crossbeam_channel::channel::Receiver$LT$T$GT$::recv::h9193a814758ca302","symbolLocation":120,"imageIndex":2},{"imageOffset":3959052,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h60725cd389e4e017","symbolLocation":108,"imageIndex":2},{"imageOffset":3980756,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he6a06ffea7588b3f","symbolLocation":148,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151428,"frames":[{"imageOffset":9146,"symbol":"read","symbolLocation":10,"imageIndex":0},{"imageOffset":16692195,"symbol":"std::io::read_until::h976776084d9fabe9","symbolLocation":371,"imageIndex":2},{"imageOffset":16687661,"symbol":"std::io::append_to_string::h72576dcb4a6dce6f","symbolLocation":45,"imageIndex":2},{"imageOffset":16479883,"symbol":"_$LT$std..io..stdio..StdinLock$u20$as$u20$std..io..BufRead$GT$::read_line::h43603af26cd4f812","symbolLocation":27,"imageIndex":2},{"imageOffset":4024245,"symbol":"lsp_server::msg::Message::_read::hc0d2998210abc70b","symbolLocation":101,"imageIndex":2},{"imageOffset":3958343,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h05731bf51a9bbd29","symbolLocation":103,"imageIndex":2},{"imageOffset":3980196,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h40f66eac11c8fba8","symbolLocation":148,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151429,"name":"VfsLoader","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16662336,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9586779,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9585777,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9587322,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":3830364,"symbol":"vfs_notify::NotifyActor::run::h4f02e03c118455c0","symbolLocation":316,"imageIndex":2},{"imageOffset":3849069,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h78fb6416dc20482c","symbolLocation":61,"imageIndex":2},{"imageOffset":3817743,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0783495701fd8aa0","symbolLocation":207,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151430,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3754085,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"triggered":true,"id":151431,"name":"Worker","threadState":{"r13":{"value":80},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":1},"cr2":{"value":140704242118664},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":22},"rbx":{"value":123145501593600},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703143583758,"matchesCrashFrame":1},"rbp":{"value":123145501576256},"rsp":{"value":123145501576216},"r12":{"value":5379},"rcx":{"value":123145501576216},"flavor":"x86_THREAD_STATE","rdi":{"value":5379}},"frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":5},{"imageOffset":62295,"symbol":"malloc_vreport","symbolLocation":551,"imageIndex":6},{"imageOffset":75051,"symbol":"malloc_report","symbolLocation":151,"imageIndex":6},{"imageOffset":12180431,"symbol":"core::ptr::drop_in_place$LT$chalk_ir..Binders$LT$chalk_solve..rust_ir..OpaqueTyDatumBound$LT$hir_ty..interner..Interner$GT$$GT$$GT$::h9046122f0b608961","symbolLocation":63,"imageIndex":2},{"imageOffset":12559218,"symbol":"alloc::sync::Arc$LT$T$GT$::drop_slow::hdf91b4f19f31ee77","symbolLocation":18,"imageIndex":2},{"imageOffset":10408295,"symbol":"chalk_solve::clauses::program_clauses_that_could_match::hcfed10bbd6f1d9ee","symbolLocation":2759,"imageIndex":2},{"imageOffset":11607236,"symbol":"chalk_recursive::solve::SolveIteration::solve_iteration::h63a35544b0c3d24e","symbolLocation":1684,"imageIndex":2},{"imageOffset":12621138,"symbol":"chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_goal::h1807c4ca2f3ffe5c","symbolLocation":3122,"imageIndex":2},{"imageOffset":12625111,"symbol":"chalk_recursive::fixed_point::RecursiveContext$LT$K$C$V$GT$::solve_root_goal::hb7e8bc59dc2bc40b","symbolLocation":455,"imageIndex":2},{"imageOffset":12137803,"symbol":"hir_ty::traits::trait_solve_query::h4828182688390614","symbolLocation":2699,"imageIndex":2},{"imageOffset":12417585,"symbol":"salsa::runtime::Runtime::execute_query_implementation::h1951f98b3bbb4117","symbolLocation":449,"imageIndex":2},{"imageOffset":11683472,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h0a06a766b2782ddc","symbolLocation":2304,"imageIndex":2},{"imageOffset":12013130,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::hfda79c0550354bbe","symbolLocation":1130,"imageIndex":2},{"imageOffset":10692203,"symbol":"_$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::h388bc830d132016e","symbolLocation":651,"imageIndex":2},{"imageOffset":12145443,"symbol":"salsa::QueryTable$LT$Q$GT$::get::h16b5b956173b7bcf","symbolLocation":83,"imageIndex":2},{"imageOffset":12386169,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::__shim::h73dfbcabe022f81b","symbolLocation":105,"imageIndex":2},{"imageOffset":6122599,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve_query::h3436a10d48786a77","symbolLocation":55,"imageIndex":2},{"imageOffset":12374977,"symbol":"hir_ty::db::trait_solve_wait::h74a6d0137445c356","symbolLocation":209,"imageIndex":2},{"imageOffset":6122071,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::trait_solve::h007b367db6ee6c5a","symbolLocation":55,"imageIndex":2},{"imageOffset":12090781,"symbol":"hir_ty::infer::unify::InferenceTable::register_obligation_in_env::h4dc4abeb42e1a1ca","symbolLocation":125,"imageIndex":2},{"imageOffset":12529151,"symbol":"hir_ty::infer::InferenceContext::resolve_associated_type_with_params::he9d8d50780604df9","symbolLocation":687,"imageIndex":2},{"imageOffset":12458330,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64","symbolLocation":8058,"imageIndex":2},{"imageOffset":12448733,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr::h952437701384ea63","symbolLocation":29,"imageIndex":2},{"imageOffset":12451006,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64","symbolLocation":734,"imageIndex":2},{"imageOffset":12452415,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64","symbolLocation":2143,"imageIndex":2},{"imageOffset":12449037,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_coerce::hb4966321ce3bb08d","symbolLocation":29,"imageIndex":2},{"imageOffset":10628036,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::with_breakable_ctx::h5ccdd429e5e87a4f","symbolLocation":1140,"imageIndex":2},{"imageOffset":12488564,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_block::h1d2e91f59df38747","symbolLocation":356,"imageIndex":2},{"imageOffset":12455354,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_expr_inner::h0154a15f2ed13c64","symbolLocation":5082,"imageIndex":2},{"imageOffset":12481796,"symbol":"hir_ty::infer::expr::_$LT$impl$u20$hir_ty..infer..InferenceContext$GT$::infer_return::h78481708002d685d","symbolLocation":68,"imageIndex":2},{"imageOffset":12516813,"symbol":"hir_ty::infer::infer_query::h991fb0c1c98693bf","symbolLocation":4349,"imageIndex":2},{"imageOffset":12430829,"symbol":"salsa::runtime::Runtime::execute_query_implementation::hb923abdf5157a2c5","symbolLocation":397,"imageIndex":2},{"imageOffset":11738346,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read_upgrade::h545ce7017a795e27","symbolLocation":2458,"imageIndex":2},{"imageOffset":11976931,"symbol":"salsa::derived::slot::Slot$LT$Q$C$MP$GT$::read::h6599a522651c6895","symbolLocation":995,"imageIndex":2},{"imageOffset":10710332,"symbol":"_$LT$salsa..derived..DerivedStorage$LT$Q$C$MP$GT$$u20$as$u20$salsa..plumbing..QueryStorageOps$LT$Q$GT$$GT$::try_fetch::hb1e9551897f50247","symbolLocation":492,"imageIndex":2},{"imageOffset":12375267,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::__shim::h99ac8225ff46be4c","symbolLocation":67,"imageIndex":2},{"imageOffset":6121973,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer_query::h46278075b22ef112","symbolLocation":37,"imageIndex":2},{"imageOffset":12374552,"symbol":"hir_ty::db::infer_wait::h3d0b1351d60d27c8","symbolLocation":216,"imageIndex":2},{"imageOffset":6123829,"symbol":"_$LT$DB$u20$as$u20$hir_ty..db..HirDatabase$GT$::infer::hf1fba0b0e9e8339f","symbolLocation":37,"imageIndex":2},{"imageOffset":9695801,"symbol":"hir::DefWithBody::diagnostics::hc5c56759e8c07021","symbolLocation":2265,"imageIndex":2},{"imageOffset":9673381,"symbol":"hir::Module::diagnostics::h559ef92d2b81b14e","symbolLocation":3029,"imageIndex":2},{"imageOffset":6156748,"symbol":"ide_diagnostics::diagnostics::hc650e0844793c2de","symbolLocation":860,"imageIndex":2},{"imageOffset":5866775,"symbol":"std::panicking::try::heb28b2461218bae2","symbolLocation":39,"imageIndex":2},{"imageOffset":5777674,"symbol":"ide::Analysis::diagnostics::h612541f53599ea94","symbolLocation":58,"imageIndex":2},{"imageOffset":3509020,"symbol":"rust_analyzer::handlers::publish_diagnostics::hca89d2f63bd54d5e","symbolLocation":588,"imageIndex":2},{"imageOffset":2797312,"symbol":"alloc::vec::in_place_collect::_$LT$impl$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$u20$for$u20$alloc..vec..Vec$LT$T$GT$$GT$::from_iter::hb7c8defc854cb4c3","symbolLocation":144,"imageIndex":2},{"imageOffset":1312301,"symbol":"_$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h5812abd976efbca9","symbolLocation":141,"imageIndex":2},{"imageOffset":3754349,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":381,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151432,"name":"Worker","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16662336,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":3748326,"symbol":"std::sync::mpmc::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h382232ec2d10ae5a","symbolLocation":726,"imageIndex":2},{"imageOffset":3746666,"symbol":"std::sync::mpmc::list::Channel$LT$T$GT$::recv::ha5a50a5159107fed","symbolLocation":698,"imageIndex":2},{"imageOffset":3754188,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":220,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151433,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3754085,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151434,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3754085,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151435,"name":"Worker","frames":[{"imageOffset":15314,"symbol":"__psynch_mutexwait","symbolLocation":10,"imageIndex":0},{"imageOffset":15998,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":76,"imageIndex":1},{"imageOffset":7355,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":205,"imageIndex":1},{"imageOffset":3754085,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::h33a8c6a0d38f7b46","symbolLocation":117,"imageIndex":2},{"imageOffset":3770616,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdba29cbe301bff99","symbolLocation":136,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":151781,"name":"Flycheck","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":14286,"symbol":"_dispatch_sema4_wait","symbolLocation":16,"imageIndex":4},{"imageOffset":15517,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":98,"imageIndex":4},{"imageOffset":16662336,"symbol":"std::thread::park::h8596ea2a7a6bd2d9","symbolLocation":48,"imageIndex":2},{"imageOffset":9586779,"symbol":"crossbeam_channel::context::Context::wait_until::h1bfd3775fc02423f","symbolLocation":811,"imageIndex":2},{"imageOffset":9585777,"symbol":"crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h42c0a6ce894c0551","symbolLocation":833,"imageIndex":2},{"imageOffset":9587322,"symbol":"crossbeam_channel::select::run_select::h0e6cabbbdec70909","symbolLocation":474,"imageIndex":2},{"imageOffset":4192645,"symbol":"flycheck::FlycheckActor::run::h0b2edbbfb6d4d4cd","symbolLocation":437,"imageIndex":2},{"imageOffset":4263661,"symbol":"std::sys_common::backtrace::__rust_begin_short_backtrace::hfb3b986e36d97d54","symbolLocation":61,"imageIndex":2},{"imageOffset":4064911,"symbol":"core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h3ced690cb2406b98","symbolLocation":207,"imageIndex":2},{"imageOffset":16499463,"symbol":"std::sys::unix::thread::Thread::new::thread_start::h3d721aae9bf3b092","symbolLocation":39,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703143550976,
    "size" : 229376,
    "uuid" : "e2477724-bccf-3a8c-9c75-c774c569f36e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703143780352,
    "size" : 49152,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4540895232,
    "size" : 20758528,
    "uuid" : "4f282bac-5e6e-3d56-96e3-d852620ad55f",
    "path" : "\/usr\/local\/Cellar\/rust-analyzer\/2023-03-06\/bin\/rust-analyzer",
    "name" : "rust-analyzer"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4835700736,
    "size" : 442368,
    "uuid" : "006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703141994496,
    "size" : 290816,
    "uuid" : "1a04b380-76e4-3e4b-b0fc-9837533d021d",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703142535168,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703141814272,
    "size" : 180224,
    "uuid" : "47042acd-a337-322a-8db7-ecd59cc60d92",
    "path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
    "name" : "libsystem_malloc.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703140524032,
  "size" : 19331678208,
  "uuid" : "b6d97ead-9d19-3228-adaa-cca8452c02d2"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=420.8M resident=0K(0%) swapped_out_or_unallocated=420.8M(100%)\nWritable regions: Total=3.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                    8K        1 \nMALLOC                             2.6G     1809 \nMALLOC guard page                   16K        4 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nObjC additional data                15K        1 \nSTACK GUARD                         44K       11 \nStack                             73.6M       12 \nStack Guard                       54.4M        1 \nVM_ALLOCATE                         64K       16 \nVM_ALLOCATE (reserved)            1536K       12         reserved VM address space (unallocated)\n__DATA                            1884K      118 \n__DATA_CONST                      6726K       83 \n__DATA_DIRTY                       209K       50 \n__LINKEDIT                       321.0M        5 \n__TEXT                            99.7M      130 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nshared memory                        8K        1 \n===========                     =======  ======= \nTOTAL                              3.6G     2257 \nTOTAL, minus reserved VM space     3.2G     2257 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "Worker"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112e14f37f5d11121dcd519",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
      },
      "deploymentId" : 240000231
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000251
    }
  ],
  "experiments" : [

  ]
}
}

@delamarch3
Copy link
Author

For completeness mine is also Intel. I got it to work on an M1 with the same OS version (macOS 12.6.3)

@lnicola lnicola added the Broken Window Bugs / technical debt to be addressed immediately label Mar 9, 2023
@lnicola
Copy link
Member

lnicola commented Mar 9, 2023

FWIW, rust-analyzer is Valgrind and ASAN-clean on my Linux system when running analysis-stats on https://github.com/7junky/chatsapp.

@bjorn3
Copy link
Member

bjorn3 commented Mar 9, 2023

Seems similar to rust-lang/rust#92173. Rustc itself sometimes crashes unless Jemalloc is used. Maybe a bug in the macOS memory allocator?

@visd0m
Copy link

visd0m commented Mar 10, 2023

I'm having the same issue on an intel Mac.

Here is the crash report, maybe it can help somehow

To add other details, I downgraded to version 2023-02-27 and it works without problems, I experience the crash only with version 2023-03-06.

@lnicola
Copy link
Member

lnicola commented Mar 10, 2023

But @xt4l reported this on Feb 22...

@visd0m
Copy link

visd0m commented Mar 10, 2023

But @xt4l reported this on Feb 22...

I know 😢 , that's the reason why I added the details on the version

@lnicola
Copy link
Member

lnicola commented Mar 13, 2023

@visd0m if you can reproduce this reliably, especially with analysis-stats, can you try to bisect it?

@marcbowes
Copy link

I'm having the same issue on an intel Mac.
Here is the crash report, maybe it can help somehow

To add other details, I downgraded to version 2023-02-27 and it works without problems, I experience the crash only with version 2023-03-06.

I tried downgrading and still have the same problem on that version.

@marcbowes
Copy link

I started walking back one week at a time with no luck. I jumped back to 2022-06-06 and that worked.
rustc 1.68.0, macOS 12.6.3 x86_64

@HKalbasi
Copy link
Member

@marcbowes Can you try building from source and using jemalloc?

@lnicola
Copy link
Member

lnicola commented Mar 14, 2023

Or try one from October.

@Isaac-Leonard
Copy link

I get this same issue with the chumsky package.
There's more details here: #14257
You can try a minimal sample repo of my error at: https://github.com/Isaac-Leonard/ra-crash-example
I'm on a m1 Mac running macOS Monterey 12.6

@Isaac-Leonard
Copy link

Does anyone have a work around for now?
Also it may be important but I've tried both the home-brew version and rustup versions with the same result

@Veykril
Copy link
Member

Veykril commented Mar 17, 2023

You can try building with jemalloc

jemalloc = ["jemallocator", "profile/jemalloc"]

@Isaac-Leonard
Copy link

Updating my system seems to have fixed it though I can't be sure if that was it

@rohitbishnoi
Copy link

I was facing the same issue on rust-analyzer installed using homebrew.

After doing the following steps the issue got fixed.

  • uninstalled the homebrew rust-analyzer. brew remove rust-analyzer
  • Updated the rustup toolchain from rustc 1.66.0-nightly to rustc 1.70.0-nightly (5e1d3299a 2023-03-31)
  • started using the rust-analyzer installed by the rustup. ln -s ~/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/rust-analyzer ~/.local/bin/rust-analyzer

@Veykril Veykril added S-unactionable Issue requires feedback, design decisions or is blocked on other work I-crash labels Apr 25, 2023
@Veykril
Copy link
Member

Veykril commented Jan 12, 2024

Closing this as it is most likely a rustc bug

@Veykril Veykril closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug I-crash S-unactionable Issue requires feedback, design decisions or is blocked on other work
Projects
None yet
Development

No branches or pull requests

10 participants