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

JVM/DI setnotif002 fails with THREAD_NOT_ALIVE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • vm-legacy
    • tiger
    • generic
    • generic
    • Verified

      ###@###.### 2003-09-17

      I did another NSK run with Tiger-B20 snapshot bits dropped into a
      Tiger-B19 JDK. I ran into a new failure mode with the following
      NSK test:

          nsk/jvmdi/SetEventNotificationMode/setnotif002

      This failure occurs with both Client and Server VM in -Xint, -Xmixed
      and -Xcomp modes with both product and fastdebug built VMs.

      #(1) ERROR enabling JVMDI_EVENT_SINGLE_STEP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_EXCEPTION_CATCH!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_METHOD_ENTRY!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_METHOD_EXIT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_BREAKPOINT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_FRAME_POP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_FIELD_ACCESS!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_FIELD_MODIFICATION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_EXCEPTION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_THREAD_END!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_CLASS_LOAD!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR enabling JVMDI_EVENT_CLASS_PREPARE!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_SINGLE_STEP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_EXCEPTION_CATCH!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_METHOD_ENTRY!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_METHOD_EXIT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_BREAKPOINT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_FRAME_POP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_FIELD_ACCESS!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_FIELD_MODIFICATION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_EXCEPTION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_THREAD_END!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_CLASS_LOAD!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(1) ERROR disabling JVMDI_EVENT_CLASS_PREPARE!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_SINGLE_STEP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_EXCEPTION_CATCH!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_METHOD_ENTRY!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_METHOD_EXIT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_BREAKPOINT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_FRAME_POP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_FIELD_ACCESS!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_FIELD_MODIFICATION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_EXCEPTION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_THREAD_END!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_CLASS_LOAD!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR enabling JVMDI_EVENT_CLASS_PREPARE!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_SINGLE_STEP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_EXCEPTION_CATCH!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_METHOD_ENTRY!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_METHOD_EXIT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_BREAKPOINT!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_FRAME_POP!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_FIELD_ACCESS!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_FIELD_MODIFICATION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_EXCEPTION!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_THREAD_END!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_CLASS_LOAD!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)
      #(3) ERROR disabling JVMDI_EVENT_CLASS_PREPARE!
      # expected: JVMDI_ERROR_INVALID_THREAD (10)
      # actual: <Unknown Error> (15)

      Error code 15 is JVMTI_ERROR_THREAD_NOT_ALIVE which is not a
      valid error code in JVM/DI. JVM/DI is expecting INVALID_THREAD.

            rfield Robert Field (Inactive)
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: