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

sun/security/ssl/SSLContextImpl/TrustTrustedCert.java failed Intermittently

    Details

      Description

      Test: sun/security/ssl/SSLContextImpl/TrustTrustedCert.java

      Failed in Solaris but it looks to be issue with thread synchronization.

      Log:
      "MainThread" #11 prio=5 os_prio=64 tid=0x00000000008c4800 nid=0x14 runnable [0xffff80ffa19fd000]
         java.lang.Thread.State: RUNNABLE
      at java.net.PlainSocketImpl.socketAccept(java.base@9-ea/Native Method)
      at java.net.AbstractPlainSocketImpl.accept(java.base@9-ea/AbstractPlainSocketImpl.java:459)
      at java.net.ServerSocket.implAccept(java.base@9-ea/ServerSocket.java:551)
      at sun.security.ssl.SSLServerSocketImpl.accept(java.base@9-ea/SSLServerSocketImpl.java:352)
      at TrustTrustedCert.doServerSide(TrustTrustedCert.java:159)
      at TrustTrustedCert.startServer(TrustTrustedCert.java:473)
      at TrustTrustedCert.<init>(TrustTrustedCert.java:394)
      at TrustTrustedCert.main(TrustTrustedCert.java:376)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Service Thread" #9 daemon prio=9 os_prio=64 tid=0x000000000079f800 nid=0x12 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #8 daemon prio=8 os_prio=64 tid=0x000000000070b000 nid=0x11 in Object.wait() [0xffff80ffa4ffe000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000e7436eb8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000e7436eb8> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

      "Sweeper thread" #7 daemon prio=9 os_prio=64 tid=0x000000000066a800 nid=0x10 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C1 CompilerThread1" #6 daemon prio=9 os_prio=64 tid=0x0000000000668000 nid=0xf waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread0" #5 daemon prio=9 os_prio=64 tid=0x0000000000666800 nid=0xe waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Signal Dispatcher" #4 daemon prio=9 os_prio=64 tid=0x000000000064e800 nid=0xd runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Finalizer" #3 daemon prio=8 os_prio=64 tid=0x0000000000638800 nid=0xc in Object.wait() [0xffff80ffbc2f9000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000e7437718> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000000e7437718> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-ea/Finalizer.java:216)

      "Reference Handler" #2 daemon prio=10 os_prio=64 tid=0x0000000000627800 nid=0xb waiting on condition [0xffff80ffbc3fa000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(java.base@9-ea/Native Method)
      at java.lang.ref.Reference.processPendingReferences(java.base@9-ea/Reference.java:163)
      at java.lang.ref.Reference.access$000(java.base@9-ea/Reference.java:44)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:138)

      "main" #1 prio=5 os_prio=64 tid=0x000000000042d000 nid=0x2 in Object.wait() [0xffff80ffbf1fe000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000000e74378d0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000000e74378d0> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1427)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

        Attachments

          Activity

            People

            • Assignee:
              jjiang John Jiang
              Reporter:
              ssahoo Sibabrata Sahoo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: