Created
February 15, 2019 01:17
-
-
Save rjernst/c46e9ac4ec8f54ccd20822999b96a21e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
centos-7:~$ sudo /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/jstack -l 16450 | |
16450: Unable to open socket file: target process not responding or HotSpot VM not loaded | |
The -F option can be used when the target process is not responding | |
centos-7:~$ sudo /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/jstack -F -l 16450 | |
Attaching to process ID 16450, please wait... | |
Debugger attached successfully. | |
Server compiler detected. | |
JVM version is 25.191-b12 | |
Deadlock Detection: | |
java.lang.RuntimeException: Unable to deduce type of thread from address 0x00007fe71412f000 (expected type JavaThread, CompilerThread, ServiceThread, JvmtiAgentThread, or SurrogateLockerThread) | |
at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:169) | |
at sun.jvm.hotspot.runtime.Threads.first(Threads.java:153) | |
at sun.jvm.hotspot.runtime.DeadlockDetector.createThreadTable(DeadlockDetector.java:149) | |
at sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:56) | |
at sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:39) | |
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:62) | |
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45) | |
at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) | |
at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) | |
at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) | |
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) | |
at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) | |
at sun.tools.jstack.JStack.main(JStack.java:106) | |
Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x00007fe71412f000 | |
at sun.jvm.hotspot.runtime.InstanceConstructor.newWrongTypeException(InstanceConstructor.java:62) | |
at sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(VirtualConstructor.java:80) | |
at sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:165) | |
... 17 more | |
Can't print deadlocks:Unable to deduce type of thread from address 0x00007fe71412f000 (expected type JavaThread, CompilerThread, ServiceThread, JvmtiAgentThread, or SurrogateLockerThread) | |
Exception in thread "main" java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) | |
at sun.tools.jstack.JStack.main(JStack.java:106) | |
Caused by: java.lang.InternalError: Metadata does not appear to be polymorphic | |
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddress(BasicTypeDataBase.java:278) | |
at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:102) | |
at sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:68) | |
at sun.jvm.hotspot.memory.DictionaryEntry.klass(DictionaryEntry.java:71) | |
at sun.jvm.hotspot.memory.DictionaryEntry.equals(DictionaryEntry.java:79) | |
at sun.jvm.hotspot.memory.Dictionary.getEntry(Dictionary.java:99) | |
at sun.jvm.hotspot.memory.Dictionary.find(Dictionary.java:87) | |
at sun.jvm.hotspot.memory.SystemDictionary.find(SystemDictionary.java:159) | |
at sun.jvm.hotspot.memory.SystemDictionary.find(SystemDictionary.java:151) | |
at sun.jvm.hotspot.memory.SystemDictionary.getAbstractOwnableSynchronizerKlass(SystemDictionary.java:135) | |
at sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.fillLocks(ConcurrentLocksPrinter.java:66) | |
at sun.jvm.hotspot.runtime.ConcurrentLocksPrinter.<init>(ConcurrentLocksPrinter.java:36) | |
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:71) | |
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45) | |
at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) | |
at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) | |
at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) | |
at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) | |
at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) | |
... 6 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment