[ https://issues.apache.org/jira/browse/PDFBOX-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899322#comment-17899322 ]
Axel Howind commented on PDFBOX-5903: ------------------------------------- [~evgdev] Your Java version is quite outdated and this is not a PDFBox but a Hotspot issue. Try updating your docker image to one that runs an 21.0.5 version of OpenJDK. The Temurin releases 21.0.2 - 21.0.5 fix at least 10 different C2 compilation errors in Hotspot according to releasenotes. If the error still persists in 21.0.5, report it at bugs.openjdk.org or write to the 21u developers list (details on https://wiki.openjdk.org/display/JDKUpdates/JDK+21u). > Java fatal error on C2 compilation step > --------------------------------------- > > Key: PDFBOX-5903 > URL: https://issues.apache.org/jira/browse/PDFBOX-5903 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Reporter: Evgeny > Priority: Critical > Attachments: hs_err_pid1.log > > > Java fatal error on C2 compilation of > org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader::getRGBImage > PdfBox version 2.0.22 > We started detecting the error after migration the application on Java 21. > Previous java version was 17. > Issue reproduced on both Linux and Windows. > Attchaed file [^hs_err_pid1.log] is for application in docker, Java version > on windows: > openjdk 21.0.1 2023-10-17 LTS > OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) > OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, > sharing) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org