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

Reoccurence of 6177037 - Race condition in session class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u16
    • Fix Version/s: 6-pool
    • Component/s: security-libs
    • Labels:

      Backports

        Description

        Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

        $ java -version
        java version "1.6.0_16"
        Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
        Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)

        2009-12-03 11:06:43.950|FAST|SEVERE|org.apache.catalina.core.StandardWrapperValve|log|Hostname=belmont|StandardWrapperValve[zkLoader]: PWC1406: Servlet.service() for servlet zkLoader threw exception
        java.security.ProviderException: Internal error: close session with active objects
               at sun.security.pkcs11.SessionManager.closeSession(SessionManager.java:205)
               at sun.security.pkcs11.SessionManager.access$000(SessionManager.java:48)
               at sun.security.pkcs11.SessionManager$Pool.release(SessionManager.java:261)
               at sun.security.pkcs11.SessionManager.releaseSession(SessionManager.java:163)
               at sun.security.pkcs11.Token.releaseSession(Token.java:254)
               at sun.security.pkcs11.P11SecureRandom.engineNextBytes(P11SecureRandom.java:98)
               at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
               at java.security.SecureRandom.next(SecureRandom.java:455)
               at java.util.Random.nextInt(Random.java:189)
               at com.sun.enterprise.util.uuid.UuidUtil.getNextInt(UuidUtil.java:190)
               at com.sun.enterprise.util.uuid.UuidUtil.addRandomTo(UuidUtil.java:128)
               at com.sun.enterprise.util.uuid.UuidUtil.generateUuid(UuidUtil.java:86)
               at com.sun.enterprise.util.uuid.UuidGeneratorImpl.generateUuid(UuidGeneratorImpl.java:56)
               at org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:1090)
               at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:870)
               at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:336)
               at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2882)
               at org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2609)

        One occurence so far.

        Previous issue:

        http://sunsolve.sun.com/search/document.do?assetkey=1-1-6177037-1

        Evaluation:

        This bug is probably likely caused by a race condition in the session class. However, we were never able to reproduce this problem ourselves, so the fix might be incorrect.

        If you still see this problem with a JDK that has this fix (JDK 5.0u3 and JDK6-b39 or later), please file a new bug.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbankal Mala Bankal (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: