JDK-6794892 : sa-jdi tests fail with "Unable to deduce type of thread from address" on windows-x64 with server jvm
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: hs14,hs15
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,windows
  • CPU: generic,x86
  • Submitted: 2009-01-16
  • Updated: 2023-12-13
  • Resolved: 2016-08-08
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
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.

Comments
Closing as WNF. Removing sajdi tests.
08-08-2016