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

framepop002: GetCallerFrame intermittently fails

XMLWordPrintable

    • generic, sparc, itanium
    • generic, linux_redhat_7.2, solaris_7



      Name: pvR10198 Date: 05/07/2002


      The Hotspot VM (build 1.4.1-beta-b10) intermittently fails the following
      test from testbase_nsk:

          nsk/jvmdi/events/framepop002

      The test fails also with 1.4.0-fcs, but works fine with 1.3.1-fcs.

      The test do some nesting/recursive calls watching frame pop
      events to be uniquely identified by thread/class/method/frame_depth.
            
      This is some sort of regression test for the following bugs:

          4335224 Bug 4245697 not completely fixed jevent.u.frame.frame incorrect
          4504077 java: dbx should not hold on to a frameid after thread suspension
          4510383 The method GetCurrentFrame returns a bad frameid for JNI frames

      To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:

          sh doit.sh <JAVA_HOME>

      Running the test usually outputs:

      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)
      (GetCallerFrame#entry) unexpected error: JVMDI_ERROR_INVALID_FRAMEID (30)
        Thread-1: Lframepop002$TestThread;.run()V, depth = 1

        ... (skipped)

      (GetCallerFrame#entry) unexpected error: JVMDI_ERROR_INVALID_FRAMEID (30)
        main: Ljava/lang/Object;.wait(J)V, depth = 1
      Frame pop does not match any entry:
        Thread-15: Lframepop002$TestThread;.run()V, depth = 59
      Exit Code: 97 (0 iteration)
      ======================================================================

            Unassigned Unassigned
            vpnsunw Vpn Vpn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: