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

SAJDI: Null pointer exception while reading address of sender sp.

XMLWordPrintable

    • svc
    • x86
    • linux, solaris

      Following test case fails due to null pointer exception in
      solaris x86 client vm in -Xcomp mode.

       nsk/sajdi/StackFrame/getValues/getvalues001
       nsk/sajdi/StackFrame/thisObject/thisobj001
       nsk/sajdi/StackFrame/visibleVariables/visibvars001
       nsk/sajdi/VMCannotBeModifiedException/thrown/thrown003

      The following test case some times fails for this same reason
      on linux x86. The problem seems to be specific to x86 platform
      not related to any specific OS.

      nsk/sajdi/StackFrame/getValues/getvalues001
      nsk/sajdi/StackFrame/thisObject/thisobj001
      nsk/sajdi/StackFrame/visibleVariables/visibvars001
      nsk/sajdi/ThreadReference/frame/frame002
      nsk/sajdi/ThreadReference/frames/frames002
      nsk/sajdi/ThreadReference/frames_ii/frames_ii002
      nsk/sajdi/VMCannotBeModifiedException/thrown/thrown003


      Here is stack trace for this failure:

      #Find frame of tested method on the thread stack
      #java.lang.NullPointerException
      # at sun.jvm.hotspot.runtime.Frame.addressOfStackSlot(Frame.java:204)
      # at sun.jvm.hotspot.runtime.x86.X86Frame.senderForCompiledFrame(X86Frame.java:269)
      # at sun.jvm.hotspot.runtime.x86.X86Frame.sender(X86Frame.java:212)
      # at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:174)
      # at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:179)
      # at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:102)
      # at sun.jvm.hotspot.runtime.CompiledVFrame.sender(CompiledVFrame.java:147)
      # at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:129)
      # at sun.jvm.hotspot.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:202)
      # at sun.jvm.hotspot.jdi.ThreadReferenceImpl.frames(ThreadReferenceImpl.java:167)
      # at nsk.sajdi.VMCannotBeModifiedException.thrown.thrown003.runIt(thrown003.java:118)
      # at nsk.sajdi.VMCannotBeModifiedException.thrown.thrown003.run(thrown003.java:26)
      # at nsk.sajdi.VMCannotBeModifiedException.thrown.thrown003.main(thrown003.java:21)
      Removed description from another bug.
      This bug also affects the following NSK tests:

          nsk/sajdi/ThreadReference/frame/frame002
          nsk/sajdi/ThreadReference/frames/frames002
          nsk/sajdi/ThreadReference/frames_ii/frames_ii002

            Unassigned Unassigned
            swamyv Swamy Venkataramanappa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: