jstack unable to print java thread stacks from Windows crash dump -
i'm trying extract java heap dump native dump taken wer when crashed:
jstack -m -l "c:\program files\java\jre6\bin\java.exe" wer.tmp.hdmp
but following exception:
attaching core c:\users\xxx\desktop\wer.tmp.hdmp executable c:\program files\java\jre6\bin\java.exe, please wait... sun.jvm.hotspot.debugger.nosuchsymbolexception: not find symbol "ghotspotvmtypes" in of known library names (jvm.dll, jvm_g.dll) @ sun.jvm.hotspot.hotspottypedatabase.lookupinprocess(hotspottypedatabase.java:389) @ sun.jvm.hotspot.hotspottypedatabase.readvmtypes(hotspottypedatabase.java:104) @ sun.jvm.hotspot.hotspottypedatabase.<init>(hotspottypedatabase.java:85) @ sun.jvm.hotspot.bugspot.bugspotagent.setupvm(bugspotagent.java:565) @ sun.jvm.hotspot.bugspot.bugspotagent.go(bugspotagent.java:494) @ sun.jvm.hotspot.bugspot.bugspotagent.attach(bugspotagent.java:348) @ sun.jvm.hotspot.tools.tool.start(tool.java:169) @ sun.jvm.hotspot.tools.jstack.main(jstack.java:86) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ sun.tools.jstack.jstack.runjstacktool(jstack.java:118) @ sun.tools.jstack.jstack.main(jstack.java:84) debugger attached successfully. jstack requires java vm process/core!
i've double checked that:
- i'm running same version of java system crash occurred on
- the bitness of windows (32) matches system crash occurred on
- jvm.dll in path
- windbg installed
i same error if try extract java heap dump using jmap.
does know going wrong?
Comments
Post a Comment