Skip to content
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

regression: rustc crashes during TLS access when compiling compiler_builtins v0.1.27 on windows-msvc #71936

Closed
petrochenkov opened this issue May 6, 2020 · 1 comment
Labels
C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@petrochenkov
Copy link
Contributor

petrochenkov commented May 6, 2020

This is a regression from the last couple of days and it prevents rustc from bootstrapping on windows-msvc.

The commit tried: f8d394e.
Command: ./x.py test --bless --stage 1 src/test/run-make.

Exception:

Unhandled exception thrown: read access violation.
***(_tls_end)** was 0xFFFFFFFFFFFFFF3F.

Backtrace:

[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::intrinsics::copy_nonoverlapping() Line 2058
	at C:\msys64\home\we\rust\src\libcore\intrinsics.rs(2058)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::ptr::swap_nonoverlapping_bytes() Line 468
	at C:\msys64\home\we\rust\src\libcore\ptr\mod.rs(468)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::ptr::swap_nonoverlapping() Line 424
	at C:\msys64\home\we\rust\src\libcore\ptr\mod.rs(424)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::ptr::swap_nonoverlapping_one() Line 436
	at C:\msys64\home\we\rust\src\libcore\ptr\mod.rs(436)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::mem::swap() Line 680
	at C:\msys64\home\we\rust\src\libcore\mem\mod.rs(680)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::mem::replace() Line 805
	at C:\msys64\home\we\rust\src\libcore\mem\mod.rs(805)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::local::lazy::LazyKeyInner::initialize() Line 304
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(304)
rustc_driver-22379f3767b935ec.dll!std::thread::local::fast::Key::try_initialize<core::cell::RefCell<std::collections::hash::map::HashMap<(usize, usize), rustc_data_structures::fingerprint::Fingerprint, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>,fn() -> core::cell::RefCell<std::collections::hash::map::HashMap<(usize, usize), rustc_data_structures::fingerprint::Fingerprint, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>>() Line 425
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(425)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::local::fast::Key::get() Line 410
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(410)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ich::impls_ty::{{impl}}::hash_stable::CACHE::__getit() Line 175
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(175)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::local::LocalKey::try_with() Line 262
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(262)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::local::LocalKey::with() Line 239
	at C:\msys64\home\we\rust\src\libstd\thread\local.rs(239)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ich::impls_ty::{{impl}}::hash_stable<rustc_middle::ty::subst::GenericArg>() Line 39
	at C:\msys64\home\we\rust\src\librustc_middle\ich\impls_ty.rs(39)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_TyKind::{{impl}}::hash_stable() Line 90
	at C:\msys64\home\we\rust\src\librustc_middle\ty\sty.rs(90)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::legacy::get_symbol_hash::{{closure}}::{{closure}}::{{closure}}() Line 106
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\legacy.rs(106)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ich::hcx::StableHashingContext::with_node_id_hashing_mode() Line 120
	at C:\msys64\home\we\rust\src\librustc_middle\ich\hcx.rs(120)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::legacy::get_symbol_hash::{{closure}}::{{closure}}() Line 105
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\legacy.rs(105)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ich::hcx::StableHashingContext::while_hashing_spans() Line 108
	at C:\msys64\home\we\rust\src\librustc_middle\ich\hcx.rs(108)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::legacy::get_symbol_hash::{{closure}}() Line 104
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\legacy.rs(104)
rustc_driver-22379f3767b935ec.dll!rustc_middle::util::common::record_time<(),closure-0>() Line 36
	at C:\msys64\home\we\rust\src\librustc_middle\util\common.rs(36)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::legacy::get_symbol_hash() Line 94
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\legacy.rs(94)
rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::legacy::mangle() Line 56
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\legacy.rs(56)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::compute_symbol_name() Line 263
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\lib.rs(263)
rustc_driver-22379f3767b935ec.dll!rustc_symbol_mangling::symbol_name_provider() Line 137
	at C:\msys64\home\we\rust\src\librustc_symbol_mangling\lib.rs(137)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::{{impl}}::compute() Line 361
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(361)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind,rustc_middle::ty::context::TyCtxt,rustc_middle::ty::instance::Instance,rustc_middle::ty::SymbolName,fn(mut rustc_middle::ich::hcx::StableHashingContext*, rustc_middle::ty::SymbolName*) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>>() Line 303
	at C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs(303)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_execute_query() Line 415
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(415)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl::{{closure}}() Line 635
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(635)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::caches::{{impl}}::lookup() Line 111
	at C:\msys64\home\we\rust\src\librustc_query_system\query\caches.rs(111)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_get_cached() Line 369
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(369)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl<rustc_middle::ty::context::TyCtxt,rustc_query_system::query::caches::DefaultCache<rustc_middle::ty::instance::Instance, rustc_middle::ty::SymbolName>>() Line 631
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(631)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query() Line 731
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(731)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::TyCtxtAt::symbol_name() Line 470
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(470)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::TyCtxt::symbol_name() Line 431
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(431)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_codegen_ssa::back::symbol_export::reachable_non_generics_provider::{{closure}}() Line 108
	at C:\msys64\home\we\rust\src\librustc_codegen_ssa\back\symbol_export.rs(108)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::adapters::map_fold::{{closure}}() Line 785
	at C:\msys64\home\we\rust\src\libcore\iter\adapters\mod.rs(785)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::adapters::filter_map_fold::{{closure}}() Line 1059
	at C:\msys64\home\we\rust\src\libcore\iter\adapters\mod.rs(1059)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::traits::iterator::Iterator::fold::ok::{{closure}}() Line 2002
	at C:\msys64\home\we\rust\src\libcore\iter\traits\iterator.rs(2002)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::traits::iterator::Iterator::try_fold() Line 1878
	at C:\msys64\home\we\rust\src\libcore\iter\traits\iterator.rs(1878)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::traits::iterator::Iterator::fold() Line 2005
	at C:\msys64\home\we\rust\src\libcore\iter\traits\iterator.rs(2005)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::adapters::{{impl}}::fold() Line 825
	at C:\msys64\home\we\rust\src\libcore\iter\adapters\mod.rs(825)
rustc_driver-22379f3767b935ec.dll!core::iter::adapters::{{impl}}::fold<(rustc_span::def_id::DefId, rustc_middle::middle::exported_symbols::SymbolExportLevel),core::iter::adapters::FilterMap<std::collections::hash::set::Iter<rustc_hir::hir_id::HirId>, closure-0>,closure-1,(),closure-0>() Line 825
	at C:\msys64\home\we\rust\src\libcore\iter\adapters\mod.rs(825)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::traits::iterator::Iterator::for_each() Line 658
	at C:\msys64\home\we\rust\src\libcore\iter\traits\iterator.rs(658)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!hashbrown::map::{{impl}}::extend() Line 2578
	at C:\Users\we\.cargo\registry\src\github.com-1ecc6299db9ec823\hashbrown-0.6.2\src\map.rs(2578)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::collections::hash::map::{{impl}}::extend() Line 2417
	at C:\msys64\home\we\rust\src\libstd\collections\hash\map.rs(2417)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::collections::hash::map::{{impl}}::from_iter() Line 2402
	at C:\msys64\home\we\rust\src\libstd\collections\hash\map.rs(2402)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!core::iter::traits::iterator::Iterator::collect() Line 1660
	at C:\msys64\home\we\rust\src\libcore\iter\traits\iterator.rs(1660)
rustc_driver-22379f3767b935ec.dll!rustc_codegen_ssa::back::symbol_export::reachable_non_generics_provider() Line 61
	at C:\msys64\home\we\rust\src\librustc_codegen_ssa\back\symbol_export.rs(61)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::{{impl}}::compute() Line 361
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(361)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind,rustc_middle::ty::context::TyCtxt,rustc_span::def_id::CrateNum,std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_middle::middle::exported_symbols::SymbolExportLevel, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>,fn(mut rustc_middle::ich::hcx::StableHashingContext*, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_middle::middle::exported_symbols::SymbolExportLevel, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>*) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>>() Line 303
	at C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs(303)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_execute_query() Line 415
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(415)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl::{{closure}}() Line 635
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(635)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::caches::{{impl}}::lookup() Line 114
	at C:\msys64\home\we\rust\src\librustc_query_system\query\caches.rs(114)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_get_cached() Line 369
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(369)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl<rustc_middle::ty::context::TyCtxt,rustc_query_system::query::caches::ArenaCache<rustc_span::def_id::CrateNum, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_middle::middle::exported_symbols::SymbolExportLevel, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>>() Line 631
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(631)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query() Line 731
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(731)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::TyCtxtAt::reachable_non_generics() Line 470
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(470)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::TyCtxt::reachable_non_generics() Line 431
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(431)
rustc_driver-22379f3767b935ec.dll!rustc_codegen_ssa::back::symbol_export::exported_symbols_provider_local() Line 171
	at C:\msys64\home\we\rust\src\librustc_codegen_ssa\back\symbol_export.rs(171)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::{{impl}}::compute() Line 361
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(361)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind,rustc_middle::ty::context::TyCtxt,rustc_span::def_id::CrateNum,slice<(rustc_span::def_id::CrateNum, rustc_middle::middle::cstore::LinkagePreference)>*,fn(mut rustc_middle::ich::hcx::StableHashingContext*, slice<(rustc_span::def_id::CrateNum, rustc_middle::middle::cstore::LinkagePreference)>**) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>>() Line 303
	at C:\msys64\home\we\rust\src\librustc_query_system\dep_graph\graph.rs(303)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_execute_query() Line 415
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(415)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl::{{closure}}() Line 635
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(635)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::caches::{{impl}}::lookup() Line 111
	at C:\msys64\home\we\rust\src\librustc_query_system\query\caches.rs(111)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::try_get_cached() Line 369
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(369)
rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query_impl<rustc_middle::ty::context::TyCtxt,rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::CrateNum, slice<rustc_middle::middle::cstore::ForeignModule>*>>() Line 631
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(631)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_query_system::query::plumbing::get_query() Line 731
	at C:\msys64\home\we\rust\src\librustc_query_system\query\plumbing.rs(731)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::query::TyCtxtAt::exported_symbols() Line 470
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(470)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::TyCtxt::exported_symbols() Line 431
	at C:\msys64\home\we\rust\src\librustc_middle\ty\query\plumbing.rs(431)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_metadata::rmeta::encoder::EncodeContext::encode_crate_root() Line 510
	at C:\msys64\home\we\rust\src\librustc_metadata\rmeta\encoder.rs(510)
rustc_driver-22379f3767b935ec.dll!rustc_metadata::rmeta::encoder::encode_metadata_impl() Line 1865
	at C:\msys64\home\we\rust\src\librustc_metadata\rmeta\encoder.rs(1865)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_metadata::rmeta::encoder::encode_metadata::{{closure}}() Line 1815
	at C:\msys64\home\we\rust\src\librustc_metadata\rmeta\encoder.rs(1815)
rustc_driver-22379f3767b935ec.dll!rustc_data_structures::sync::join<closure-0,closure-1,rustc_middle::middle::cstore::EncodedMetadata,()>() Line 160
	at C:\msys64\home\we\rust\src\librustc_data_structures\sync.rs(160)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_metadata::rmeta::encoder::encode_metadata() Line 1814
	at C:\msys64\home\we\rust\src\librustc_metadata\rmeta\encoder.rs(1814)
rustc_driver-22379f3767b935ec.dll!rustc_metadata::rmeta::decoder::cstore_impl::{{impl}}::encode_metadata() Line 503
	at C:\msys64\home\we\rust\src\librustc_metadata\rmeta\decoder\cstore_impl.rs(503)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::TyCtxt::encode_metadata() Line 1287
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1287)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::passes::encode_and_write_metadata() Line 957
	at C:\msys64\home\we\rust\src\librustc_interface\passes.rs(957)
rustc_driver-22379f3767b935ec.dll!rustc_interface::passes::start_codegen() Line 1004
	at C:\msys64\home\we\rust\src\librustc_interface\passes.rs(1004)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::queries::{{impl}}::ongoing_codegen::{{closure}}::{{closure}}() Line 282
	at C:\msys64\home\we\rust\src\librustc_interface\queries.rs(282)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::tls::enter_global::{{closure}}() Line 1683
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1683)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::tls::enter_context::{{closure}}() Line 1671
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1671)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::tls::set_tlv() Line 1655
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1655)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::tls::enter_context() Line 1671
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1671)
rustc_driver-22379f3767b935ec.dll!rustc_middle::ty::context::tls::enter_global<closure-0,core::result::Result<alloc::boxed::Box<Any>, rustc_errors::ErrorReported>>() Line 1694
	at C:\msys64\home\we\rust\src\librustc_middle\ty\context.rs(1694)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::passes::QueryContext::enter() Line 742
	at C:\msys64\home\we\rust\src\librustc_interface\passes.rs(742)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::queries::{{impl}}::ongoing_codegen::{{closure}}() Line 273
	at C:\msys64\home\we\rust\src\librustc_interface\queries.rs(273)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::queries::Query::compute() Line 34
	at C:\msys64\home\we\rust\src\librustc_interface\queries.rs(34)
rustc_driver-22379f3767b935ec.dll!rustc_interface::queries::Queries::ongoing_codegen() Line 271
	at C:\msys64\home\we\rust\src\librustc_interface\queries.rs(271)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_driver::run_compiler::{{closure}}::{{closure}}() Line 387
	at C:\msys64\home\we\rust\src\librustc_driver\lib.rs(387)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::interface::Compiler::enter() Line 385
	at C:\msys64\home\we\rust\src\librustc_interface\queries.rs(385)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_driver::run_compiler::{{closure}}() Line 258
	at C:\msys64\home\we\rust\src\librustc_driver\lib.rs(258)
rustc_driver-22379f3767b935ec.dll!rustc_interface::interface::run_compiler_in_existing_thread_pool<core::result::Result<(), rustc_errors::ErrorReported>,closure-4>() Line 199
	at C:\msys64\home\we\rust\src\librustc_interface\interface.rs(199)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::interface::run_compiler::{{closure}}() Line 213
	at C:\msys64\home\we\rust\src\librustc_interface\interface.rs(213)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}::{{closure}}() Line 153
	at C:\msys64\home\we\rust\src\librustc_interface\util.rs(153)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!scoped_tls::ScopedKey::set() Line 137
	at C:\Users\we\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs(137)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}() Line 149
	at C:\msys64\home\we\rust\src\librustc_interface\util.rs(149)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!scoped_tls::ScopedKey::set() Line 137
	at C:\Users\we\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs(137)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_ast::attr::with_globals::{{closure}}() Line 44
	at C:\msys64\home\we\rust\src\librustc_ast\attr\mod.rs(44)
rustc_driver-22379f3767b935ec.dll!scoped_tls::ScopedKey::set<rustc_ast::attr::Globals,closure-0,core::result::Result<(), rustc_errors::ErrorReported>>() Line 137
	at C:\Users\we\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs(137)
rustc_driver-22379f3767b935ec.dll!rustc_ast::attr::with_globals<core::result::Result<(), rustc_errors::ErrorReported>,closure-0>() Line 0
	at C:\msys64\home\we\rust\src\librustc_ast\attr\mod.rs(0)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!rustc_interface::util::scoped_thread::{{closure}}() Line 123
	at C:\msys64\home\we\rust\src\librustc_interface\util.rs(123)
rustc_driver-22379f3767b935ec.dll!std::sys_common::backtrace::__rust_begin_short_backtrace<closure-0,()>() Line 130
	at C:\msys64\home\we\rust\src\libstd\sys_common\backtrace.rs(130)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::{{impl}}::spawn_unchecked::{{closure}}::{{closure}}() Line 475
	at C:\msys64\home\we\rust\src\libstd\thread\mod.rs(475)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::panic::{{impl}}::call_once() Line 318
	at C:\msys64\home\we\rust\src\libstd\panic.rs(318)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::panicking::try::do_call() Line 297
	at C:\msys64\home\we\rust\src\libstd\panicking.rs(297)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::panicking::try() Line 274
	at C:\msys64\home\we\rust\src\libstd\panicking.rs(274)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::panic::catch_unwind() Line 394
	at C:\msys64\home\we\rust\src\libstd\panic.rs(394)
[Inline Frame] rustc_driver-22379f3767b935ec.dll!std::thread::{{impl}}::spawn_unchecked::{{closure}}() Line 474
	at C:\msys64\home\we\rust\src\libstd\thread\mod.rs(474)
rustc_driver-22379f3767b935ec.dll!core::ops::function::FnOnce::call_once<closure-0,()>() Line 232
	at C:\msys64\home\we\rust\src\libcore\ops\function.rs(232)
[Inline Frame] std-d61da64fa9946585.dll!alloc::boxed::{{impl}}::call_once() Line 1034
	at C:\msys64\home\we\rust\src\liballoc\boxed.rs(1034)
[Inline Frame] std-d61da64fa9946585.dll!alloc::boxed::{{impl}}::call_once() Line 1034
	at C:\msys64\home\we\rust\src\liballoc\boxed.rs(1034)
std-d61da64fa9946585.dll!std::sys::windows::thread::{{impl}}::new::thread_start() Line 56
	at C:\msys64\home\we\rust\src\libstd\sys\windows\thread.rs(56)
kernel32.dll!BaseThreadInitThunk�()
ntdll.dll!RtlUserThreadStart�()

cc @alexcrichton probably

@petrochenkov petrochenkov added I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. C-bug Category: This is a bug. labels May 6, 2020
@jonas-schievink jonas-schievink added I-prioritize Issue: Indicates that prioritization has been requested for this issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 6, 2020
@petrochenkov
Copy link
Contributor Author

The issue disappears after a full clean rebuild of LLVM.

@jyn514 jyn514 removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants