[ https://issues.apache.org/jira/browse/PDFBOX-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899254#comment-17899254 ]
Andreas Lehmkühler commented on PDFBOX-5903: -------------------------------------------- First of all you should update to a newer version of PDFBox, the most recent one is 2.0.32. 2.0.22 was released 5 years ago. This is a JDK/JRE issue and I'm afraid we can't do much about it, esspecially without any more context. I assume you are trying to render a pdf, aren't you? Can you provide a sample pdf triggering the described issue? > 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