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

x86_32 tests with UseSHA1Intrinsics SEGV due to garbled registers

    Details

    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      x86

      Backports

        Description

        tier2 tests fail while running on TR 2950X and x86_32 builds:

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0xee23c1a6, pid=100519, tid=100687
        #
        # JRE version: OpenJDK Runtime Environment (13.0) (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk)
        # Java VM: OpenJDK Server VM (fastdebug 13-internal+0-adhoc.shade.jdk-jdk, mixed mode, tiered, g1 gc, linux-x86)
        # Problematic frame:
        # J 1062 c2 sun.security.provider.DigestBase.engineUpdate([BII)V java.base@13-internal (189 bytes) @ 0xee23c1a6 [0xee23c060+0x00000146]
        #
        # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /home/shade/jdk-jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_jdk_javax_net_ssl_TLSv1/scratch/7/hs_err_pid100519.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

        This fails:
          CONF=linux-x86-server-fastdebug make run-test TEST=javax/net/ssl/TLSv1/

        This passes:
          CONF=linux-x86-server-fastdebug make run-test TEST=javax/net/ssl/TLSv1/ TEST_VM_OPTS="-XX:-UseSHA1Intrinsics"

        Must be yet another SHA intrinsics bug. This does not reproduce on my other host, i7-7820X, probably because it does not have SHA intrinsics enabled.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shade Aleksey Shipilev
                  Reporter:
                  shade Aleksey Shipilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: