Skip to content

libunwind warnings from musl build on each plugin #956

@scop

Description

@scop

Version: 0.48.0

The musl linux build emits these warnings for all compiled plugins

libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE

Reproducer:

docker run --rm -it alpine:3.21 # happens on other distros too (all?)

apk add curl

cd /tmp

curl -LO https://github.com/dprint/dprint/releases/download/0.49.0/dprint-x86_64-unknown-linux-musl.zip

unzip dprint-x86_64-unknown-linux-musl.zip

cat <<\EOF >.dprint.jsonc
{
  "plugins": [
    "https://plugins.dprint.dev/json-0.19.4.wasm",
  ],
}
EOF

./dprint >/dev/null
Compiling https://plugins.dprint.dev/json-0.19.4.wasm
libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE

./dprint >/dev/null
libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE

It doesn't seem anything's actually broken, but the warning isn't nice, especially with many plugins (it gets output once per plugin).

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions