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

Problematic sparc intrinsic: com.sun.crypto.provider.CipherBlockChaining

    XMLWordPrintable

Details

    • b04
    • b07
    • sparc
    • solaris

    Backports

      Description

        Seeing some random test failures involving these hotspot intrinsics :
        com.sun.crypto.provider.CipherBlockChaining::decrypt
        com.sun.crypto.provider.CipherBlockChaining::encrypt

        # JRE version: Java(TM) SE Runtime Environment (8.0_71-b15) (build 1.8.0_71-b15)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.71-b15 mixed mode solaris-sparc compressed oops)
        # Problematic frame:
        # J 1082 C2 com.sun.crypto.provider.CipherCore.doFinal([BII[BI)I (640 bytes) @ 0xffffffff6bb24f84 [0xffffffff6bb24b20+0x464]

        Originally I saw it in this testcase: jdk/test/com/sun/crypto/provider/Cipher/PBE/PBESameBuffer/PBESameBuffer.java

        I've managed to reduce that test case code and will attach to bug. (AESIntrinsics.java). I've only seen this failure (after a few minutes of running) on solaris 10 platforms to date. I tried on solaris 11 and could not reproduce. I was only able to reproduce on JDK 8u also. JDK 11 doesn't run on solaris 10 which was the test system OS I had.

        Will attach test output from failing system. I've tested various JDK versions and these are my findings to date :

        8u66: no failure
        8u71: failure
        I can reproduce the failure on current jdk8u-dev builds also.

        I don't see failure if I use the -XX:-UseAESIntrinsics option.

        Attachments

          Issue Links

            Activity

              People

                fmatte Fairoz Matte
                coffeys Sean Coffey
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: