rust-lang / rust-lang/rust

compiler crash compiling wasmtime-internal-cranelift

Open
#150,149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug I-ICE S-needs-repro T-compiler
Dominant language
Rust
Stars
119k
Forks
16.2k
PR merge metrics
PR metrics pending

Description

With a RUST_MIN_STACK=67108864 it works

Code
<code>
Meta

rustc --version --verbose:

<version>
Error output
<output>

thread 'rustc' (113790) panicked at /rust/deps/indexmap-2.11.4/src/map/core.rs:59:35:
index out of bounds: the len is 152 but the index is 36924
stack backtrace:
0: 0x750686433ab3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h718e2d17a1928e63
1: 0x750686c01b98 - core::fmt::write::h1d2246b072ea91eb
2: 0x7506881cd351 - std::io::Write::write_fmt::haf55272405c09d9b
3: 0x7506863f9642 - std::sys::backtrace::BacktraceLock::print::h61c3bd81a9458a03
4: 0x7506863ff709 - std::panicking::default_hook::{{closure}}::haf1ffb5d1e33a97f
5: 0x7506863ff233 - std::panicking::default_hook::hc32245deb6eaa988
6: 0x7506853fd651 - std[836535f787e97d3]::panicking::update_hook::<alloc[bc4a0c534c311190]::boxed::Box<rustc_driver_impl[88352806430fedcc]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7506863ffb2f - std::panicking::panic_with_hook::h43adc00fd0e494cb
8: 0x7506863ff8ea - std::panicking::panic_handler::{{closure}}::h44391079756da3e7
9: 0x7506863f9789 - std::sys::backtrace::__rust_end_short_backtrace::h934e1568393e5b8f
10: 0x7506863da17d - __rustc[d9b87f19e823c0ef]::rust_begin_unwind
11: 0x7506833924a0 - core::panicking::panic_fmt::h62031895f6e012da
12: 0x750684b02b33 - core::panicking::panic_bounds_check::h91fb439f93b2e326
13: 0x7506872056ab - <rustc_resolve[903f3a1c271080e8]::Resolver>::resolution_or_default
14: 0x7506872029ca - <rustc_resolve[903f3a1c271080e8]::Resolver>::try_define_local
15: 0x7506871ffb05 - <rustc_resolve[903f3a1c271080e8]::Resolver>::resolve_import::{closure#0}
16: 0x7506872006c5 - <rustc_resolve[903f3a1c271080e8]::Resolver as rustc_expand[c93d01508548f652]::base::ResolverExpand>::resolve_imports
17: 0x7506880dda1f - <rustc_expand[c93d01508548f652]::expand::MacroExpander>::fully_expand_fragment
18: 0x7506880a3869 - <rustc_expand[c93d01508548f652]::expand::MacroExpander>::expand_crate
19: 0x75068776ff24 - rustc_interface[3dfce13d5179a6f8]::passes::configure_and_expand
20: 0x750687d46415 - rustc_interface[3dfce13d5179a6f8]::passes::resolver_for_lowering_raw
21: 0x750687d4618d - rustc_query_impl[f5b648d03701713a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[f5b648d03701713a]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[cc5e45d0ca739427]::query::erase::Erased<[u8; 16usize]>>
22: 0x750687d46169 - <rustc_query_impl[f5b648d03701713a]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[2e27404414be4892]::ops::function::FnOnce<(rustc_middle[cc5e45d0ca739427]::ty::context::TyCtxt, ())>>::call_once
23: 0x750687ca049f - rustc_query_system[701c55d052347103]::query::plumbing::try_execute_query::<rustc_query_impl[f5b648d03701713a]::DynamicConfig<rustc_query_system[701c55d052347103]::query::caches::SingleCache<rustc_middle[cc5e45d0ca739427]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[f5b648d03701713a]::plumbing::QueryCtxt, false>
24: 0x750687c9fffc - rustc_query_impl[f5b648d03701713a]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
25: 0x750687f3a5f1 - <rustc_interface[3dfce13d5179a6f8]::passes::create_and_enter_global_ctxt<core[2e27404414be4892]::option::Option<rustc_interface[3dfce13d5179a6f8]::queries::Linker>, rustc_driver_impl[88352806430fedcc]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[2e27404414be4892]::ops::function::FnOnce<(&rustc_session[2fc1d960ad4ec558]::session::Session, rustc_middle[cc5e45d0ca739427]::ty::context::CurrentGcx, alloc[bc4a0c534c311190]::sync::Arc<rustc_data_structures[99519894e5253d88]::jobserver::Proxy>, &std[836535f787e97d3]::sync::once_lock::OnceLock<rustc_middle[cc5e45d0ca739427]::ty::context::GlobalCtxt>, &rustc_data_structures[99519894e5253d88]::sync::worker_local::WorkerLocal<rustc_middle[cc5e45d0ca739427]::arena::Arena>, &rustc_data_structures[99519894e5253d88]::sync::worker_local::WorkerLocal<rustc_hir[7611e5bcfcd2a5c8]::Arena>, rustc_driver_impl[88352806430fedcc]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
26: 0x750687d94be2 - rustc_interface[3dfce13d5179a6f8]::interface::run_compiler::<(), rustc_driver_impl[88352806430fedcc]::run_compiler::{closure#0}>::{closure#1}
27: 0x75068794a300 - std[836535f787e97d3]::sys::backtrace::_rust_begin_short_backtrace::<rustc_interface[3dfce13d5179a6f8]::util::run_in_thread_with_globals<rustc_interface[3dfce13d5179a6f8]::util::run_in_thread_pool_with_globals<rustc_interface[3dfce13d5179a6f8]::interface::run_compiler<(), rustc_driver_impl[88352806430fedcc]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
28: 0x750687949fe4 - <<std[836535f787e97d3]:🧵:Builder>::spawn_unchecked
<rustc_interface[3dfce13d5179a6f8]::util::run_in_thread_with_globals<rustc_interface[3dfce13d5179a6f8]::util::run_in_thread_pool_with_globals<rustc_interface[3dfce13d5179a6f8]::interface::run_compiler<(), rustc_driver_impl[88352806430fedcc]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[2e27404414be4892]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
29: 0x75068794896f - std::sys:🧵:unix::Thread:🆕:thread_start::h4637f1bfded3ea68
30: 0x75068169cb7b -
31: 0x75068171a7b8 -
32: 0x0 -

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.92.0 (ded5c06cf 2025-12-08) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [resolver_for_lowering_raw] getting the resolver for lowering
end of query stack
error: could not compile wasmtime (lib)

Caused by:
process didn't exit successfully: /home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name wasmtime --edition=2024 /home/svvs/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-39.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=117 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 '--allow=clippy::all' '--warn=clippy::useless_conversion' --warn=unused_import_braces --warn=unused_extern_crates --warn=unused-macro-rules --warn=unused-lifetimes --warn=unstable_features '--warn=clippy::unnecessary_to_owned' '--warn=clippy::unnecessary_mut_passed' '--warn=clippy::unnecessary_fallible_conversions' '--warn=clippy::unnecessary_cast' '--warn=clippy::uninlined_format_args' --warn=unexpected_cfgs --warn=trivial_numeric_casts '--warn=clippy::redundant_field_names' '--warn=clippy::multiple_bound_locations' '--warn=clippy::map_clone' '--warn=clippy::manual_strip' '--warn=clippy::from_over_into' '--warn=clippy::clone_on_copy' '--warn=clippy::allow_attributes_without_reason' --check-cfg 'cfg(pulley_tail_calls)' --check-cfg 'cfg(pulley_assume_llvm_makes_tail_calls)' --check-cfg 'cfg(pulley_disable_interp_simd)' --cfg 'feature="addr2line"' --cfg 'feature="async"' --cfg 'feature="cache"' --cfg 'feature="compile-time-builtins"' --cfg 'feature="component-model"' --cfg 'feature="component-model-async"' --cfg 'feature="coredump"' --cfg 'feature="cranelift"' --cfg 'feature="debug"' --cfg 'feature="debug-builtins"' --cfg 'feature="default"' --cfg 'feature="demangle"' --cfg 'feature="gc"' --cfg 'feature="gc-drc"' --cfg 'feature="gc-null"' --cfg 'feature="once_cell"' --cfg 'feature="parallel-compilation"' --cfg 'feature="pooling-allocator"' --cfg 'feature="profiling"' --cfg 'feature="runtime"' --cfg 'feature="stack-switching"' --cfg 'feature="std"' --cfg 'feature="threads"' --cfg 'feature="wasmtime-jit-debug"' --cfg 'feature="wasmtime-jit-icache-coherence"' --cfg 'feature="wat"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("addr2line", "all-arch", "async", "cache", "call-hook", "compile-time-builtins", "component-model", "component-model-async", "component-model-async-bytes", "coredump", "cranelift", "custom-native-signals", "custom-sync-primitives", "custom-virtual-memory", "debug", "debug-builtins", "default", "demangle", "gc", "gc-drc", "gc-null", "incremental-cache", "memory-protection-keys", "once_cell", "parallel-compilation", "pooling-allocator", "profile-pulley", "profiling", "pulley", "reexport-wasmparser", "runtime", "stack-switching", "std", "threads", "trace-log", "wasmtime-jit-debug", "wasmtime-jit-icache-coherence", "wat", "wave", "winch", "wmemcheck"))' -C metadata=7b8415d31f78536c -C extra-filename=-c13569eeeabdf518 --out-dir /home/svvs/axum-wasm/target/debug/deps -L dependency=/home/svvs/axum-wasm/target/debug/deps --extern addr2line=/home/svvs/axum-wasm/target/debug/deps/libaddr2line-556c3ad844044c7d.rmeta --extern anyhow=/home/svvs/axum-wasm/target/debug/deps/libanyhow-f83b8d3e8e6fcc5b.rmeta --extern async_trait=/home/svvs/axum-wasm/target/debug/deps/libasync_trait-1686a02eeff913bd.so --extern bitflags=/home/svvs/axum-wasm/target/debug/deps/libbitflags-99ac776a85dac37d.rmeta --extern bumpalo=/home/svvs/axum-wasm/target/debug/deps/libbumpalo-39618d8d7b4eb647.rmeta --extern cfg_if=/home/svvs/axum-wasm/target/debug/deps/libcfg_if-2d20780be38939e6.rmeta --extern encoding_rs=/home/svvs/axum-wasm/target/debug/deps/libencoding_rs-3790282b0728b7d2.rmeta --extern futures=/home/svvs/axum-wasm/target/debug/deps/libfutures-66c48efbea16f848.rmeta --extern fxprof_processed_profile=/home/svvs/axum-wasm/target/debug/deps/libfxprof_processed_profile-4ee5b582d1c4c59b.rmeta --extern gimli=/home/svvs/axum-wasm/target/debug/deps/libgimli-86c2cae3b06058e2.rmeta --extern hashbrown=/home/svvs/axum-wasm/target/debug/deps/libhashbrown-e5f6ccce3d898d6b.rmeta --extern indexmap=/home/svvs/axum-wasm/target/debug/deps/libindexmap-d1282ab971b01ff7.rmeta --extern ittapi=/home/svvs/axum-wasm/target/debug/deps/libittapi-cbcfb318f960d47c.rmeta --extern libc=/home/svvs/axum-wasm/target/debug/deps/liblibc-acf3df278e7a94f9.rmeta --extern log=/home/svvs/axum-wasm/target/debug/deps/liblog-901d2d15d17f50d9.rmeta --extern memfd=/home/svvs/axum-wasm/target/debug/deps/libmemfd-217c194397516662.rmeta --extern object=/home/svvs/axum-wasm/target/debug/deps/libobject-6de35afb2b928e05.rmeta --extern once_cell=/home/svvs/axum-wasm/target/debug/deps/libonce_cell-b5726b916b3362ce.rmeta --extern postcard=/home/svvs/axum-wasm/target/debug/deps/libpostcard-67e197433fa8699f.rmeta --extern pulley_interpreter=/home/svvs/axum-wasm/target/debug/deps/libpulley_interpreter-d75a304be0cb989a.rmeta --extern rayon=/home/svvs/axum-wasm/target/debug/deps/librayon-a42489e78b471ba6.rmeta --extern rustix=/home/svvs/axum-wasm/target/debug/deps/librustix-c3049046607251b1.rmeta --extern semver=/home/svvs/axum-wasm/target/debug/deps/libsemver-a036509fa5e1defb.rmeta --extern serde=/home/svvs/axum-wasm/target/debug/deps/libserde-b553fc1b2bb921d1.rmeta --extern serde_derive=/home/svvs/axum-wasm/target/debug/deps/libserde_derive-b6ee8f09dcb17d70.so --extern serde_json=/home/svvs/axum-wasm/target/debug/deps/libserde_json-620d6f65460ce29a.rmeta --extern smallvec=/home/svvs/axum-wasm/target/debug/deps/libsmallvec-eaf07c2236d956dd.rmeta --extern target_lexicon=/home/svvs/axum-wasm/target/debug/deps/libtarget_lexicon-4d7c89baf3dcb841.rmeta --extern tempfile=/home/svvs/axum-wasm/target/debug/deps/libtempfile-e73ba643a30f7692.rmeta --extern wasm_compose=/home/svvs/axum-wasm/target/debug/deps/libwasm_compose-84b90fc351e54bb1.rmeta --extern wasm_encoder=/home/svvs/axum-wasm/target/debug/deps/libwasm_encoder-7a7f25f751ff0f7f.rmeta --extern wasmparser=/home/svvs/axum-wasm/target/debug/deps/libwasmparser-68c60de414ab783f.rmeta --extern wasmtime_environ=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_environ-434e4c3ed2a8c309.rmeta --extern wasmtime_cache=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_cache-9bcaefb7390bf02f.rmeta --extern wasmtime_component_macro=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_component_macro-ef052aa440fc776c.so --extern wasmtime_component_util=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_component_util-c853f325f35d77c5.rmeta --extern wasmtime_cranelift=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_cranelift-18098c0bcbe1177f.rmeta --extern wasmtime_fiber=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_fiber-2038f1a4ba825d40.rmeta --extern wasmtime_jit_debug=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_jit_debug-08e2021958d4be10.rmeta --extern wasmtime_jit_icache_coherence=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_jit_icache_coherence-06597f8577416956.rmeta --extern wasmtime_math=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_math-aa1210f8eb9b87b8.rmeta --extern wasmtime_slab=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_slab-2a52e02699aefd81.rmeta --extern wasmtime_unwinder=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_unwinder-72aac80013c9e4df.rmeta --extern wasmtime_versioned_export_macros=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_versioned_export_macros-125444abcf074c6a.so --extern wat=/home/svvs/axum-wasm/target/debug/deps/libwat-a0542cd73e553367.rmeta --cap-lints allow -L native=/home/svvs/axum-wasm/target/debug/build/wasmtime-bd2bb2864ee601d7/out -L native=/home/svvs/axum-wasm/target/debug/build/ittapi-sys-60321fc164fe5dda/out -L native=/home/svvs/axum-wasm/target/debug/build/zstd-sys-3caf1c488a694646/out -L native=/home/svvs/axum-wasm/target/debug/build/wasmtime-internal-jit-debug-87002becc65cf372/out -l static=wasmtime-helpers --cfg has_native_signals --cfg has_virtual_memory --cfg has_host_compiler_backend --check-cfg 'cfg(asan)' --check-cfg 'cfg(has_native_signals)' --check-cfg 'cfg(has_virtual_memory)' --check-cfg 'cfg(has_custom_sync)' --check-cfg 'cfg(has_host_compiler_backend)' --check-cfg 'cfg(default_target_pulley)' (exit status: 101)
warning: build failed, waiting for other jobs to finish...
error: rustc interrupted by SIGSEGV, printing backtrace

/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x3c04adf) [0x79e116604adf]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x79e112849df0]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/libLLVM.so.21.1-rust-1.92.0-stable(+0x834047e) [0x79e110f4047e]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/libLLVM.so.21.1-rust-1.92.0-stable(+0x85b0ffa) [0x79e1111b0ffa]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/libLLVM.so.21.1-rust-1.92.0-stable(ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3+0x1fa) [0x79e110b0cdc8]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x63abd2b) [0x79e118dabd2b]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x63b39ee) [0x79e118db39ee]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(_RNvXs1_CsbG23ezydE5t_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCskkDJNHb7lVI_17rustc_codegen_ssa6traits5write19WriteBackendMethods8optimize+0x14b) [0x79e118db308d]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x63b0359) [0x79e118db0359]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(RINvNtNtCsHIej2QEFI5_3std3sys9backtrace28___rust_begin_short_backtraceNCINvXs0_CsbG23ezydE5t_18rustc_codegen_llvmNtB1f_18LlvmCodegenBackendNtNtNtCskkDJNHb7lVI_17rustc_codegen_ssa6traits7backend19ExtraBackendMethods18spawn_named_threadNCINvNtNtB2j_4back5write10spawn_workB1N_E0uE0uEB1f+0xa5) [0x79e119068be5]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x6143379) [0x79e118b43379]
/home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-d31eb41759495bb2.so(+0x614896f) [0x79e118b4896f]
/lib/x86_64-linux-gnu/libc.so.6(+0x92b7b) [0x79e11289cb7b]
/lib/x86_64-linux-gnu/libc.so.6(+0x1107b8) [0x79e11291a7b8]

note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=33554432
error: could not compile wasmtime-internal-cranelift (lib)

Caused by:
process didn't exit successfully: /home/svvs/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name wasmtime_internal_cranelift --edition=2024 /home/svvs/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wasmtime-internal-cranelift-39.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=117 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 '--allow=clippy::all' '--warn=clippy::useless_conversion' --warn=unused_import_braces --warn=unused_extern_crates --warn=unused-macro-rules --warn=unused-lifetimes --warn=unstable_features '--warn=clippy::unnecessary_to_owned' '--warn=clippy::unnecessary_mut_passed' '--warn=clippy::unnecessary_fallible_conversions' '--warn=clippy::unnecessary_cast' '--warn=clippy::uninlined_format_args' --warn=unexpected_cfgs --warn=trivial_numeric_casts '--warn=clippy::redundant_field_names' '--warn=clippy::multiple_bound_locations' '--warn=clippy::map_clone' '--warn=clippy::manual_strip' '--warn=clippy::from_over_into' '--warn=clippy::clone_on_copy' '--warn=clippy::allow_attributes_without_reason' --check-cfg 'cfg(pulley_tail_calls)' --check-cfg 'cfg(pulley_assume_llvm_makes_tail_calls)' --check-cfg 'cfg(pulley_disable_interp_simd)' --cfg 'feature="component-model"' --cfg 'feature="gc"' --cfg 'feature="gc-drc"' --cfg 'feature="gc-null"' --cfg 'feature="pulley"' --cfg 'feature="stack-switching"' --cfg 'feature="threads"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-arch", "component-model", "gc", "gc-drc", "gc-null", "host-arch", "incremental-cache", "pulley", "stack-switching", "threads", "trace-log", "wmemcheck"))' -C metadata=6c94c0ae8d140cbe -C extra-filename=-18098c0bcbe1177f --out-dir /home/svvs/axum-wasm/target/debug/deps -L dependency=/home/svvs/axum-wasm/target/debug/deps --extern anyhow=/home/svvs/axum-wasm/target/debug/deps/libanyhow-f83b8d3e8e6fcc5b.rmeta --extern cfg_if=/home/svvs/axum-wasm/target/debug/deps/libcfg_if-2d20780be38939e6.rmeta --extern cranelift_codegen=/home/svvs/axum-wasm/target/debug/deps/libcranelift_codegen-e737c15fdb14eaa5.rmeta --extern cranelift_control=/home/svvs/axum-wasm/target/debug/deps/libcranelift_control-c54c6a32049c9b90.rmeta --extern cranelift_entity=/home/svvs/axum-wasm/target/debug/deps/libcranelift_entity-df8bd2ba8e659e41.rmeta --extern cranelift_frontend=/home/svvs/axum-wasm/target/debug/deps/libcranelift_frontend-3353a04539287503.rmeta --extern cranelift_native=/home/svvs/axum-wasm/target/debug/deps/libcranelift_native-efe4dfb86014768a.rmeta --extern gimli=/home/svvs/axum-wasm/target/debug/deps/libgimli-86c2cae3b06058e2.rmeta --extern itertools=/home/svvs/axum-wasm/target/debug/deps/libitertools-11274a8d9e3a9689.rmeta --extern log=/home/svvs/axum-wasm/target/debug/deps/liblog-901d2d15d17f50d9.rmeta --extern object=/home/svvs/axum-wasm/target/debug/deps/libobject-6de35afb2b928e05.rmeta --extern pulley_interpreter=/home/svvs/axum-wasm/target/debug/deps/libpulley_interpreter-d75a304be0cb989a.rmeta --extern smallvec=/home/svvs/axum-wasm/target/debug/deps/libsmallvec-eaf07c2236d956dd.rmeta --extern target_lexicon=/home/svvs/axum-wasm/target/debug/deps/libtarget_lexicon-4d7c89baf3dcb841.rmeta --extern thiserror=/home/svvs/axum-wasm/target/debug/deps/libthiserror-5ca12a4f45f01794.rmeta --extern wasmparser=/home/svvs/axum-wasm/target/debug/deps/libwasmparser-68c60de414ab783f.rmeta --extern wasmtime_environ=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_environ-434e4c3ed2a8c309.rmeta --extern wasmtime_math=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_math-aa1210f8eb9b87b8.rmeta --extern wasmtime_unwinder=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_unwinder-72aac80013c9e4df.rmeta --extern wasmtime_versioned_export_macros=/home/svvs/axum-wasm/target/debug/deps/libwasmtime_internal_versioned_export_macros-125444abcf074c6a.so --cap-lints allow (signal: 11, SIGSEGV: invalid memory reference)

Backtrace

<backtrace>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash while compiling wasmtime-39.0.1/src/lib.rs with the reported rustc flags, comparing the default stack size with RUST_MIN_STACK=67108864. Then inspect the reported rustc_resolve::Resolver::resolution_or_default path and the resolver_for_lowering_raw query. Done means identifying the cause of the index-out-of-bounds panic and validating a compiler fix against this reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.