repi opened issue #6433:
Test Case
The Linux
perfsupport enabled withProfilingStrategy::PerfMapnow with wasmtime v9.0.0 panics inwasmtime-jitSteps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jiton anOption::unwrapfrom:/// Returns an iterator over all array-to-Wasm trampolines defined within /// this module, providing both their index and their in-memory body. pub fn array_to_wasm_trampolines( &self, ) -> impl ExactSizeIterator<Item = (DefinedFuncIndex, &[u8])> + '_ { self.funcs .keys() .map(move |i| (i, self.array_to_wasm_trampoline(i).unwrap())) }Versions and Environment
Wasmtime version or commit: 9.0.0
Operating system: Linux
Architecture: x64
Extra Info
This panic didn't happen on v8.0.1.
Likely caused by either these PRs?
- #6262
- #6358
repi labeled issue #6433:
Test Case
The Linux
perfsupport enabled withProfilingStrategy::PerfMapnow with wasmtime v9.0.0 panics inwasmtime-jitSteps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jiton anOption::unwrapfrom:/// Returns an iterator over all array-to-Wasm trampolines defined within /// this module, providing both their index and their in-memory body. pub fn array_to_wasm_trampolines( &self, ) -> impl ExactSizeIterator<Item = (DefinedFuncIndex, &[u8])> + '_ { self.funcs .keys() .map(move |i| (i, self.array_to_wasm_trampoline(i).unwrap())) }Versions and Environment
Wasmtime version or commit: 9.0.0
Operating system: Linux
Architecture: x64
Extra Info
This panic didn't happen on v8.0.1.
Likely caused by either these PRs?
- #6262
- #6358
peterhuene commented on issue #6433:
I believe this is now fixed with 9.0.1's release.
peterhuene closed issue #6433:
Test Case
The Linux
perfsupport enabled withProfilingStrategy::PerfMapnow with wasmtime v9.0.0 panics inwasmtime-jitSteps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jiton anOption::unwrapfrom:/// Returns an iterator over all array-to-Wasm trampolines defined within /// this module, providing both their index and their in-memory body. pub fn array_to_wasm_trampolines( &self, ) -> impl ExactSizeIterator<Item = (DefinedFuncIndex, &[u8])> + '_ { self.funcs .keys() .map(move |i| (i, self.array_to_wasm_trampoline(i).unwrap())) }Versions and Environment
Wasmtime version or commit: 9.0.0
Operating system: Linux
Architecture: x64
Extra Info
This panic didn't happen on v8.0.1.
Likely caused by either these PRs?
- #6262
- #6358
repi commented on issue #6433:
thanks for quick fix! confirmed that 9.0.1 fixes it!
Last updated: Dec 06 2025 at 06:05 UTC