Skip to content

"bad fde" warning when compiled for x86_64-unknown-linux-musl target #1904

@ueno

Description

@ueno

When wasmtime is compiled with cargo build --target x86_64-unknown-linux-musl, it produces a runtime warning as below:

$ ./target/x86_64-unknown-linux-musl/debug/wasmtime tests/wasm/hello_wasi_snapshot1.wat           
libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE
libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE
Hello, world!
  • What are the steps to reproduce the issue?
    See above.

  • What do you expect to happen? What does actually happen? Does it panic, and
    if so, with which assertion?
    I am actually not sure about the impact, but it looks like the FDE record is corrupted in the generated code.

  • Which Wasmtime version / commit hash / branch are you using?
    git master (f4e3e4e)

  • If relevant, can you include some extra information about your environment?
    (Rust version, operating system, architecture...)

    • rustc 1.43.0 (4fb7144ed 2020-04-20)
    • Fedora 32 (x86_64)

Metadata

Metadata

Assignees

Labels

bugIncorrect behavior in the current implementation that needs fixing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions