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

SA-JDI: ThreadReference.frameCount throws AssertionFailure: must be a valid non-zero index

XMLWordPrintable

    • 6
    • b55
    • generic
    • solaris

      Nighly tests for ThreadReference.frameCount() fail with the following exception stack trace:

      ## ERROR: ThreadReference.frameCount() throws unexpected exception:
      ## ERROR: thread nom: 0
      ## ERROR: thread name: threadRunning
      ## ERROR: exception: sun.jvm.hotspot.utilities.AssertionFailure: must be a valid non-zero index
      # thread #1
      # thread name: threadEntering
      # isSuspended: true
      #sun.jvm.hotspot.utilities.AssertionFailure: must be a valid non-zero index
      # at sun.jvm.hotspot.utilities.Assert.that(Assert.java:15)
      # at sun.jvm.hotspot.code.CodeBlob.getOopAt(CodeBlob.java:150)
      # at sun.jvm.hotspot.code.DebugInfoReadStream.readOopHandle(DebugInfoReadStream.java:21)
      # at sun.jvm.hotspot.code.ScopeDesc.<init>(ScopeDesc.java:40)
      # at sun.jvm.hotspot.code.NMethod.getScopeDescNearDbg(NMethod.java:275)
      # at sun.jvm.hotspot.runtime.VFrame.newVFrame(VFrame.java:56)
      # at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:112)
      # at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:134)
      # at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:217)
      # at sun.jvm.hotspot.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:197)
      # at sun.jvm.hotspot.jdi.ThreadReferenceImpl.frameCount(ThreadReferenceImpl.java:162)
      # at nsk.sajdi.ThreadReference.frames_ii.frames_ii002.checkThread(frames_ii002.java:201)
      # at nsk.sajdi.ThreadReference.frames_ii.frames_ii002.runIt(frames_ii002.java:147)
      # at nsk.sajdi.ThreadReference.frames_ii.frames_ii002.run(frames_ii002.java:26)
      # at nsk.sajdi.ThreadReference.frames_ii.frames_ii002.main(frames_ii002.java:21)
      This bug affects the following NSK tests:

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

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: