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

compiler/codegen/aes/TestAESMain.java failed with "Error: invalid offset: -1434443640" after 8273297

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b29
    • CPU:
      x86_64
    • OS:
      linux, windows

      Backports

        Description

        The following test failed in the JDK18 CI:

        compiler/codegen/aes/TestAESMain.java

        Here's a snippet from the log file:

        ----------System.err:(24/1636)----------
        java.lang.Error: invalid offset: -1434443640
        at compiler.codegen.aes.TestAESDecode.run(TestAESDecode.java:51)
        at compiler.codegen.aes.TestAESMain.main(TestAESMain.java:192)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Caused by: java.lang.RuntimeException: invalid offset: -1434443640
        at java.base/com.sun.crypto.provider.GHASH.ghashRangeCheck(GHASH.java:252)
        at java.base/com.sun.crypto.provider.GHASH.update(GHASH.java:179)
        at java.base/com.sun.crypto.provider.GaloisCounterMode$DecryptOp.update(GaloisCounterMode.java:1777)
        at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.decryptBlocks(GaloisCounterMode.java:1638)
        at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1484)
        at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:439)
        at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2418)
        at compiler.codegen.aes.TestAESDecode.run(TestAESDecode.java:43)
        ... 7 more

        JavaTest Message: Test threw exception: java.lang.Error: invalid offset: -1434443640
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Error: invalid offset: -1434443640
        ----------rerun:(54/8744)*----------

          Attachments

            Issue Links

            There are no Sub-Tasks for this issue.

              Activity

                People

                Assignee:
                svkamath Smita Kamath
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: