You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The program crashes with a segfault, and a large amount of Java stack trace is outputted with various errors, for example:
java.lang.ClassCastException: <SPECjbb_CLASS> incompatible with javax.crypto.Cipher
java.lang.ClassCastException: [B incompatible with javax.crypto.Cipher
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: java.security.InvalidKeyException: The key must be -966444586 bytes
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: java.security.InvalidKeyException: The key must be 145 bytes
I ran Spring Boot Pet Clinic with the same JDK and -Xgcpolicy:metronome and no errors/crashes occurred, so it seems like this is specific to SPECjbb2015. Running the benchmark with -Xgcpolicy:optthruput or -Xgcpolicy:balanced did not result in any failures.
Diagnostic files
Here is the crash. I can provide core files and the full failure text (~2 million lines!) upon request.
Also crashing with JDK 11, here's the version info:
openjdk version "11.0.9-ea" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9-ea+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build master-f702659ca, JRE 11 Linux amd64-64-Bit Compressed References 20201028_818 (JIT enabled, AOT enabled)
OpenJ9 - f702659ca
OMR - bb2458426
JCL - fd18c0317c based on jdk-11.0.9+11)
Again, a massive amount of failure output, so here are some sample errors:
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: java.security.InvalidAlgorithmParameterException: Wrong IV length: must be -1244950294 bytes long
java.lang.IllegalStateException: AES transport marshaller throws unexpected exception: java.security.InvalidAlgorithmParameterException: Wrong IV length: must be 3145760 bytes long
java.lang.IllegalStateException: AES transport marshaller throws unexpected exception: java.security.InvalidAlgorithmParameterException: Wrong IV length: must be 0 bytes long
java.lang.IllegalStateException: AES transport marshaller throws unexpected exception: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
java.lang.IllegalStateException: AES transport marshaller throws unexpected exception: java.security.InvalidKeyException: The key must be -883972110 bytes
I ran the benchmark with -Xint with the same JDK15 build indicated in the description and did not get a crash...so it seems this might actually be JIT related?
Java -version output
Summary of problem
While collecting measurements for #8878, I ran SPECjbb2015 with
-Xgcpolicy:metronome
using an Adopt OpenJ9 Nightly Build (version info above).Command:
The program crashes with a segfault, and a large amount of Java stack trace is outputted with various errors, for example:
java.lang.ClassCastException: <SPECjbb_CLASS> incompatible with javax.crypto.Cipher
java.lang.ClassCastException: [B incompatible with javax.crypto.Cipher
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: java.security.InvalidKeyException: The key must be -966444586 bytes
java.lang.IllegalStateException: AES transport unmarshaller throws unexpected exception: java.security.InvalidKeyException: The key must be 145 bytes
I ran Spring Boot Pet Clinic with the same JDK and
-Xgcpolicy:metronome
and no errors/crashes occurred, so it seems like this is specific to SPECjbb2015. Running the benchmark with-Xgcpolicy:optthruput
or-Xgcpolicy:balanced
did not result in any failures.Diagnostic files
Here is the crash. I can provide core files and the full failure text (~2 million lines!) upon request.
The text was updated successfully, but these errors were encountered: