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

sa-jdi tests fail with "Unable to deduce type of thread from address" on windows-x64 with server jvm

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, windows

      Description

      Several sa-jdi tests fails with error like
      Exception in thread "main" java.lang.RuntimeException: Unable to deduce type of thread from address 0x000000000439e000 (expected type JavaThread, CompilerThread, LowMemoryDetectorThread, JvmtiAgentThread, or SurrogateLockerThread)
      at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:145)
      at sun.jvm.hotspot.runtime.Threads.first(Threads.java:133)
      at sun.jvm.hotspot.jdi.VirtualMachineImpl.getAllThreads(VirtualMachineImpl.java:477)
      at sun.jvm.hotspot.jdi.VirtualMachineImpl.allThreads(VirtualMachineImpl.java:492)
      at nsk.sajdi.VirtualMachine.allThreads.allthreads001.runIt(allthreads001.java:55)
      at nsk.sajdi.VirtualMachine.allThreads.allthreads001.run(allthreads001.java:26)
      at nsk.sajdi.VirtualMachine.allThreads.allthreads001.main(allthreads001.java:21)
      Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x000000000439e000 (nearest symbol is jvm!??_7LowMemoryDetectorThread@@6B@)
      at sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(VirtualConstructor.java:95)
      at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:141)
      ... 6 more

      when running on windows-amd64 with -server jvm.
      New nsk.sajdi failures (from 2009.02.26)
      * nsk/sajdi/SAPIDAttachingConnector/attach/attach002
      * nsk/sajdi/ThreadGroupReference/threadGroups/thrdgrps001
      * nsk/sajdi/VMCannotBeModifiedException/thrown/thrown001
      * nsk/sajdi/VMCannotBeModifiedException/thrown/thrown002
      * nsk/sajdi/VirtualMachine/allThreads/allthreads001
      * nsk/sajdi/VirtualMachine/topLevelThreadGroups/topthrgroups001
              These tests failed due to "RuntimeException: Unable to deduce
              type of thread from..." on Win-AMD64 Server VM -Xmixed (machine
              vm-amd64-00).

              This failure mode is covered by the following bug:
                  6794892 3/4 sa-jdi tests fail with "Unable to deduce type of
                              thread from address" on windows-x64 with server jvm

              The bug doesn't have the keyword test-fail-mixed so 6794892
              is not showing up as a match.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                epavlova Ekaterina Pavlova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: