Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8224644

SEGV in libucrypto.so - ucrypto_digest_update

XMLWordPrintable

      Tests
      - sun/security/tools/keytool/KeyToolTest.java
      - sun/security/tools/keytool/WeakAlg.java
      are crashing on Solaris

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xffffffff7b9b5a90, pid=26019, tid=18
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (build 13-ea+0-1105)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (13-ea+0-1105, mixed mode, sharing, tiered, compressed oops, g1 gc, solaris-sparc)
      # Problematic frame:
      # C [libucrypto.so.1+0xb5a90] ucrypto_digest_update+0x4

      Stack: [0xffffffff59300000,0xffffffff59400000], sp=0xffffffff593fc7e0, free space=1009k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libucrypto.so.1+0xb5a90] ucrypto_digest_update+0x4
      C [libj2ucrypto.so+0x31fc] JavaCritical_com_oracle_security_ucrypto_NativeDigest_nativeUpdate+0x3c
      J 967 com.oracle.security.ucrypto.NativeDigest.nativeUpdate(IJ[BII)I jdk.crypto.ucrypto@13-ea (0 bytes) @ 0xffffffff6a84cfb0 [0xffffffff6a84ce20+0x0000000000000190]
      J 1375 c2 com.oracle.security.ucrypto.NativeDigest.engineUpdate([BII)V jdk.crypto.ucrypto@13-ea (93 bytes) @ 0xffffffff6a8764d4 [0xffffffff6a8763c0+0x0000000000000114]
      J 1939 c2 com.sun.crypto.provider.PBES1Core.deriveCipherKey([B)[B java.base@13-ea (318 bytes) @ 0xffffffff6a8b0390 [0xffffffff6a8afe00+0x0000000000000590]
      j com.sun.crypto.provider.PBES1Core.init(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V+182 java.base@13-ea
      j com.sun.crypto.provider.PBES1Core.init(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V+40 java.base@13-ea
      j com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineInit(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V+9 java.base@13-ea
      j javax.crypto.Cipher.init(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V+35 java.base@13-ea
      j javax.crypto.Cipher.init(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V+7 java.base@13-ea
      j com.sun.crypto.provider.KeyProtector.unseal(Ljavax/crypto/SealedObject;)Ljava/security/Key;+159 java.base@13-ea
      j com.sun.crypto.provider.JceKeyStore.engineGetKey(Ljava/lang/String;[C)Ljava/security/Key;+111 java.base@13-ea
      j java.security.KeyStoreSpi.engineGetEntry(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;+110 java.base@13-ea
      j java.security.KeyStore.getEntry(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;+37 java.base@13-ea
      j sun.security.tools.keytool.Main.recoverEntry(Ljava/security/KeyStore;Ljava/lang/String;[C[C)Lsun/security/tools/keytool/Pair;+145 java.base@13-ea
      j sun.security.tools.keytool.Main.doImportKeyStoreSingle(Ljava/security/KeyStore;Ljava/lang/String;)I+176 java.base@13-ea
      j sun.security.tools.keytool.Main.doImportKeyStoreAll(Ljava/security/KeyStore;)V+39 java.base@13-ea
      j sun.security.tools.keytool.Main.doImportKeyStore(Ljava/security/KeyStore;)V+53 java.base@13-ea
      j sun.security.tools.keytool.Main.doCommands(Ljava/io/PrintStream;)V+3410 java.base@13-ea
      j sun.security.tools.keytool.Main.run([Ljava/lang/String;Ljava/io/PrintStream;)V+15 java.base@13-ea
      j sun.security.tools.keytool.Main.main([Ljava/lang/String;)V+13 java.base@13-ea
      j KeyToolTest.test(Ljava/io/InputStream;Ljava/lang/String;)V+95
      j KeyToolTest.test(Ljava/lang/String;Ljava/lang/String;)V+27
      j KeyToolTest.testOK(Ljava/lang/String;Ljava/lang/String;)V+37
      j KeyToolTest.testAll()V+1621
      j KeyToolTest.main([Ljava/lang/String;)V+29

            pkumaraswamy Prajwal Kumaraswamy
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: