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

JVM SEGV in PKCS11 at des_encrypt_contiguous_blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 5.0u13
    • Fix Version/s: 5.0u13
    • Component/s: security-libs
    • Labels:
      None

      Description

      Cusotmers of theirs are not able to relogin to the system. The JVM is crashing with this error
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xf86c32a4, pid=591, tid=6
      #
      # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
      # Problematic frame:
      # C [pkcs11_softtoken.so.1+0x332a4]
      #
      # An error report file with more information is saved as hs_err_pid591.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      2005/11/03 12:22:30.820 (pid 586) proxy/server #0
      Sun Secure Global Desktop Software(4.2) ERROR:

      JServer shut down after 43866 seconds on exit code 0 and signal number 6.
      Proxy will attempt to restart.

      so the problem looks like it is from the PKCS side but what we don't know at the moment is whether Kerberose is at hand here or not.

      ----------------- lwp# 195 / thread# 195 --------------------
       ff33d7fc _lwp_kill (6, 0, ff321d04, 42568, ff364280, 6) + 8
       ff2bde58 abort (6800, 1, 7000, a652c, ff367298, 0) + 110
       fee43af4 ???????? (1, 0, fefb8cf4, fef86000, 6f58, 6c00) + ffffffffffb85dac
       feebec48 ???????? (0, fefdec80, fefd8974, 1, fee47484, fefd8974) + ffffffffffc00f00
       fea6ea78 JVM_handle_solaris_signal (b, aa07dc48, aa07d990, 7400, 85dc, 12effd0) + ae4
       ff33c73c __sighndlr (b, aa07dc48, aa07d990, fea6df5c, 0, 1) + c
       ff331ba8 call_user_handler (b, ffbffeff, c, 0, f85e7400, aa07d990) + 3b8
       f86d32a4 des_encrypt_contiguous_blocks (0, aa07de9c, 8, aa07ddb8, 1000, 0) + 4
       f86b4bd0 soft_des_encrypt_common (7d5240, aa07de9c, 8, aa07de9c, aa07ee9c, 8) + 24c
       f86b5c48 C_EncryptUpdate (3, aa07de9c, 8, aa07de9c, aa07ee9c, 7) + 174
       fa8351c8 Java_sun_security_pkcs11_wrapper_PKCS11_C_1EncryptUpdate (12f0088, fe989684, 0, f87e6b48, 1000, aa07ee9c) + 138
       f8cdde14 * *sun/security/pkcs11/wrapper/PKCS11.C_EncryptUpdate(JJ[BIIJ[BII)I+0
       f8c08800 * *sun/security/pkcs11/P11Cipher.implUpdate([BII[BII)I+54 (line 450)
       f8e15a60 * *sun/security/pkcs11/P11Cipher.engineUpdate([BII[BI)I+18 (line 391)
       f8c316cc * I2CAdapter
       f88058b8 * javax/crypto/Cipher.update([BII[B)I+54
       f885f10c * C2IAdapter
       f8e176bc * *sun/security/jgss/krb5/CipherHelper.desCbcDecrypt(Lsun/security/jgss/krb5/WrapToken;[B[BII[BI)V+25 (line 577)
       f8bee55c * I2CAdapter
       f8805764 * sun/security/jgss/krb5/CipherHelper.decryptData(Lsun/security/jgss/krb5/WrapToken;[BII[BI)V+49 (line 305)
       f8805764 * sun/security/jgss/krb5/WrapToken.getDataFromBuffer([BI)V+108 (line 230)
       f8805764 * sun/security/jgss/krb5/WrapToken.getData([BI)I+19 (line 195)
       f88058b8 * sun/security/jgss/krb5/WrapToken.getData()[B+10 (line 168)
       f8805874 * sun/security/jgss/krb5/Krb5Context.unwrap([BIILorg/ietf/jgss/MessageProp;)[B+79 (line 893)
       f8805d3c * sun/security/jgss/GSSContextImpl.unwrap([BIILorg/ietf/jgss/MessageProp;)[B+16 (line 362)
       f8805d3c * com/sun/security/sasl/gsskerb/GssKrb5Base.unwrap([BII)[B+45 (line 60)
       f8805d3c * com/sun/jndi/ldap/sasl/SaslInputStream.fill()I+136 (line 129)
       f883763c * C2IAdapter
       f8cef0a4 * *com/sun/jndi/ldap/sasl/SaslInputStream.read([BII)I+13 (line 72)
       f8cf6fdc * *com/sun/jndi/ldap/Connection.run()V+30 (line 780)
       f89c7e38 * com/sun/jndi/ldap/Connection.run()V+173 (line 824)
       f8805c2c * java/lang/Thread.run()V+11 (line 595)
       f8800218 * StubRoutines (1)
       fe992318 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 12effd0, aa07faa0, aa07f9a0, 4, aa07fb90) + 5a0
       feabb0d4 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7640, 12effd0, 12f1bf0, 12f1bfc, 12f1bf8, e3d4c830) + 188
       feada1d0 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (b402eea0, 12effd0, 12f1fdc, fefe97e8, fefe98b4, fefe92d8) + 134
       fead5d6c __1cKJavaThreadDrun6M_v_ (12effd0, 0, fefd2080, 6800, 796c, 7800) + 1d8
       fee436e8 ???????? (12effd0, 5c00, 24f, 4d68, fef86000, f8cdd0) + 36db54
       ff33c610 _lwp_start (0, 0, 0, 0, 0, 0)
      location of core file:
      /net/cores.central/cores/64797407/nov304u

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            msusko Mark Susko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: