Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cranelift: failing assert during DWARF transform #8734

Closed
tschneidereit opened this issue Jun 2, 2024 · 1 comment
Closed

Cranelift: failing assert during DWARF transform #8734

tschneidereit opened this issue Jun 2, 2024 · 1 comment
Labels
bug Incorrect behavior in the current implementation that needs fixing cranelift Issues related to the Cranelift code generator

Comments

@tschneidereit
Copy link
Member

Steps to Reproduce

  1. Download and unzip this file.
  2. With Add basic support for DWARF processing with components #8693 applied to current main, run the following:
wasmtime serve -S common -D debug-info runtime-eval.wasm

Expected Results

Wasmtime serving the runtime-eval.wasm component as a wasi:http/proxy handler.

Actual Results

A panic with the following output:

thread 'main' panicked at crates/cranelift/src/debug/transform/unit.rs:401:17:
assertion `left == right` failed
  left: StaticModuleIndex(1)
 right: StaticModuleIndex(0)

Versions and Environment

Cranelift version or commit: See STR

Operating system: MacOS Version 14.5 (23F79)

Architecture: Aarch64

@alexcrichton this is the bug I mentioned that I encountered when trying #8693.

@tschneidereit tschneidereit added bug Incorrect behavior in the current implementation that needs fixing cranelift Issues related to the Cranelift code generator labels Jun 2, 2024
@alexcrichton
Copy link
Member

Fixed now in the latest commits of #8693, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior in the current implementation that needs fixing cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

No branches or pull requests

2 participants