Created
January 15, 2025 19:32
-
-
Save alexcrichton/c09f1ef21e5057c08ea72dbf1717b368 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==2444257== Helgrind, a thread error detector | |
==2444257== Copyright (C) 2007-2017, and GNU GPL'd, by OpenWorks LLP et al. | |
==2444257== Using Valgrind-3.23.0.GIT and LibVEX; rerun with -h for copyright info | |
==2444257== Command: target/x86_64-unknown-linux-gnu/release/wat | |
==2444257== | |
0 | |
==2444257== ---Thread-Announcement------------------------------------------ | |
==2444257== | |
==2444257== Thread #1 is the program's root thread | |
==2444257== | |
==2444257== ---Thread-Announcement------------------------------------------ | |
==2444257== | |
==2444257== Thread #2 was created | |
==2444257== at 0x4ABDA23: clone (clone.S:76) | |
==2444257== by 0x4ABDBA2: __clone_internal_fallback (clone-internal.c:64) | |
==2444257== by 0x4ABDBA2: __clone_internal (clone-internal.c:109) | |
==2444257== by 0x4A3053F: create_thread (pthread_create.c:297) | |
==2444257== by 0x4A31194: pthread_create@@GLIBC_2.34 (pthread_create.c:836) | |
==2444257== by 0x48552A6: pthread_create_WRK (hg_intercepts.c:445) | |
==2444257== by 0x48567C3: pthread_create@* (hg_intercepts.c:478) | |
==2444257== by 0xC44F01: std::sys::pal::unix::thread::Thread::new (thread.rs:85) | |
==2444257== by 0x371648: spawn_unchecked_<wat::main::{closure#0}::{closure_env#0}, ()> (mod.rs:603) | |
==2444257== by 0x371648: std::thread::scoped::<impl std::thread::Builder>::spawn_scoped (scoped.rs:261) | |
==2444257== by 0x3769A4: spawn<wat::main::{closure#0}::{closure_env#0}, ()> (scoped.rs:200) | |
==2444257== by 0x3769A4: {closure#0} (main.rs:20) | |
==2444257== by 0x3769A4: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769A4: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769A4: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769A4: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769A4: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769A4: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0xCE3C20 by thread #1 | |
==2444257== Locks held: none | |
==2444257== at 0xB611EE: atomic_load<usize> (atomic.rs:3342) | |
==2444257== by 0xB611EE: load (atomic.rs:2438) | |
==2444257== by 0xB611EE: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:67) | |
==2444257== by 0x36E1C3: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x36E1C3: default<wasmtime::runtime::type_registry::RegisteredType, foldhash::seed::fast::RandomState, hashbrown::raw::alloc::inner::Global> (set.rs:1357) | |
==2444257== by 0x36E1C3: wasmtime::runtime::store::Store<T>::new (store.rs:555) | |
==2444257== by 0x3769D2: {closure#0} (main.rs:27) | |
==2444257== by 0x3769D2: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769D2: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769D2: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769D2: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769D2: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769D2: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x47C161: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x47C161: new<wasmtime_environ::builtin::BuiltinFunctionIndex, ()> (map.rs:290) | |
==2444257== by 0x47C161: new<wasmtime_environ::builtin::BuiltinFunctionIndex> (set.rs:158) | |
==2444257== by 0x47C161: compile_required_builtins (compile.rs:553) | |
==2444257== by 0x47C161: wasmtime::compile::CompileInputs::compile (compile.rs:539) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== by 0x375436: {closure#0} (main.rs:23) | |
==2444257== by 0x375436: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== Address 0xce3c20 is 0 bytes inside data symbol "_ZN76_$LT$foldhash..seed..fast..RandomState$u20$as$u20$core..default..Default$GT$7default25PER_HASHER_NONDETERMINISM17hbc192eb50d926e01E.0" | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0xCE3C20 by thread #1 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x36E1C3: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x36E1C3: default<wasmtime::runtime::type_registry::RegisteredType, foldhash::seed::fast::RandomState, hashbrown::raw::alloc::inner::Global> (set.rs:1357) | |
==2444257== by 0x36E1C3: wasmtime::runtime::store::Store<T>::new (store.rs:555) | |
==2444257== by 0x3769D2: {closure#0} (main.rs:27) | |
==2444257== by 0x3769D2: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769D2: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769D2: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769D2: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769D2: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769D2: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x47C161: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x47C161: new<wasmtime_environ::builtin::BuiltinFunctionIndex, ()> (map.rs:290) | |
==2444257== by 0x47C161: new<wasmtime_environ::builtin::BuiltinFunctionIndex> (set.rs:158) | |
==2444257== by 0x47C161: compile_required_builtins (compile.rs:553) | |
==2444257== by 0x47C161: wasmtime::compile::CompileInputs::compile (compile.rs:539) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== by 0x375436: {closure#0} (main.rs:23) | |
==2444257== by 0x375436: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== Address 0xce3c20 is 0 bytes inside data symbol "_ZN76_$LT$foldhash..seed..fast..RandomState$u20$as$u20$core..default..Default$GT$7default25PER_HASHER_NONDETERMINISM17hbc192eb50d926e01E.0" | |
==2444257== | |
==2444257== ---Thread-Announcement------------------------------------------ | |
==2444257== | |
==2444257== Thread #3 was created | |
==2444257== at 0x4ABDA23: clone (clone.S:76) | |
==2444257== by 0x4ABDBA2: __clone_internal_fallback (clone-internal.c:64) | |
==2444257== by 0x4ABDBA2: __clone_internal (clone-internal.c:109) | |
==2444257== by 0x4A3053F: create_thread (pthread_create.c:297) | |
==2444257== by 0x4A31194: pthread_create@@GLIBC_2.34 (pthread_create.c:836) | |
==2444257== by 0x48552A6: pthread_create_WRK (hg_intercepts.c:445) | |
==2444257== by 0x48567C3: pthread_create@* (hg_intercepts.c:478) | |
==2444257== by 0xC44F01: std::sys::pal::unix::thread::Thread::new (thread.rs:85) | |
==2444257== by 0x371C78: spawn_unchecked_<wat::main::{closure#0}::{closure_env#1}, ()> (mod.rs:603) | |
==2444257== by 0x371C78: std::thread::scoped::<impl std::thread::Builder>::spawn_scoped (scoped.rs:261) | |
==2444257== by 0x3769E9: spawn<wat::main::{closure#0}::{closure_env#1}, ()> (scoped.rs:200) | |
==2444257== by 0x3769E9: {closure#0} (main.rs:26) | |
==2444257== by 0x3769E9: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769E9: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769E9: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769E9: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769E9: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769E9: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0xCE3C20 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0xB611EE: atomic_load<usize> (atomic.rs:3342) | |
==2444257== by 0xB611EE: load (atomic.rs:2438) | |
==2444257== by 0xB611EE: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:67) | |
==2444257== by 0x47BBF1: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x47BBF1: new<wasmtime_environ::types::ModuleInternedTypeIndex, ()> (map.rs:290) | |
==2444257== by 0x47BBF1: new<wasmtime_environ::types::ModuleInternedTypeIndex> (set.rs:158) | |
==2444257== by 0x47BBF1: collect_inputs_in_translations<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:505) | |
==2444257== by 0x47BBF1: wasmtime::compile::CompileInputs::for_module (compile.rs:345) | |
==2444257== by 0x47B238: wasmtime::compile::build_artifacts (compile.rs:84) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== by 0x375526: {closure#1} (main.rs:30) | |
==2444257== by 0x375526: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37223E: {closure#0}<wat::main::{closure#0}::{closure_env#1}, ()> (mod.rs:564) | |
==2444257== by 0x37223E: call_once<(), std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x37223E: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x37223E: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>> (panicking.rs:547) | |
==2444257== by 0x37223E: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x37223E: {closure#1}<wat::main::{closure#0}::{closure_env#1}, ()> (mod.rs:562) | |
==2444257== by 0x37223E: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0xC450CA: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0xC450CA: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0xC450CA: std::sys::pal::unix::thread::Thread::new::thread_start (thread.rs:106) | |
==2444257== by 0x48554A0: mythread_wrapper (hg_intercepts.c:406) | |
==2444257== by 0x4A30A93: start_thread (pthread_create.c:447) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #1 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x36E1C3: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x36E1C3: default<wasmtime::runtime::type_registry::RegisteredType, foldhash::seed::fast::RandomState, hashbrown::raw::alloc::inner::Global> (set.rs:1357) | |
==2444257== by 0x36E1C3: wasmtime::runtime::store::Store<T>::new (store.rs:555) | |
==2444257== by 0x3769D2: {closure#0} (main.rs:27) | |
==2444257== by 0x3769D2: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769D2: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769D2: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769D2: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769D2: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769D2: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== Address 0xce3c20 is 0 bytes inside data symbol "_ZN76_$LT$foldhash..seed..fast..RandomState$u20$as$u20$core..default..Default$GT$7default25PER_HASHER_NONDETERMINISM17hbc192eb50d926e01E.0" | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0xCE3C20 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x47BBF1: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x47BBF1: new<wasmtime_environ::types::ModuleInternedTypeIndex, ()> (map.rs:290) | |
==2444257== by 0x47BBF1: new<wasmtime_environ::types::ModuleInternedTypeIndex> (set.rs:158) | |
==2444257== by 0x47BBF1: collect_inputs_in_translations<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:505) | |
==2444257== by 0x47BBF1: wasmtime::compile::CompileInputs::for_module (compile.rs:345) | |
==2444257== by 0x47B238: wasmtime::compile::build_artifacts (compile.rs:84) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== by 0x375526: {closure#1} (main.rs:30) | |
==2444257== by 0x375526: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37223E: {closure#0}<wat::main::{closure#0}::{closure_env#1}, ()> (mod.rs:564) | |
==2444257== by 0x37223E: call_once<(), std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x37223E: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x37223E: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>> (panicking.rs:547) | |
==2444257== by 0x37223E: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<wat::main::{closure#0}::{closure_env#1}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x37223E: {closure#1}<wat::main::{closure#0}::{closure_env#1}, ()> (mod.rs:562) | |
==2444257== by 0x37223E: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0xC450CA: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0xC450CA: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0xC450CA: std::sys::pal::unix::thread::Thread::new::thread_start (thread.rs:106) | |
==2444257== by 0x48554A0: mythread_wrapper (hg_intercepts.c:406) | |
==2444257== by 0x4A30A93: start_thread (pthread_create.c:447) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #1 | |
==2444257== Locks held: none | |
==2444257== at 0xB61221: atomic_store<usize> (atomic.rs:3327) | |
==2444257== by 0xB61221: store (atomic.rs:2465) | |
==2444257== by 0xB61221: <foldhash::seed::fast::RandomState as core::default::Default>::default (seed.rs:69) | |
==2444257== by 0x36E1C3: UnknownInlinedFun (map.rs:2071) | |
==2444257== by 0x36E1C3: default<wasmtime::runtime::type_registry::RegisteredType, foldhash::seed::fast::RandomState, hashbrown::raw::alloc::inner::Global> (set.rs:1357) | |
==2444257== by 0x36E1C3: wasmtime::runtime::store::Store<T>::new (store.rs:555) | |
==2444257== by 0x3769D2: {closure#0} (main.rs:27) | |
==2444257== by 0x3769D2: {closure#0}<wat::main::{closure_env#0}, ()> (scoped.rs:151) | |
==2444257== by 0x3769D2: call_once<(), std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>> (unwind_safe.rs:272) | |
==2444257== by 0x3769D2: do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panicking.rs:584) | |
==2444257== by 0x3769D2: try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>> (panicking.rs:547) | |
==2444257== by 0x3769D2: catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::scoped::scope::{closure_env#0}<wat::main::{closure_env#0}, ()>>, ()> (panic.rs:358) | |
==2444257== by 0x3769D2: std::thread::scoped::scope (scoped.rs:151) | |
==2444257== by 0x378E61: wat::main (main.rs:19) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== Address 0xce3c20 is 0 bytes inside data symbol "_ZN76_$LT$foldhash..seed..fast..RandomState$u20$as$u20$core..default..Default$GT$7default25PER_HASHER_NONDETERMINISM17hbc192eb50d926e01E.0" | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BAC408 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6034C4: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2503) | |
==2444257== by 0x6034C4: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0x6054DC: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2427) | |
==2444257== by 0x6054DC: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Address 0x4bac408 is 120 bytes inside a block of size 144 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5CA392: alloc (alloc.rs:96) | |
==2444257== by 0x5CA392: alloc_impl (alloc.rs:192) | |
==2444257== by 0x5CA392: allocate (alloc.rs:254) | |
==2444257== by 0x5CA392: exchange_malloc (alloc.rs:349) | |
==2444257== by 0x5CA392: new<wasmtime_cranelift::compiler::Compiler> (boxed.rs:274) | |
==2444257== by 0x5CA392: <wasmtime_cranelift::builder::Builder as wasmtime_environ::compile::CompilerBuilder>::build (builder.rs:91) | |
==2444257== by 0x48109F: wasmtime::config::Config::build_compiler (config.rs:2376) | |
==2444257== by 0x55CAE9: wasmtime::engine::Engine::new (engine.rs:111) | |
==2444257== by 0x378E3E: wat::main (main.rs:16) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== Block was alloc'd by thread #1 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0x4BAC408 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6034D0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2507) | |
==2444257== by 0x6034D0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0x6054DC: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2427) | |
==2444257== by 0x6054DC: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Address 0x4bac408 is 120 bytes inside a block of size 144 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5CA392: alloc (alloc.rs:96) | |
==2444257== by 0x5CA392: alloc_impl (alloc.rs:192) | |
==2444257== by 0x5CA392: allocate (alloc.rs:254) | |
==2444257== by 0x5CA392: exchange_malloc (alloc.rs:349) | |
==2444257== by 0x5CA392: new<wasmtime_cranelift::compiler::Compiler> (boxed.rs:274) | |
==2444257== by 0x5CA392: <wasmtime_cranelift::builder::Builder as wasmtime_environ::compile::CompilerBuilder>::build (builder.rs:91) | |
==2444257== by 0x48109F: wasmtime::config::Config::build_compiler (config.rs:2376) | |
==2444257== by 0x55CAE9: wasmtime::engine::Engine::new (engine.rs:111) | |
==2444257== by 0x378E3E: wat::main (main.rs:16) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== Block was alloc'd by thread #1 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BAC400 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6034DB: add<wasmtime_cranelift::compiler::CompilerContext> (const_ptr.rs:967) | |
==2444257== by 0x6034DB: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034DB: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== | |
==2444257== This conflicts with a previous write of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0x5C6461: set_ptr_and_cap<alloc::alloc::Global> (raw_vec.rs:629) | |
==2444257== by 0x5C6461: grow_amortized<alloc::alloc::Global> (raw_vec.rs:661) | |
==2444257== by 0x5C6461: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6461: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Address 0x4bac400 is 112 bytes inside a block of size 144 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5CA392: alloc (alloc.rs:96) | |
==2444257== by 0x5CA392: alloc_impl (alloc.rs:192) | |
==2444257== by 0x5CA392: allocate (alloc.rs:254) | |
==2444257== by 0x5CA392: exchange_malloc (alloc.rs:349) | |
==2444257== by 0x5CA392: new<wasmtime_cranelift::compiler::Compiler> (boxed.rs:274) | |
==2444257== by 0x5CA392: <wasmtime_cranelift::builder::Builder as wasmtime_environ::compile::CompilerBuilder>::build (builder.rs:91) | |
==2444257== by 0x48109F: wasmtime::config::Config::build_compiler (config.rs:2376) | |
==2444257== by 0x55CAE9: wasmtime::engine::Engine::new (engine.rs:111) | |
==2444257== by 0x378E3E: wat::main (main.rs:16) | |
==2444257== by 0x375755: call_once<fn(), ()> (function.rs:250) | |
==2444257== by 0x375755: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
==2444257== by 0x37A4BB: std::rt::lang_start::{{closure}} (rt.rs:195) | |
==2444257== by 0xC210BC: UnknownInlinedFun (function.rs:284) | |
==2444257== by 0xC210BC: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:358) | |
==2444257== by 0xC210BC: {closure#1} (rt.rs:174) | |
==2444257== by 0xC210BC: do_call<std::rt::lang_start_internal::{closure_env#1}, isize> (panicking.rs:584) | |
==2444257== by 0xC210BC: try<isize, std::rt::lang_start_internal::{closure_env#1}> (panicking.rs:547) | |
==2444257== by 0xC210BC: catch_unwind<std::rt::lang_start_internal::{closure_env#1}, isize> (panic.rs:358) | |
==2444257== by 0xC210BC: std::rt::lang_start_internal (rt.rs:174) | |
==2444257== by 0x378FD3: main (in /home/alex/code/wat/target/x86_64-unknown-linux-gnu/release/wat) | |
==2444257== Block was alloc'd by thread #1 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB12C0 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x485A82A: memmove (vg_replace_strmem.c:1413) | |
==2444257== by 0x6034F0: read<wasmtime_cranelift::compiler::CompilerContext> (mod.rs:1385) | |
==2444257== by 0x6034F0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034F0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb12c0 is 0 bytes inside a block of size 5,024 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C6456: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6456: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6456: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB12C8 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x485A830: memmove (vg_replace_strmem.c:1413) | |
==2444257== by 0x6034F0: read<wasmtime_cranelift::compiler::CompilerContext> (mod.rs:1385) | |
==2444257== by 0x6034F0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034F0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb12c8 is 8 bytes inside a block of size 5,024 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C6456: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6456: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6456: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB12D0 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x485A838: memmove (vg_replace_strmem.c:1413) | |
==2444257== by 0x6034F0: read<wasmtime_cranelift::compiler::CompilerContext> (mod.rs:1385) | |
==2444257== by 0x6034F0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034F0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb12d0 is 16 bytes inside a block of size 5,024 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C6456: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6456: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6456: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB12D8 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x485A840: memmove (vg_replace_strmem.c:1413) | |
==2444257== by 0x6034F0: read<wasmtime_cranelift::compiler::CompilerContext> (mod.rs:1385) | |
==2444257== by 0x6034F0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034F0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb12d8 is 24 bytes inside a block of size 5,024 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C6456: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6456: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6456: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB1300 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x485A853: memmove (vg_replace_strmem.c:1413) | |
==2444257== by 0x6034F0: read<wasmtime_cranelift::compiler::CompilerContext> (mod.rs:1385) | |
==2444257== by 0x6034F0: pop<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2509) | |
==2444257== by 0x6034F0: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:839) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb1300 is 64 bytes inside a block of size 5,024 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C6456: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6456: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C6456: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x6054BB: push<wasmtime_cranelift::compiler::CompilerContext, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x6054BB: wasmtime_cranelift::compiler::FunctionCompiler::finish_with_info (compiler.rs:1057) | |
==2444257== by 0x5FF175: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:276) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB4230 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8D8159: UnknownInlinedFun (raw_vec.rs:404) | |
==2444257== by 0x8D8159: drop_in_place<alloc::raw_vec::RawVec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8159: drop_in_place<alloc::vec::Vec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8159: drop_in_place<cranelift_codegen::ir::extfunc::Signature> (mod.rs:523) | |
==2444257== by 0x8D8159: drop_in_place<[cranelift_codegen::ir::extfunc::Signature]> (mod.rs:523) | |
==2444257== by 0x8D8159: clear<cranelift_codegen::ir::extfunc::Signature, alloc::alloc::Global> (mod.rs:2665) | |
==2444257== by 0x8D8159: clear<cranelift_codegen::ir::entities::SigRef, cranelift_codegen::ir::extfunc::Signature> (primary.rs:112) | |
==2444257== by 0x8D8159: cranelift_codegen::ir::dfg::DataFlowGraph::clear (dfg.rs:193) | |
==2444257== by 0x8DC6F0: clear (function.rs:209) | |
==2444257== by 0x8DC6F0: cranelift_codegen::ir::function::Function::clear (function.rs:433) | |
==2444257== by 0x8F2D42: cranelift_codegen::context::Context::clear (context.rs:85) | |
==2444257== by 0x6036A1: {closure#0} (compiler.rs:844) | |
==2444257== by 0x6036A1: map<wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::{impl#4}::function_compiler::{closure_env#0}> (option.rs:1119) | |
==2444257== by 0x6036A1: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:843) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4230 is 0 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9098F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9098F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9098F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DBD10: cranelift_codegen::ir::function::FunctionStencil::import_signature (function.rs:234) | |
==2444257== by 0x600681: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:416) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB4238 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8D8162: UnknownInlinedFun (raw_vec.rs:404) | |
==2444257== by 0x8D8162: drop_in_place<alloc::raw_vec::RawVec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8162: drop_in_place<alloc::vec::Vec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8162: drop_in_place<cranelift_codegen::ir::extfunc::Signature> (mod.rs:523) | |
==2444257== by 0x8D8162: drop_in_place<[cranelift_codegen::ir::extfunc::Signature]> (mod.rs:523) | |
==2444257== by 0x8D8162: clear<cranelift_codegen::ir::extfunc::Signature, alloc::alloc::Global> (mod.rs:2665) | |
==2444257== by 0x8D8162: clear<cranelift_codegen::ir::entities::SigRef, cranelift_codegen::ir::extfunc::Signature> (primary.rs:112) | |
==2444257== by 0x8D8162: cranelift_codegen::ir::dfg::DataFlowGraph::clear (dfg.rs:193) | |
==2444257== by 0x8DC6F0: clear (function.rs:209) | |
==2444257== by 0x8DC6F0: cranelift_codegen::ir::function::Function::clear (function.rs:433) | |
==2444257== by 0x8F2D42: cranelift_codegen::context::Context::clear (context.rs:85) | |
==2444257== by 0x6036A1: {closure#0} (compiler.rs:844) | |
==2444257== by 0x6036A1: map<wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::{impl#4}::function_compiler::{closure_env#0}> (option.rs:1119) | |
==2444257== by 0x6036A1: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:843) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4238 is 8 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9098F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9098F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9098F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DBD10: cranelift_codegen::ir::function::FunctionStencil::import_signature (function.rs:234) | |
==2444257== by 0x600681: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:416) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB4248 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8D8176: UnknownInlinedFun (raw_vec.rs:404) | |
==2444257== by 0x8D8176: drop_in_place<alloc::raw_vec::RawVec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8176: drop_in_place<alloc::vec::Vec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D8176: drop_in_place<cranelift_codegen::ir::extfunc::Signature> (mod.rs:523) | |
==2444257== by 0x8D8176: drop_in_place<[cranelift_codegen::ir::extfunc::Signature]> (mod.rs:523) | |
==2444257== by 0x8D8176: clear<cranelift_codegen::ir::extfunc::Signature, alloc::alloc::Global> (mod.rs:2665) | |
==2444257== by 0x8D8176: clear<cranelift_codegen::ir::entities::SigRef, cranelift_codegen::ir::extfunc::Signature> (primary.rs:112) | |
==2444257== by 0x8D8176: cranelift_codegen::ir::dfg::DataFlowGraph::clear (dfg.rs:193) | |
==2444257== by 0x8DC6F0: clear (function.rs:209) | |
==2444257== by 0x8DC6F0: cranelift_codegen::ir::function::Function::clear (function.rs:433) | |
==2444257== by 0x8F2D42: cranelift_codegen::context::Context::clear (context.rs:85) | |
==2444257== by 0x6036A1: {closure#0} (compiler.rs:844) | |
==2444257== by 0x6036A1: map<wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::{impl#4}::function_compiler::{closure_env#0}> (option.rs:1119) | |
==2444257== by 0x6036A1: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:843) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4248 is 24 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9098F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9098F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9098F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DBD10: cranelift_codegen::ir::function::FunctionStencil::import_signature (function.rs:234) | |
==2444257== by 0x600681: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:416) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 8 at 0x4BB4250 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8D817F: UnknownInlinedFun (raw_vec.rs:404) | |
==2444257== by 0x8D817F: drop_in_place<alloc::raw_vec::RawVec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D817F: drop_in_place<alloc::vec::Vec<cranelift_codegen::ir::extfunc::AbiParam, alloc::alloc::Global>> (mod.rs:523) | |
==2444257== by 0x8D817F: drop_in_place<cranelift_codegen::ir::extfunc::Signature> (mod.rs:523) | |
==2444257== by 0x8D817F: drop_in_place<[cranelift_codegen::ir::extfunc::Signature]> (mod.rs:523) | |
==2444257== by 0x8D817F: clear<cranelift_codegen::ir::extfunc::Signature, alloc::alloc::Global> (mod.rs:2665) | |
==2444257== by 0x8D817F: clear<cranelift_codegen::ir::entities::SigRef, cranelift_codegen::ir::extfunc::Signature> (primary.rs:112) | |
==2444257== by 0x8D817F: cranelift_codegen::ir::dfg::DataFlowGraph::clear (dfg.rs:193) | |
==2444257== by 0x8DC6F0: clear (function.rs:209) | |
==2444257== by 0x8DC6F0: cranelift_codegen::ir::function::Function::clear (function.rs:433) | |
==2444257== by 0x8F2D42: cranelift_codegen::context::Context::clear (context.rs:85) | |
==2444257== by 0x6036A1: {closure#0} (compiler.rs:844) | |
==2444257== by 0x6036A1: map<wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::CompilerContext, wasmtime_cranelift::compiler::{impl#4}::function_compiler::{closure_env#0}> (option.rs:1119) | |
==2444257== by 0x6036A1: wasmtime_cranelift::compiler::Compiler::function_compiler (compiler.rs:843) | |
==2444257== by 0x5FECA0: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:197) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4250 is 32 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9098F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9098F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9098F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DBD10: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DBD10: cranelift_codegen::ir::function::FunctionStencil::import_signature (function.rs:234) | |
==2444257== by 0x600681: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:416) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0430 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8DA9C9: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8DA9C9: UnknownInlinedFun (mod.rs:2426) | |
==2444257== by 0x8DA9C9: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DA9C9: add (dfg.rs:57) | |
==2444257== by 0x8DA9C9: cranelift_codegen::ir::dfg::DataFlowGraph::make_block (dfg.rs:1211) | |
==2444257== by 0x639671: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:334) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== | |
==2444257== This conflicts with a previous read of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0x46E9A4: {closure#1}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:484) | |
==2444257== by 0x46E9A4: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0430 is 0 bytes inside a block of size 16 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9095AF: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9095AF: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9095AF: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DA9C4: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DA9C4: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DA9C4: add (dfg.rs:57) | |
==2444257== by 0x8DA9C4: cranelift_codegen::ir::dfg::DataFlowGraph::make_block (dfg.rs:1211) | |
==2444257== by 0x639671: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:334) | |
==2444257== by 0x60037A: builder (compiler.rs:954) | |
==2444257== by 0x60037A: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:375) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0800 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x64104D: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x64104D: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x64104D: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x64104D: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0800 is 0 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0804 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641050: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641050: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641050: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641050: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0804 is 4 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0808 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641053: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641053: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641053: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641053: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0808 is 8 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB080C by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641057: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641057: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641057: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641057: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb080c is 12 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB4350 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8AC829: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8AC829: UnknownInlinedFun (mod.rs:3141) | |
==2444257== by 0x8AC829: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x8AC829: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x8AC829: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x8DAAA1: cranelift_codegen::ir::dfg::DataFlowGraph::append_block_param (dfg.rs:1232) | |
==2444257== by 0x63A5EF: cranelift_frontend::frontend::FunctionBuilder::append_block_params_for_function_params (frontend.rs:661) | |
==2444257== by 0x5A5AFD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:75) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4350 is 0 bytes inside a block of size 512 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x5C5A91: realloc (alloc.rs:136) | |
==2444257== by 0x5C5A91: grow_impl (alloc.rs:225) | |
==2444257== by 0x5C5A91: grow (alloc.rs:282) | |
==2444257== by 0x5C5A91: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x5C6962: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6962: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x626279: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x626279: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x603E1A: UnknownInlinedFun (inst_builder.rs:189) | |
==2444257== by 0x603E1A: call_indirect_host<wasmtime_environ::builtin::BuiltinFunctionIndex> (compiler.rs:179) | |
==2444257== by 0x603E1A: wasmtime_cranelift::compiler::Compiler::call_builtin (compiler.rs:929) | |
==2444257== by 0x603B22: wasmtime_cranelift::compiler::Compiler::raise_if_host_trapped (compiler.rs:893) | |
==2444257== by 0x600700: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:425) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB4358 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8AC831: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8AC831: UnknownInlinedFun (mod.rs:3141) | |
==2444257== by 0x8AC831: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x8AC831: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x8AC831: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x8DAAA1: cranelift_codegen::ir::dfg::DataFlowGraph::append_block_param (dfg.rs:1232) | |
==2444257== by 0x63A5EF: cranelift_frontend::frontend::FunctionBuilder::append_block_params_for_function_params (frontend.rs:661) | |
==2444257== by 0x5A5AFD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:75) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb4358 is 8 bytes inside a block of size 512 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x5C5A91: realloc (alloc.rs:136) | |
==2444257== by 0x5C5A91: grow_impl (alloc.rs:225) | |
==2444257== by 0x5C5A91: grow (alloc.rs:282) | |
==2444257== by 0x5C5A91: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x5C6962: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6962: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x626279: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x626279: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x603E1A: UnknownInlinedFun (inst_builder.rs:189) | |
==2444257== by 0x603E1A: call_indirect_host<wasmtime_environ::builtin::BuiltinFunctionIndex> (compiler.rs:179) | |
==2444257== by 0x603E1A: wasmtime_cranelift::compiler::Compiler::call_builtin (compiler.rs:929) | |
==2444257== by 0x603B22: wasmtime_cranelift::compiler::Compiler::raise_if_host_trapped (compiler.rs:893) | |
==2444257== by 0x600700: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:425) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB3230 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8DAB00: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8DAB00: UnknownInlinedFun (mod.rs:2426) | |
==2444257== by 0x8DAB00: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DAB00: make_value (dfg.rs:329) | |
==2444257== by 0x8DAB00: cranelift_codegen::ir::dfg::DataFlowGraph::append_block_param (dfg.rs:1234) | |
==2444257== by 0x63A5EF: cranelift_frontend::frontend::FunctionBuilder::append_block_params_for_function_params (frontend.rs:661) | |
==2444257== by 0x5A5AFD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:75) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb3230 is 0 bytes inside a block of size 128 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x9094D1: realloc (alloc.rs:136) | |
==2444257== by 0x9094D1: grow_impl (alloc.rs:225) | |
==2444257== by 0x9094D1: grow (alloc.rs:282) | |
==2444257== by 0x9094D1: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x90A10F: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A10F: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x90A10F: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8D9963: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8D9963: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8D9963: make_value (dfg.rs:329) | |
==2444257== by 0x8D9963: make_inst_results_reusing<core::iter::sources::empty::Empty<core::option::Option<cranelift_codegen::ir::entities::Value>>> (dfg.rs:967) | |
==2444257== by 0x8D9963: cranelift_codegen::ir::dfg::DataFlowGraph::make_inst_results (dfg.rs:936) | |
==2444257== by 0x639233: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:122) | |
==2444257== by 0x60059C: UnknownInlinedFun (inst_builder.rs:4304) | |
==2444257== by 0x60059C: UnknownInlinedFun (inst_builder.rs:1225) | |
==2444257== by 0x60059C: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:403) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0750 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6ED7D1: write<cranelift_codegen::ir::layout::BlockNode> (mod.rs:1587) | |
==2444257== by 0x6ED7D1: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3149) | |
==2444257== by 0x6ED7D1: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED7D1: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x63A43E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb0750 is 0 bytes inside a block of size 80 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x90A512: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A512: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6ED830: reserve<alloc::alloc::Global> (raw_vec.rs:557) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (raw_vec.rs:333) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:1271) | |
==2444257== by 0x6ED830: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3130) | |
==2444257== by 0x6ED830: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED830: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x6391E2: ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x6391E2: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:119) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:4097) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:572) | |
==2444257== by 0x6004EC: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:392) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0754 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6ED7D4: write<cranelift_codegen::ir::layout::BlockNode> (mod.rs:1587) | |
==2444257== by 0x6ED7D4: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3149) | |
==2444257== by 0x6ED7D4: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED7D4: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x63A43E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb0754 is 4 bytes inside a block of size 80 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x90A512: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A512: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6ED830: reserve<alloc::alloc::Global> (raw_vec.rs:557) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (raw_vec.rs:333) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:1271) | |
==2444257== by 0x6ED830: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3130) | |
==2444257== by 0x6ED830: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED830: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x6391E2: ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x6391E2: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:119) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:4097) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:572) | |
==2444257== by 0x6004EC: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:392) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0758 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6ED7D8: write<cranelift_codegen::ir::layout::BlockNode> (mod.rs:1587) | |
==2444257== by 0x6ED7D8: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3149) | |
==2444257== by 0x6ED7D8: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED7D8: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x63A43E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb0758 is 8 bytes inside a block of size 80 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x90A512: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A512: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6ED830: reserve<alloc::alloc::Global> (raw_vec.rs:557) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (raw_vec.rs:333) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:1271) | |
==2444257== by 0x6ED830: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3130) | |
==2444257== by 0x6ED830: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED830: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x6391E2: ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x6391E2: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:119) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:4097) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:572) | |
==2444257== by 0x6004EC: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:392) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB075C by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6ED7DC: write<cranelift_codegen::ir::layout::BlockNode> (mod.rs:1587) | |
==2444257== by 0x6ED7DC: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3149) | |
==2444257== by 0x6ED7DC: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED7DC: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x63A43E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb075c is 12 bytes inside a block of size 80 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x90A512: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A512: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6ED830: reserve<alloc::alloc::Global> (raw_vec.rs:557) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (raw_vec.rs:333) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:1271) | |
==2444257== by 0x6ED830: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3130) | |
==2444257== by 0x6ED830: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED830: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x6391E2: ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x6391E2: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:119) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:4097) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:572) | |
==2444257== by 0x6004EC: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:392) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB0760 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6ED7DF: write<cranelift_codegen::ir::layout::BlockNode> (mod.rs:1587) | |
==2444257== by 0x6ED7DF: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3149) | |
==2444257== by 0x6ED7DF: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED7DF: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x63A43E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== Address 0x4bb0760 is 16 bytes inside a block of size 80 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x90A512: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x90A512: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6ED830: reserve<alloc::alloc::Global> (raw_vec.rs:557) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (raw_vec.rs:333) | |
==2444257== by 0x6ED830: reserve<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:1271) | |
==2444257== by 0x6ED830: extend_with<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3130) | |
==2444257== by 0x6ED830: resize<cranelift_codegen::ir::layout::BlockNode, alloc::alloc::Global> (mod.rs:3008) | |
==2444257== by 0x6ED830: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x73AD1C: index_mut<cranelift_codegen::ir::entities::Block, cranelift_codegen::ir::layout::BlockNode> (map.rs:179) | |
==2444257== by 0x73AD1C: cranelift_codegen::ir::layout::Layout::append_block (layout.rs:236) | |
==2444257== by 0x6391E2: ensure_inserted_block (frontend.rs:622) | |
==2444257== by 0x6391E2: <cranelift_frontend::frontend::FuncInstBuilder as cranelift_codegen::ir::builder::InstBuilderBase>::build (frontend.rs:119) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:4097) | |
==2444257== by 0x6004EC: UnknownInlinedFun (inst_builder.rs:572) | |
==2444257== by 0x6004EC: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:392) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB09C0 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x640C5F: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x640C5F: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x640C5F: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x640C5F: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x63A46E: index_mut<cranelift_codegen::ir::entities::Block, cranelift_frontend::frontend::BlockStatus> (map.rs:179) | |
==2444257== by 0x63A46E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:624) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb09c0 is 0 bytes inside a block of size 8 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x640CA2: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x640CA2: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x640CA2: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x640CA2: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x640CA2: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x640CA2: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x63A46E: index_mut<cranelift_codegen::ir::entities::Block, cranelift_frontend::frontend::BlockStatus> (map.rs:179) | |
==2444257== by 0x63A46E: cranelift_frontend::frontend::FunctionBuilder::ensure_inserted_block (frontend.rs:624) | |
==2444257== by 0x5A5B1A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:81) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 1 at 0x4BB4350 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8DAA1D: UnknownInlinedFun (list.rs:185) | |
==2444257== by 0x8DAA1D: UnknownInlinedFun (option.rs:1119) | |
==2444257== by 0x8DAA1D: UnknownInlinedFun (list.rs:185) | |
==2444257== by 0x8DAA1D: UnknownInlinedFun (list.rs:315) | |
==2444257== by 0x8DAA1D: params (dfg.rs:1419) | |
==2444257== by 0x8DAA1D: cranelift_codegen::ir::dfg::DataFlowGraph::block_params (dfg.rs:1221) | |
==2444257== by 0x5A5B4A: declare_wasm_parameters (func_translator.rs:128) | |
==2444257== by 0x5A5B4A: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:83) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb4350 is 0 bytes inside a block of size 512 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x5C5A91: realloc (alloc.rs:136) | |
==2444257== by 0x5C5A91: grow_impl (alloc.rs:225) | |
==2444257== by 0x5C5A91: grow (alloc.rs:282) | |
==2444257== by 0x5C5A91: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x5C6962: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6962: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x626279: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x626279: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x603E1A: UnknownInlinedFun (inst_builder.rs:189) | |
==2444257== by 0x603E1A: call_indirect_host<wasmtime_environ::builtin::BuiltinFunctionIndex> (compiler.rs:179) | |
==2444257== by 0x603E1A: wasmtime_cranelift::compiler::Compiler::call_builtin (compiler.rs:929) | |
==2444257== by 0x603B22: wasmtime_cranelift::compiler::Compiler::raise_if_host_trapped (compiler.rs:893) | |
==2444257== by 0x600700: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:425) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 1 at 0x4BB4354 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x5A5B54: declare_wasm_parameters (func_translator.rs:128) | |
==2444257== by 0x5A5B54: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:83) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== by 0x378B69: wasmtime::runtime::module::Module::new (module.rs:245) | |
==2444257== Address 0x4bb4354 is 4 bytes inside a block of size 512 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x5C5A91: realloc (alloc.rs:136) | |
==2444257== by 0x5C5A91: grow_impl (alloc.rs:225) | |
==2444257== by 0x5C5A91: grow (alloc.rs:282) | |
==2444257== by 0x5C5A91: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x5C6962: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6962: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x626279: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x626279: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x603E1A: UnknownInlinedFun (inst_builder.rs:189) | |
==2444257== by 0x603E1A: call_indirect_host<wasmtime_environ::builtin::BuiltinFunctionIndex> (compiler.rs:179) | |
==2444257== by 0x603E1A: wasmtime_cranelift::compiler::Compiler::call_builtin (compiler.rs:929) | |
==2444257== by 0x603B22: wasmtime_cranelift::compiler::Compiler::raise_if_host_trapped (compiler.rs:893) | |
==2444257== by 0x600700: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:425) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0434 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8DA9C9: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8DA9C9: UnknownInlinedFun (mod.rs:2426) | |
==2444257== by 0x8DA9C9: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DA9C9: add (dfg.rs:57) | |
==2444257== by 0x8DA9C9: cranelift_codegen::ir::dfg::DataFlowGraph::make_block (dfg.rs:1211) | |
==2444257== by 0x639671: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:334) | |
==2444257== by 0x5A5BD5: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:87) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== | |
==2444257== This conflicts with a previous read of size 8 by thread #2 | |
==2444257== Locks held: none | |
==2444257== at 0x46E9A4: {closure#1}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:484) | |
==2444257== by 0x46E9A4: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0434 is 4 bytes inside a block of size 16 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x9094EE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x9095AF: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x9095AF: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x9095AF: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x8DA9C4: UnknownInlinedFun (mod.rs:2422) | |
==2444257== by 0x8DA9C4: UnknownInlinedFun (primary.rs:123) | |
==2444257== by 0x8DA9C4: add (dfg.rs:57) | |
==2444257== by 0x8DA9C4: cranelift_codegen::ir::dfg::DataFlowGraph::make_block (dfg.rs:1211) | |
==2444257== by 0x639671: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:334) | |
==2444257== by 0x60037A: builder (compiler.rs:954) | |
==2444257== by 0x60037A: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:375) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0810 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x64104D: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x64104D: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x64104D: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x64104D: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5BD5: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:87) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0810 is 16 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0814 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641050: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641050: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641050: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641050: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5BD5: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:87) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0814 is 20 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0818 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641053: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641053: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641053: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641053: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5BD5: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:87) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb0818 is 24 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB081C by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x641057: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x641057: UnknownInlinedFun (mod.rs:3149) | |
==2444257== by 0x641057: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x641057: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5BD5: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:87) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== Address 0x4bb081c is 28 bytes inside a block of size 64 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x641C7E: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x641F02: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x641F02: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x6410A3: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x6410A3: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x6410A3: cranelift_entity::map::SecondaryMap<K,V>::resize_for_index_mut (map.rs:136) | |
==2444257== by 0x639692: UnknownInlinedFun (map.rs:179) | |
==2444257== by 0x639692: UnknownInlinedFun (ssa.rs:336) | |
==2444257== by 0x639692: cranelift_frontend::frontend::FunctionBuilder::create_block (frontend.rs:335) | |
==2444257== by 0x5A5AE7: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:74) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0x4BB0A10 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x622497: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x622497: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x622497: push_block (state.rs:401) | |
==2444257== by 0x622497: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a10 is 0 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0x4BB0A18 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x62249F: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x62249F: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x62249F: push_block (state.rs:401) | |
==2444257== by 0x62249F: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a18 is 8 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 8 at 0x4BB0A20 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6224A4: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x6224A4: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x6224A4: push_block (state.rs:401) | |
==2444257== by 0x6224A4: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a20 is 16 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0A28 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6224A9: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x6224A9: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x6224A9: push_block (state.rs:401) | |
==2444257== by 0x6224A9: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a28 is 24 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB0A2C by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6224AE: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x6224AE: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x6224AE: push_block (state.rs:401) | |
==2444257== by 0x6224AE: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a2c is 28 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 4 at 0x4BB0A34 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x6224B3: write<wasmtime_cranelift::translate::state::ControlStackFrame> (mod.rs:1587) | |
==2444257== by 0x6224B3: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2426) | |
==2444257== by 0x6224B3: push_block (state.rs:401) | |
==2444257== by 0x6224B3: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a34 is 36 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 1 at 0x4BB0A2C by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x5A1FC4: wasmtime_cranelift::translate::code_translator::translate_operator (code_translator.rs:0) | |
==2444257== by 0x5A64CD: parse_function_body<wasmparser::validator::core::ValidatorResources> (func_translator.rs:252) | |
==2444257== by 0x5A64CD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:92) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a2c is 28 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during read of size 2 at 0x4BB0A2E by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x5A1FC4: wasmtime_cranelift::translate::code_translator::translate_operator (code_translator.rs:0) | |
==2444257== by 0x5A64CD: parse_function_body<wasmparser::validator::core::ValidatorResources> (func_translator.rs:252) | |
==2444257== by 0x5A64CD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:92) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== by 0x4D03FC: {closure#0}<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:48) | |
==2444257== by 0x4D03FC: core::ops::function::FnOnce::call_once (function.rs:250) | |
==2444257== by 0x545ED5: wasmtime_cache::ModuleCacheEntry::get_data_raw (lib.rs:83) | |
==2444257== by 0x4D8FC7: compile_cached<(wasmtime_environ::module_artifacts::CompiledModuleInfo, wasmtime_environ::module_types::ModuleTypes), wasmtime::compile::runtime::CustomAlignment> (runtime.rs:43) | |
==2444257== by 0x4D8FC7: wasmtime::compile::runtime::<impl wasmtime::compile::code_builder::CodeBuilder>::compile_module (runtime.rs:98) | |
==2444257== Address 0x4bb0a2e is 30 bytes inside a block of size 224 alloc'd | |
==2444257== at 0x484888F: malloc (vg_replace_malloc.c:446) | |
==2444257== by 0x5C5AAE: alloc::raw_vec::finish_grow (raw_vec.rs:0) | |
==2444257== by 0x5C65F1: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C65F1: grow_one<alloc::alloc::Global> (raw_vec.rs:565) | |
==2444257== by 0x5C65F1: alloc::raw_vec::RawVec<T,A>::grow_one (raw_vec.rs:342) | |
==2444257== by 0x62248E: push<wasmtime_cranelift::translate::state::ControlStackFrame, alloc::alloc::Global> (mod.rs:2422) | |
==2444257== by 0x62248E: push_block (state.rs:401) | |
==2444257== by 0x62248E: wasmtime_cranelift::translate::state::FuncTranslationState::initialize (state.rs:284) | |
==2444257== by 0x5A5C0C: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:89) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB4360 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8AC829: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8AC829: UnknownInlinedFun (mod.rs:3141) | |
==2444257== by 0x8AC829: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x8AC829: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x8AC829: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x8D83D1: UnknownInlinedFun (instructions.rs:74) | |
==2444257== by 0x8D83D1: cranelift_codegen::ir::dfg::DataFlowGraph::block_call (dfg.rs:230) | |
==2444257== by 0x5A502F: UnknownInlinedFun (inst_builder.rs:27) | |
==2444257== by 0x5A502F: wasmtime_cranelift::translate::code_translator::canonicalise_then_jump (code_translator.rs:3947) | |
==2444257== by 0x5A1FE2: wasmtime_cranelift::translate::code_translator::translate_operator (code_translator.rs:440) | |
==2444257== by 0x5A64CD: parse_function_body<wasmparser::validator::core::ValidatorResources> (func_translator.rs:252) | |
==2444257== by 0x5A64CD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:92) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== by 0x47B24E: wasmtime::compile::build_artifacts (compile.rs:85) | |
==2444257== Address 0x4bb4360 is 16 bytes inside a block of size 512 alloc'd | |
==2444257== at 0x4850488: realloc (vg_replace_malloc.c:1800) | |
==2444257== by 0x5C5A91: realloc (alloc.rs:136) | |
==2444257== by 0x5C5A91: grow_impl (alloc.rs:225) | |
==2444257== by 0x5C5A91: grow (alloc.rs:282) | |
==2444257== by 0x5C5A91: alloc::raw_vec::finish_grow (raw_vec.rs:775) | |
==2444257== by 0x5C6962: grow_amortized<alloc::alloc::Global> (raw_vec.rs:658) | |
==2444257== by 0x5C6962: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle (raw_vec.rs:551) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:557) | |
==2444257== by 0x626279: UnknownInlinedFun (raw_vec.rs:333) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:1271) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3130) | |
==2444257== by 0x626279: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x626279: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x626279: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x603E1A: UnknownInlinedFun (inst_builder.rs:189) | |
==2444257== by 0x603E1A: call_indirect_host<wasmtime_environ::builtin::BuiltinFunctionIndex> (compiler.rs:179) | |
==2444257== by 0x603E1A: wasmtime_cranelift::compiler::Compiler::call_builtin (compiler.rs:929) | |
==2444257== by 0x603B22: wasmtime_cranelift::compiler::Compiler::raise_if_host_trapped (compiler.rs:893) | |
==2444257== by 0x600700: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_wasm_to_array_trampoline (compiler.rs:425) | |
==2444257== by 0x46E881: {closure#2}<core::iter::adapters::map::Map<cranelift_entity::iter::IterMut<wasmtime_environ::types::StaticModuleIndex, wasmtime_environ::compile::module_environ::ModuleTranslation>, wasmtime::compile::build_component_artifacts::{closure_env#0}<alloc::vec::Vec<u8, alloc::alloc::Global>>>> (compile.rs:513) | |
==2444257== by 0x46E881: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FDBB: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FDBB: extend_desugared<wasmtime::compile::CompileOutput, alloc::alloc::Global, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3535) | |
==2444257== by 0x53FDBB: spec_extend<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::alloc::Global> (spec_extend.rs:19) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:42) | |
==2444257== by 0x53FDBB: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FDBB: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>> (result.rs:1985) | |
==2444257== by 0x46483E: core::iter::adapters::try_process (mod.rs:160) | |
==2444257== by 0x47C10C: UnknownInlinedFun (result.rs:1985) | |
==2444257== by 0x47C10C: UnknownInlinedFun (iterator.rs:1971) | |
==2444257== by 0x47C10C: UnknownInlinedFun (engine.rs:178) | |
==2444257== by 0x47C10C: wasmtime::compile::CompileInputs::compile (compile.rs:533) | |
==2444257== Block was alloc'd by thread #2 | |
==2444257== | |
==2444257== ---------------------------------------------------------------- | |
==2444257== | |
==2444257== Possible data race during write of size 1 at 0x4BB4368 by thread #3 | |
==2444257== Locks held: none | |
==2444257== at 0x8AC831: UnknownInlinedFun (mod.rs:1587) | |
==2444257== by 0x8AC831: UnknownInlinedFun (mod.rs:3141) | |
==2444257== by 0x8AC831: UnknownInlinedFun (mod.rs:3008) | |
==2444257== by 0x8AC831: alloc<cranelift_codegen::ir::entities::Value> (list.rs:207) | |
==2444257== by 0x8AC831: cranelift_entity::list::EntityList<T>::push (list.rs:395) | |
==2444257== by 0x8D83D1: UnknownInlinedFun (instructions.rs:74) | |
==2444257== by 0x8D83D1: cranelift_codegen::ir::dfg::DataFlowGraph::block_call (dfg.rs:230) | |
==2444257== by 0x5A502F: UnknownInlinedFun (inst_builder.rs:27) | |
==2444257== by 0x5A502F: wasmtime_cranelift::translate::code_translator::canonicalise_then_jump (code_translator.rs:3947) | |
==2444257== by 0x5A1FE2: wasmtime_cranelift::translate::code_translator::translate_operator (code_translator.rs:440) | |
==2444257== by 0x5A64CD: parse_function_body<wasmparser::validator::core::ValidatorResources> (func_translator.rs:252) | |
==2444257== by 0x5A64CD: wasmtime_cranelift::translate::func_translator::FuncTranslator::translate_body (func_translator.rs:92) | |
==2444257== by 0x5FF099: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::compile_function (compiler.rs:269) | |
==2444257== by 0x46E3CF: {closure#0}<[(wasmtime_environ::types::StaticModuleIndex, &wasmtime_environ::compile::module_environ::ModuleTranslation, cranelift_entity::primary::PrimaryMap<wasmtime_environ::types::DefinedFuncIndex, wasmtime_environ::compile::module_environ::FunctionBodyData>); 1]> (compile.rs:453) | |
==2444257== by 0x46E3CF: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:250) | |
==2444257== by 0x46D750: UnknownInlinedFun (boxed.rs:2013) | |
==2444257== by 0x46D750: {closure#1} (compile.rs:585) | |
==2444257== by 0x46D750: {closure#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}> (engine.rs:177) | |
==2444257== by 0x46D750: {closure#0}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>, (), core::ops::control_flow::ControlFlow<core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, ()>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>, core::iter::adapters::{impl#0}::try_fold::{closure_env#0}<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::compile_required_builtins::{closure_env#1}>>, core::result::Result<core::convert::Infallible, anyhow::Error>, (), core::iter::traits::iterator::Iterator::try_for_each::call::{closure_env#0}<wasmtime::compile::CompileOutput, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>, fn(wasmtime::compile::CompileOutput) -> core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>, core::ops::control_flow::ControlFlow<wasmtime::compile::CompileOutput, ()>>> (map.rs:95) | |
==2444257== by 0x46D750: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold (into_iter.rs:346) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (map.rs:121) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:191) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (iterator.rs:2431) | |
==2444257== by 0x53FB4D: UnknownInlinedFun (mod.rs:174) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:25) | |
==2444257== by 0x53FB4D: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (spec_from_iter_nested.rs:19) | |
==2444257== by 0x53FB4D: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter (in_place_collect.rs:246) | |
==2444257== by 0x46483E: from_iter<wasmtime::compile::CompileOutput, core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>> (mod.rs:3427) | |
==2444257== by 0x46483E: collect<core::iter::adapters::GenericShunt<core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, wasmtime::engine::{impl#1}::run_maybe_parallel::{closure_env#1}<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(&dyn wasmtime_environ::compile::Compiler), Output=core::result::Result<wasmtime::compile::CompileOutput, anyhow::Error>> + core::marker::Send), alloc::alloc::Global>, wasmtime::compile::CompileOutput, anyhow::Error, wasmtime::compile::{impl#4}::compile::{closure_env#0}>>, core::result::Result<core::convert::Infallible, anyhow::Error>>, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>> (iterator.rs:1971) | |
==2444257== by 0x46483E: {closure#0}<wasmtime::compile::CompileOutput, anyhow::Error, alloc::vec::Vec<wasmtime::compile::CompileOutput, alloc::alloc::Global>, core::iter::adapters::map::Map<alloc::vec::into_iter::IntoIter<alloc::boxed::Box<(dyn core::op |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment