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

SIGSEGV Symbol*ConstantPool::klass_name_at(int)+0x26

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9-repo-jigsaw
    • hotspot

      TEST: java/security/Policy/SignedJar/SignedJarTest.java
      JDK under test: (/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product)
      java version "1.9.0-internal"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-20151113231002.mlchung.jake-jdk-core-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20151113231002.mlchung.jake-jdk-core-b00, mixed mode)


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.132 seconds
      messages:
      command: build SignedJarTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.132

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.131 seconds
      messages:
      command: compile -XDignore.symbol.file=true /opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar/SignedJarTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.131
      rerun:
      DISPLAY=scaaa563.us.oracle.com:545 \
      HOME=/opt/jprt/jprtadm \
      LANG=C \
      LC_ALL=C \
      LC_CTYPE= \
      PATH=/bin:/usr/bin \
      TZ=localtime \
          /opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/javac \
              -J-ea \
              -J-esa \
              -J-d64 \
              -J-server \
              -J-Xmx512m \
              -J-Duser.home=/opt/jprt/T/P1/231002.mlchung \
              -J-Djava.io.tmpdir=/opt/jprt/T/P1/231002.mlchung/io/solaris_x64_5.11-product-c2-jdk_security1 \
              -J-d64 \
              -J-server \
              -J-Dtest.class.path.prefix=/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/lib/testlibrary \
              -J-Dtest.src=/opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar \
              -J-Dtest.src.path=/opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/test/lib/testlibrary \
              -J-Dtest.classes=/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/java/security/Policy/SignedJar \
              -J-Dtest.class.path=/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/lib/testlibrary \
              -J-Dtest.vm.opts='-ea -esa -d64 -server -Xmx512m' \
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-d64 -J-server -J-Xmx512m' \
              -J-Dtest.compiler.opts= \
              -J-Dtest.java.opts='-Duser.home=/opt/jprt/T/P1/231002.mlchung -Djava.io.tmpdir=/opt/jprt/T/P1/231002.mlchung/io/solaris_x64_5.11-product-c2-jdk_security1 -d64 -server' \
              -J-Dtest.jdk=/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product \
              -J-Dcompile.jdk=/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product \
              -J-Dtest.timeout.factor=4.0 \
              -d /opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/java/security/Policy/SignedJar -classpath /opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/classes/lib/testlibrary -sourcepath /opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar:/opt/jprt/T/P1/231002.mlchung/s/jdk/test/lib/testlibrary -XDignore.symbol.file=true /opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar/SignedJarTest.java
      direct:
      Note: /opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar/SignedJarTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: /opt/jprt/T/P1/231002.mlchung/s/jdk/test/java/security/Policy/SignedJar/SignedJarTest.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
      REASON: User specified action: run main/othervm SignedJarTest
      TIME: 34.301 seconds
      messages:
      command: main SignedJarTest
      reason: User specified action: run main/othervm SignedJarTest
      elapsed time (seconds): 34.301
      STDOUT:
      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/jar -cvf test.jar PrivilegeTest.class]
      added manifest
      adding: PrivilegeTest.class(in = 2190) (out= 1063)(deflated 51%)

      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/keytool -genkey -alias first -keystore both.jks -keypass password -dname cn=First -storepass password]

      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/keytool -genkey -alias second -keystore both.jks -keypass password -dname cn=Second -storepass password]

      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/keytool -delete -keystore first.jks -alias second -storepass password]

      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/jarsigner -keystore both.jks -storepass password -keypass password -signedjar first.jar test.jar first]
      jar signed.

      Warning:
      The signer certificate will expire within six months.
      No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2016-02-11) or after any future revocation date.

      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/jarsigner -keystore both.jks -storepass password -keypass password -signedjar both.jar first.jar second]
      jar signed.

      Warning:
      The signer certificate will expire within six months.
      No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2016-02-11) or after any future revocation date.

      Test Case 1
      Command line: [/opt/jprt/T/P1/231002.mlchung/testproduct/solaris_x64_5.11-product/bin/java -d64 -ea -esa -d64 -server -Xmx512m -Duser.home=/opt/jprt/T/P1/231002.mlchung -Djava.io.tmpdir=/opt/jprt/T/P1/231002.mlchung/io/solaris_x64_5.11-product-c2-jdk_security1 -d64 -server -classpath first.jar -Djava.security.manager -Djava.security.policy=SignedJarTest_1.policy PrivilegeTest false true ]
      STDERR:
       stdout: [#
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007ffffee27d96, pid=274, tid=2
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-20151113231002.mlchung.jake-jdk-core-b00)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-20151113231002.mlchung.jake-jdk-core-b00, mixed mode, tiered, compressed oops, g1 gc, solaris-amd64)
      # Problematic frame:
      # V [libjvm.so+0xe27d96] Symbol*ConstantPool::klass_name_at(int)+0x26
      #
      # Core dump will be written. Default location: /opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/scratch/core or core.274
      #
      # An error report file with more information is saved as:
      # /opt/jprt/T/P1/231002.mlchung/s/jdk/testoutput/jdk_security1/JTwork/scratch/hs_err_pid274.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #
      ];
       stderr: []
       exitValue = 6

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:356)
      at SignedJarTest.main(SignedJarTest.java:121)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

            Unassigned Unassigned
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: