Destructor17 opened issue #12808:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
Steps to Reproduce
let engine = wasmtime::Engine::new(wasmtime::Config::new().guest_debug(true)).unwrap(); wasmtime::Module::from_file(&engine, "path/to/main.wasm").unwrap();Expected Results
Module compiles successfully
Actual Results
An assertion failed
thread '<unnamed>' (62495) panicked at external/wasmtime/crates/cranelift/src/translate/stack.rs:548:9: assertion failed: self.stack_shape.is_empty() || self.stack_shape.len() == self.stack.len()Versions and Environment
Wasmtime version or commit: 4834727
Operating system: Ubuntu 25.10
Architecture: x86_64
Extra Info
Backtrace (not attached, sorry) mentions debug_tags from commit above
Destructor17 added the bug label to Issue #12808.
Destructor17 edited issue #12808:
Test Case
Steps to Reproduce
let engine = wasmtime::Engine::new(wasmtime::Config::new().guest_debug(true)).unwrap(); wasmtime::Module::from_file(&engine, "path/to/main.wasm").unwrap();Expected Results
Module compiles successfully
Actual Results
An assertion failed
thread '<unnamed>' (62495) panicked at external/wasmtime/crates/cranelift/src/translate/stack.rs:548:9: assertion failed: self.stack_shape.is_empty() || self.stack_shape.len() == self.stack.len()Versions and Environment
Wasmtime version or commit: 4834727
Operating system: Ubuntu 25.10
Architecture: x86_64
Extra Info
Backtrace (not attached, sorry) mentions debug_tags from commit above
alexcrichton added the wasmtime:debugging label to Issue #12808.
Destructor17 edited issue #12808:
Test Case
Steps to Reproduce
let engine = wasmtime::Engine::new(wasmtime::Config::new().guest_debug(true)).unwrap(); wasmtime::Module::from_file(&engine, "path/to/main.wasm").unwrap();Expected Results
Module compiles successfully
Actual Results
An assertion failed
thread '<unnamed>' (62495) panicked at external/wasmtime/crates/cranelift/src/translate/stack.rs:548:9: assertion failed: self.stack_shape.is_empty() || self.stack_shape.len() == self.stack.len()Versions and Environment
Wasmtime version or commit: 4834727
Operating system: Ubuntu 25.10
Architecture: x86_64
alexcrichton closed issue #12808:
Test Case
Steps to Reproduce
let engine = wasmtime::Engine::new(wasmtime::Config::new().guest_debug(true)).unwrap(); wasmtime::Module::from_file(&engine, "path/to/main.wasm").unwrap();Expected Results
Module compiles successfully
Actual Results
An assertion failed
thread '<unnamed>' (62495) panicked at external/wasmtime/crates/cranelift/src/translate/stack.rs:548:9: assertion failed: self.stack_shape.is_empty() || self.stack_shape.len() == self.stack.len()Versions and Environment
Wasmtime version or commit: 4834727
Operating system: Ubuntu 25.10
Architecture: x86_64
Last updated: Mar 23 2026 at 16:19 UTC