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

Segfault when processing a WebP image from an archive. #29

Open
mcpierce opened this issue Apr 23, 2022 · 2 comments
Open

Segfault when processing a WebP image from an archive. #29

mcpierce opened this issue Apr 23, 2022 · 2 comments

Comments

@mcpierce
Copy link

I'm reporting this bug on behalf of a user of my app for a bug they found that's ultimately occurring by webp-imageio. I'm sharing the log file they provided that shows the source of the bug.

hs_err_pid12.log

@gotson
Copy link

gotson commented Jun 14, 2022

Most likely because the container is running on Alpine, which uses musl instead of libc.

The included binary in this lib is only compiled for libc, not musl.

Switching to a Ubuntu or Debian base image should work.

@mcpierce
Copy link
Author

@gotson I think you're right, there. I see the following in the segfault from the logs they shared:

7f16c4821000-7f16c4836000 r--p 00000000 00:19 427                        /lib/ld-musl-x86_64.so.1
7f16c4836000-7f16c487e000 r-xp 00015000 00:19 427                        /lib/ld-musl-x86_64.so.1
7f16c487e000-7f16c48b4000 r--p 0005d000 00:19 427                        /lib/ld-musl-x86_64.so.1
7f16c48b4000-7f16c48b5000 r--p 00092000 00:19 427                        /lib/ld-musl-x86_64.so.1
7f16c48b5000-7f16c48b6000 rw-p 00093000 00:19 427                        /lib/ld-musl-x86_64.so.1

joostoudeman pushed a commit to joostoudeman/webp-imageio that referenced this issue Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants