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

JVM Crash when using native GSS for importing GSS Context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • security-libs
    • None
    • beta
    • generic
    • solaris

      JVM crashed when trying to pass token to native GSS importContext.

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xfc80ae9c, pid=5501, tid=1
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b43 mixed mode)
      # Problematic frame:
      # j sun.security.jgss.wrapper.GSSLibStub.importContext([B)Lsun/security/jgss/wrapper/NativeGSSContext;+0
      #
      ...
      Instructions: (pc=0xfc80ae9c)
      0xfc80ae8c: 81 c7 e0 08 9d ef 40 00 b0 80 00 08 32 48 00 02
      0xfc80ae9c: f0 02 20 00 81 c7 e0 08 9d ef 40 00 00 00 00 00

      Stack: [0xffb80000,0xffc00000), sp=0xffbfe860, free space=506k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j sun.security.jgss.wrapper.GSSLibStub.importContext([B)Lsun/security/jgss/wrapper/NativeGSSContext;+0
      j sun.security.jgss.wrapper.NativeGSSFactory.getMechanismContext([B)Lsun/security/jgss/spi/GSSContextSpi;+5
      j sun.security.jgss.GSSManagerImpl.getMechanismContext([B)Lsun/security/jgss/spi/GSSContextSpi;+80
      j sun.security.jgss.GSSContextImpl.<init>(Lsun/security/jgss/GSSManagerImpl;[B)V+108
      j sun.security.jgss.GSSManagerImpl.createContext([B)Lorg/ietf/jgss/GSSContext;+6
      j SampleClient.main([Ljava/lang/String;)V+603
      v ~StubRoutines::call_stub
      V [libjvm.so+0xcddf0]
      V [libjvm.so+0x1702f0]
      C [java+0x31f8] main+0x1ce8

            valeriep Valerie Peng
            smalkanisunw Seema Malkani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: