Stream: git-wasmtime

Topic: wasmtime / issue #9333 Wasmtime error when handling debug...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2024 at 13:06):

bjorn3 added the bug label to Issue #9333.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2024 at 13:06):

bjorn3 opened issue #9333:

Test Case

wasm-zlib-benchmark.wasm.zip

Steps to Reproduce

Expected Results

Compiles fine

Actual Results

Error: failed to emit DWARF debug information

Caused by:
    Unexpected attribute: Data8(4294967295)

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: wasmtime_cranelift::debug::transform::attr::clone_die_attributes
   2: wasmtime_cranelift::debug::transform::unit::clone_unit
   3: wasmtime_cranelift::debug::transform::transform_dwarf
   4: wasmtime_cranelift::debug::write_debuginfo::emit_dwarf
   5: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::append_dwarf
   6: wasmtime::compile::FunctionIndices::link_and_append_code
   7: wasmtime::compile::build_artifacts
   8: wasmtime::compile::code_builder::CodeBuilder::compile_module_serialized

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.1

Operating system: Linux

Architecture: x86_64

Extra Info

This wasm file was compiled from https://github.com/folkertdev/wasm-zlib-benchmark- in release mode with debug info enabled.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2024 at 19:51):

fitzgen closed issue #9333:

Test Case

wasm-zlib-benchmark.wasm.zip

Steps to Reproduce

Expected Results

Compiles fine

Actual Results

Error: failed to emit DWARF debug information

Caused by:
    Unexpected attribute: Data8(4294967295)

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: wasmtime_cranelift::debug::transform::attr::clone_die_attributes
   2: wasmtime_cranelift::debug::transform::unit::clone_unit
   3: wasmtime_cranelift::debug::transform::transform_dwarf
   4: wasmtime_cranelift::debug::write_debuginfo::emit_dwarf
   5: <wasmtime_cranelift::compiler::Compiler as wasmtime_environ::compile::Compiler>::append_dwarf
   6: wasmtime::compile::FunctionIndices::link_and_append_code
   7: wasmtime::compile::build_artifacts
   8: wasmtime::compile::code_builder::CodeBuilder::compile_module_serialized

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.1

Operating system: Linux

Architecture: x86_64

Extra Info

This wasm file was compiled from https://github.com/folkertdev/wasm-zlib-benchmark- in release mode with debug info enabled.


Last updated: Nov 22 2024 at 16:03 UTC