repi opened issue #6433:
Test Case
The Linux
perf
support enabled withProfilingStrategy::PerfMap
now with wasmtime v9.0.0 panics inwasmtime-jit
Steps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);
Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jit
on anOption::unwrap
from:/// 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
perf
support enabled withProfilingStrategy::PerfMap
now with wasmtime v9.0.0 panics inwasmtime-jit
Steps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);
Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jit
on anOption::unwrap
from:/// 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
perf
support enabled withProfilingStrategy::PerfMap
now with wasmtime v9.0.0 panics inwasmtime-jit
Steps to Reproduce
Compile a module with
config.profiler(wasmtime::ProfilingStrategy::PerfMap);
Expected Results
It compiles
Actual Results
It panics inside
wasmtime-jit
on anOption::unwrap
from:/// 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: Nov 22 2024 at 16:03 UTC