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

Error libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE #2889

Open
kate-goldenring opened this issue Oct 16, 2024 · 1 comment

Comments

@kate-goldenring
Copy link
Contributor

kate-goldenring commented Oct 16, 2024

Musl builds of the shim are throwing a libunwind error at startup. The app still works:

$ curl -L https://github.com/fermyon/spin/releases/download/canary/spin-canary-static-linux-amd64.tar.gz | tar -xvzf -
$ ./spin up --from ttl.sh/spin-foo-app:48h
libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE

Serving http://127.0.0.1:3000
Available Routes:
  foo: http://127.0.0.1:3000/foo

This may be due to Wasmtime failing to detect which unwind implementation to use (libgcc-vs-libunwind) which was supposed to be resolved by bytecodealliance/wasmtime#8028

@kate-goldenring
Copy link
Contributor Author

This should be resolved by pulling in Wasmtime with this commit: bytecodealliance/wasmtime#9479

Alternatively, we can set .native_unwind_info(false) on the wasmtime Config here, which would silence this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant