-
Bug
-
Resolution: Fixed
-
P4
-
hs24, 6
-
b34
-
x86
-
windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8015531 | 8 | Kevin Walls | P4 | Closed | Fixed | b92 |
Here is an example. The target is a simple hello class
doing a Thread.sleep()
c:/build/control/j2sdk-image/bin/jstack -m 364
Attaching to process ID 364, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 1.6.0-internal-Jim_19_aug_2005_19_30-b00
Deadlock Detection:
No deadlocks found.
----------------- 0 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c809c86 kernel32!WaitForMultipleObjects + 0x18
----------------- 1 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e056 jvm!Monitor::wait + 0x96
----------------- 2 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08133d62 jvm!ObjectMonitor::wait + 0x192
----------------- 3 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08133d62 jvm!ObjectMonitor::wait + 0x192
----------------- 4 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08138ae6 jvm!check_pending_signals + 0xd6
0x08138b97 jvm!os::signal_wait + 0x7
0x7c349565 MSVCR71!_threadstartex + 0x6f
0x7c80b50b kernel32!GetModuleFileNameA + 0x1b4
----------------- 5 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0801423a jvm!Win32AttachListener::dequeue + 0x1a
sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x7c8024a7 with alignment: 4
at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal$1.checkAlignment(WindbgDebuggerLocal.java:86)
at sun.jvm.hotspot.debugger.DebuggerBase.readCInteger(DebuggerBase.java:320)
at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:425)
at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.readAddress(WindbgDebuggerLocal.java:298)
at sun.jvm.hotspot.debugger.windbg.WindbgAddress.getAddressAt(WindbgAddress.java:55)
at sun.jvm.hotspot.debugger.cdbg.basic.x86.X86CFrame.sender(X86CFrame.java:34)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:144)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:36)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:31)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:43)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.tools.jstack.JStack.jstack(JStack.java:161)
at sun.tools.jstack.JStack.main(JStack.java:110)
----------------- 6 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e0d1 jvm!Monitor::wait + 0x111
----------------- 7 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e056 jvm!Monitor::wait + 0x96
0x7c349565 MSVCR71!_threadstartex + 0x6f
0x7c80b50b kernel32!GetModuleFileNameA + 0x1b4
----------------- 8 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802451 kernel32!Sleep + 0xf
doing a Thread.sleep()
c:/build/control/j2sdk-image/bin/jstack -m 364
Attaching to process ID 364, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 1.6.0-internal-Jim_19_aug_2005_19_30-b00
Deadlock Detection:
No deadlocks found.
----------------- 0 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c809c86 kernel32!WaitForMultipleObjects + 0x18
----------------- 1 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e056 jvm!Monitor::wait + 0x96
----------------- 2 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08133d62 jvm!ObjectMonitor::wait + 0x192
----------------- 3 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08133d62 jvm!ObjectMonitor::wait + 0x192
----------------- 4 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x08138ae6 jvm!check_pending_signals + 0xd6
0x08138b97 jvm!os::signal_wait + 0x7
0x7c349565 MSVCR71!_threadstartex + 0x6f
0x7c80b50b kernel32!GetModuleFileNameA + 0x1b4
----------------- 5 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0801423a jvm!Win32AttachListener::dequeue + 0x1a
sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x7c8024a7 with alignment: 4
at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal$1.checkAlignment(WindbgDebuggerLocal.java:86)
at sun.jvm.hotspot.debugger.DebuggerBase.readCInteger(DebuggerBase.java:320)
at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:425)
at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.readAddress(WindbgDebuggerLocal.java:298)
at sun.jvm.hotspot.debugger.windbg.WindbgAddress.getAddressAt(WindbgAddress.java:55)
at sun.jvm.hotspot.debugger.cdbg.basic.x86.X86CFrame.sender(X86CFrame.java:34)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:144)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:36)
at sun.jvm.hotspot.tools.PStack.run(PStack.java:31)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:43)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.tools.jstack.JStack.jstack(JStack.java:161)
at sun.tools.jstack.JStack.main(JStack.java:110)
----------------- 6 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e0d1 jvm!Monitor::wait + 0x111
----------------- 7 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802542 kernel32!WaitForSingleObject + 0x12
0x0812e056 jvm!Monitor::wait + 0x96
0x7c349565 MSVCR71!_threadstartex + 0x6f
0x7c80b50b kernel32!GetModuleFileNameA + 0x1b4
----------------- 8 -----------------
0x7c90eb94 ntdll!KiFastSystemCallRet
0x7c802451 kernel32!Sleep + 0xf
- backported by
-
JDK-8015531 SA: jstack -m fails on Win32 : UnalignedAddressException
- Closed
- relates to
-
JDK-7178741 SA: jstack -m produce UnalignedAddressException in output (Linux)
- Resolved