-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
18
-
x86_64
-
windows
The following test failed in the JDK18 CI:
applications/runthese/RunThese30M.java
Here's a snippet from the log file:
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithMD5AndTripleDES: java.security.NoSuchAlgorithmException: unrecognized algorithm name: PBEWithMD5AndTripleDES
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithHmacSHA1AndAES_128: java.security.NoSuchAlgorithmException: unrecognized algorithm name: PBEWithHmacSHA1AndAES_128
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithHmacSHA1AndAES_2#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:\\workspace\\open\\src\\hotspot\\share\\oops/compressedOops.inline.hpp:135), pid=67212, tid=5360
# assert(check_alignment(result)) failed: address not aligned: 0x000000082d2d2d2d
#
# JRE version: Java(TM) SE Runtime Environment (18.0+22) (fastdebug build 18-ea+22-1415)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+22-1415, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.mdmp
#
# JFR recording file will be written. Location: T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.jfr
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.log
[thread 42144 also had an error]
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(739/70550)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000018e307dc2c0): JavaThread "javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests " daemon [_thread_in_Java, id=5360, stack(0x0000004a27700000,0x0000004a27800000)]
Stack: [0x0000004a27700000,0x0000004a27800000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xb55f51] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
V [jvm.dll+0xd9303e] VMError::report+0x101e (vmError.cpp:828)
V [jvm.dll+0xd94a3e] VMError::report_and_die+0x7fe (vmError.cpp:1656)
V [jvm.dll+0xd951c4] VMError::report_and_die+0x64 (vmError.cpp:1437)
V [jvm.dll+0x4df1b7] report_vm_error+0xb7 (debug.cpp:282)
V [jvm.dll+0x1e88f] oopDesc::klass+0x9f (oop.inline.hpp:85)
V [jvm.dll+0x3cf39d] CardTableBarrierSet::on_slowpath_allocation_exit+0x6d (cardTableBarrierSet.cpp:130)
V [jvm.dll+0xc19c35] SharedRuntime::on_slowpath_allocation_exit+0x75 (sharedRuntime.cpp:3359)
V [jvm.dll+0xc050b8] OptoRuntime::new_array_C+0x318 (runtime.cpp:271)
C 0x0000018e5f2a5449
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~RuntimeStub::_new_array_Java
J 26637 c2 sun.security.provider.DigestBase.engineDigest()[B java.base@18-ea (33 bytes) @ 0x0000018e681f1c30 [0x0000018e681f1ac0+0x0000000000000170]
J 38972 c2 com.sun.crypto.provider.HmacCore.engineDoFinal()[B java.base@18-ea (78 bytes) @ 0x0000018e68f224f0 [0x0000018e68f22420+0x00000000000000d0]
J 38967 c2 javax.crypto.Mac.doFinal()[B java.base@18-ea (38 bytes) @ 0x0000018e68f1d7c4 [0x0000018e68f1d740+0x0000000000000084]
J 38954 c2 javax.crypto.Mac.doFinal([BI)V java.base@18-ea (65 bytes) @ 0x0000018e68f1c928 [0x0000018e68f1c7c0+0x0000000000000168]
J 38860 c2 com.sun.crypto.provider.PBKDF2KeyImpl.deriveKey(Ljavax/crypto/Mac;[B[BII)[B java.base@18-ea (295 bytes) @ 0x0000018e68efb250 [0x0000018e68efa280+0x0000000000000fd0]
j com.sun.crypto.provider.PBKDF2KeyImpl.<init>(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V+183 java.base@18-ea
j com.sun.crypto.provider.PBKDF2Core.engineGenerateSecret(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;+31 java.base@18-ea
j com.sun.crypto.provider.PBES2Core.engineInit(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V+540 java.base@18-ea
j com.sun.crypto.provider.PBES2Core.engineInit(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V+37 java.base@18-ea
J 27237 c2 javax.crypto.Cipher.implInit(Ljavax/crypto/CipherSpi;IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (145 bytes) @ 0x0000018e682969e4 [0x0000018e682968e0+0x0000000000000104]
J 27212 c2 javax.crypto.Cipher.chooseProvider(IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (357 bytes) @ 0x0000018e6828e1f0 [0x0000018e6828dc40+0x00000000000005b0]
J 27315 c2 javax.crypto.Cipher.init(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (85 bytes) @ 0x0000018e67a39bb0 [0x0000018e67a39a20+0x0000000000000190]
J 37231 c2 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.initCipher(ILjava/security/AlgorithmParameters;)Ljavax/crypto/Cipher; (78 bytes) @ 0x0000018e68cd902c [0x0000018e68cd8f60+0x00000000000000cc]
J 38457 c2 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.testShouldBeSkiped()Z (189 bytes) @ 0x0000018e68e88608 [0x0000018e68e88460+0x00000000000001a8]
j javasoft.sqe.jck.lib.ProviderTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+116
j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
J 34274 c1 javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status; (73 bytes) @ 0x0000018e6003d85c [0x0000018e6003bba0+0x0000000000001cbc]
J 34064 c1 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.main([Ljava/lang/String;)V (23 bytes) @ 0x0000018e5ffdf79c [0x0000018e5ffdf2a0+0x00000000000004fc]
j java.lang.invoke.LambdaForm$DMH+0x0000000800c03800.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@18-ea
J 15372 c2 java.lang.invoke.LambdaForm$MH+0x0000000800c98400.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (38 bytes) @ 0x0000018e67155ee0 [0x0000018e67155e20+0x00000000000000c0]
J 15342 c2 java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (24 bytes) @ 0x0000018e6715d0c8 [0x0000018e6715cf60+0x0000000000000168]
J 26179 c2 jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (92 bytes) @ 0x0000018e6817cee8 [0x0000018e6817cbe0+0x0000000000000308]
J 16482 c2 applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V (127 bytes) @ 0x0000018e674a8900 [0x0000018e674a86c0+0x0000000000000240]
v ~StubRoutines::call_stub
Looks like we're crashing in C2 code so I'm starting this
bug off in hotspot/compiler for initial triage.
applications/runthese/RunThese30M.java
Here's a snippet from the log file:
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithMD5AndTripleDES: java.security.NoSuchAlgorithmException: unrecognized algorithm name: PBEWithMD5AndTripleDES
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithHmacSHA1AndAES_128: java.security.NoSuchAlgorithmException: unrecognized algorithm name: PBEWithHmacSHA1AndAES_128
Can't create EncryptedPrivateKeyInfo object for Cipher.PBEWithHmacSHA1AndAES_2#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:\\workspace\\open\\src\\hotspot\\share\\oops/compressedOops.inline.hpp:135), pid=67212, tid=5360
# assert(check_alignment(result)) failed: address not aligned: 0x000000082d2d2d2d
#
# JRE version: Java(TM) SE Runtime Environment (18.0+22) (fastdebug build 18-ea+22-1415)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+22-1415, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.mdmp
#
# JFR recording file will be written. Location: T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.jfr
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\\scratch\\0\\hs_err_pid67212.log
[thread 42144 also had an error]
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(739/70550)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000018e307dc2c0): JavaThread "javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests " daemon [_thread_in_Java, id=5360, stack(0x0000004a27700000,0x0000004a27800000)]
Stack: [0x0000004a27700000,0x0000004a27800000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xb55f51] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
V [jvm.dll+0xd9303e] VMError::report+0x101e (vmError.cpp:828)
V [jvm.dll+0xd94a3e] VMError::report_and_die+0x7fe (vmError.cpp:1656)
V [jvm.dll+0xd951c4] VMError::report_and_die+0x64 (vmError.cpp:1437)
V [jvm.dll+0x4df1b7] report_vm_error+0xb7 (debug.cpp:282)
V [jvm.dll+0x1e88f] oopDesc::klass+0x9f (oop.inline.hpp:85)
V [jvm.dll+0x3cf39d] CardTableBarrierSet::on_slowpath_allocation_exit+0x6d (cardTableBarrierSet.cpp:130)
V [jvm.dll+0xc19c35] SharedRuntime::on_slowpath_allocation_exit+0x75 (sharedRuntime.cpp:3359)
V [jvm.dll+0xc050b8] OptoRuntime::new_array_C+0x318 (runtime.cpp:271)
C 0x0000018e5f2a5449
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~RuntimeStub::_new_array_Java
J 26637 c2 sun.security.provider.DigestBase.engineDigest()[B java.base@18-ea (33 bytes) @ 0x0000018e681f1c30 [0x0000018e681f1ac0+0x0000000000000170]
J 38972 c2 com.sun.crypto.provider.HmacCore.engineDoFinal()[B java.base@18-ea (78 bytes) @ 0x0000018e68f224f0 [0x0000018e68f22420+0x00000000000000d0]
J 38967 c2 javax.crypto.Mac.doFinal()[B java.base@18-ea (38 bytes) @ 0x0000018e68f1d7c4 [0x0000018e68f1d740+0x0000000000000084]
J 38954 c2 javax.crypto.Mac.doFinal([BI)V java.base@18-ea (65 bytes) @ 0x0000018e68f1c928 [0x0000018e68f1c7c0+0x0000000000000168]
J 38860 c2 com.sun.crypto.provider.PBKDF2KeyImpl.deriveKey(Ljavax/crypto/Mac;[B[BII)[B java.base@18-ea (295 bytes) @ 0x0000018e68efb250 [0x0000018e68efa280+0x0000000000000fd0]
j com.sun.crypto.provider.PBKDF2KeyImpl.<init>(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V+183 java.base@18-ea
j com.sun.crypto.provider.PBKDF2Core.engineGenerateSecret(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;+31 java.base@18-ea
j com.sun.crypto.provider.PBES2Core.engineInit(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V+540 java.base@18-ea
j com.sun.crypto.provider.PBES2Core.engineInit(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V+37 java.base@18-ea
J 27237 c2 javax.crypto.Cipher.implInit(Ljavax/crypto/CipherSpi;IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (145 bytes) @ 0x0000018e682969e4 [0x0000018e682968e0+0x0000000000000104]
J 27212 c2 javax.crypto.Cipher.chooseProvider(IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (357 bytes) @ 0x0000018e6828e1f0 [0x0000018e6828dc40+0x00000000000005b0]
J 27315 c2 javax.crypto.Cipher.init(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V java.base@18-ea (85 bytes) @ 0x0000018e67a39bb0 [0x0000018e67a39a20+0x0000000000000190]
J 37231 c2 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.initCipher(ILjava/security/AlgorithmParameters;)Ljavax/crypto/Cipher; (78 bytes) @ 0x0000018e68cd902c [0x0000018e68cd8f60+0x00000000000000cc]
J 38457 c2 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.testShouldBeSkiped()Z (189 bytes) @ 0x0000018e68e88608 [0x0000018e68e88460+0x00000000000001a8]
j javasoft.sqe.jck.lib.ProviderTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+116
j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
J 34274 c1 javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status; (73 bytes) @ 0x0000018e6003d85c [0x0000018e6003bba0+0x0000000000001cbc]
J 34064 c1 javasoft.sqe.tests.api.javax.crypto.EncryptedPrivateKeyInfo.GetKeySpec1Tests.main([Ljava/lang/String;)V (23 bytes) @ 0x0000018e5ffdf79c [0x0000018e5ffdf2a0+0x00000000000004fc]
j java.lang.invoke.LambdaForm$DMH+0x0000000800c03800.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@18-ea
J 15372 c2 java.lang.invoke.LambdaForm$MH+0x0000000800c98400.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (38 bytes) @ 0x0000018e67155ee0 [0x0000018e67155e20+0x00000000000000c0]
J 15342 c2 java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (24 bytes) @ 0x0000018e6715d0c8 [0x0000018e6715cf60+0x0000000000000168]
J 26179 c2 jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@18-ea (92 bytes) @ 0x0000018e6817cee8 [0x0000018e6817cbe0+0x0000000000000308]
J 16482 c2 applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V (127 bytes) @ 0x0000018e674a8900 [0x0000018e674a86c0+0x0000000000000240]
v ~StubRoutines::call_stub
Looks like we're crashing in C2 code so I'm starting this
bug off in hotspot/compiler for initial triage.
- duplicates
-
JDK-8276614 RunThese30M.java failed with "assert(check_alignment(result)) failed: address not aligned: 0x000000082d2d2d2d"
- Closed
- relates to
-
JDK-8273108 RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
- Closed
-
JDK-8269633 vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.java crashed with oopDesc::size_given_klass+0x6
- Closed