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

It crashes in Alpine Linux 3.13 and 3.14 #20

Open
DavidPerezIngeniero opened this issue Nov 9, 2021 · 1 comment
Open

It crashes in Alpine Linux 3.13 and 3.14 #20

DavidPerezIngeniero opened this issue Nov 9, 2021 · 1 comment

Comments

@DavidPerezIngeniero
Copy link

DavidPerezIngeniero commented Nov 9, 2021

Alpine Linux is very used in Docker containers because it is very lightweight.
The result is that it always crashes with Java 11:
SIGSEGV (0xb) at pc=0x000000000000b8a6

  com.luciad.imageio.webp.WebP.decode(J[BII[IZ)[I+0
  com.luciad.imageio.webp.WebP.decode(Lcom/luciad/imageio/webp/WebPDecoderOptions;[BII[I)[I+64
  com.luciad.imageio.webp.WebPReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+53
  javax.imageio.ImageIO.read(Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;+55 [email protected]
  javax.imageio.ImageIO.read(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;+34 [email protected]

Probably it is due to the fact that Alpine uses muslib and the native libray uses glibc.
How can I recompile the native library for Alpine?

@doublewaters
Copy link

In the docker of openjdk:8-alpine ,i meet this error also,how did you solve this problem
image

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