corretto / corretto-21

GNU General Public License v2.0
65 stars 18 forks source link

JVM crash: "# V [libjvm.so+0x5ce614] ciKlass::is_subtype_of(ciKlass*)+0xb4" seems to be an issue with SoftReference<BufferedImage>.get #50

Open jezerinac opened 5 months ago

jezerinac commented 5 months ago

The following crash happens at least once a day in an active production environment and always in the same place. SoftReference.get call I assume. The library used is a very popular PDF lib; here is the source: https://github.com/apache/pdfbox/blob/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImageXObject.java

Here's is the hs_error file: hs_err_pid8_corretto21.log

lutkerd commented 5 months ago

Hi, The crash in your hs_err looks very similar to https://bugs.openjdk.org/browse/JDK-8321974 which will be fixed in 21.0.3, and be released on April 16th. If you are able to reproduce it locally, you can try a nightly build from https://downloads.corretto.aws/#/downloads?build=nightly&version=21 to verify.

Thanks.