Skip to content

Instantly share code, notes, and snippets.

@eostermueller
Created June 1, 2014 05:08
Show Gist options
  • Save eostermueller/516b648409376063bb45 to your computer and use it in GitHub Desktop.
Save eostermueller/516b648409376063bb45 to your computer and use it in GitHub Desktop.
threadDumpFromHungInTraceServerAgent
Attaching to process ID 1359, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 24.51-b03
Deadlock Detection:
No deadlocks found.
Thread 17419: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=226 (Interpreted frame)
- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=2082 (Interpreted frame)
- java.util.concurrent.LinkedBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=62, line=467 (Interpreted frame)
- org.intrace.output.NetworkDataSenderThread.runMethod() @bci=77Error occurred during stack walking:
sun.jvm.hotspot.oops.UnknownOopException
at sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:393)
at sun.jvm.hotspot.oops.ObjArray.getObjAt(ObjArray.java:67)
at sun.jvm.hotspot.oops.ConstMethod.getMethod(ConstMethod.java:108)
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 15111: (state = IN_NATIVE)
- java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted frame)
- java.net.SocketInputStream.read(byte[], int, int, int) @bci=87, line=152 (Interpreted frame)
- java.net.SocketInputStream.read(byte[], int, int) @bci=11, line=122 (Interpreted frame)
- java.io.ObjectInputStream$PeekInputStream.read(byte[], int, int) @bci=20, line=2310 (Interpreted frame)
- java.io.ObjectInputStream$PeekInputStream.readFully(byte[], int, int) @bci=19, line=2323 (Interpreted frame)
- java.io.ObjectInputStream$BlockDataInputStream.readShort() @bci=22, line=2794 (Interpreted frame)
- java.io.ObjectInputStream.readStreamHeader() @bci=4, line=801 (Interpreted frame)
- java.io.ObjectInputStream.<init>(java.io.InputStream) @bci=61, line=299 (Interpreted frame)
- org.intrace.agent.server.AgentClientConnection.receiveMessage() @bci=13, line=169 (Interpreted frame)
- org.intrace.agent.server.AgentClientConnection.runMethod() @bci=1Error occurred during stack walking:
sun.jvm.hotspot.oops.UnknownOopException
at sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:393)
at sun.jvm.hotspot.oops.ObjArray.getObjAt(ObjArray.java:67)
at sun.jvm.hotspot.oops.ConstMethod.getMethod(ConstMethod.java:108)
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 19971: (state = IN_NATIVE)
- java.net.PlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=0 (Interpreted frame)
- java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7Error occurred during stack walking:
sun.jvm.hotspot.oops.UnknownOopException
at sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:393)
at sun.jvm.hotspot.oops.ObjArray.getObjAt(ObjArray.java:67)
at sun.jvm.hotspot.oops.ConstMethod.getMethod(ConstMethod.java:108)
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 19459: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- java.lang.Object.wait() @bci=2, line=503 (Interpreted frame)
- org.intrace.agent.ClassTransformer$StatusHolder.getStatus() @bci=8, line=392 (Interpreted frame)
- org.intrace.agent.ClassTransformer$StatusUpdateThread.runMethod() @bci=4Error occurred during stack walking:
java.lang.NullPointerException
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 18947: (state = BLOCKED)
Thread 14595: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=135 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove() @bci=2, line=151 (Interpreted frame)
- java.lang.ref.Finalizer$FinalizerThread.run() @bci=16Error occurred during stack walking:
java.lang.NullPointerException
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 14083: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- java.lang.Object.wait() @bci=2, line=503 (Interpreted frame)
- java.lang.ref.Reference$ReferenceHandler.run() @bci=46Error occurred during stack walking:
java.lang.NullPointerException
at sun.jvm.hotspot.oops.ConstMethod.isNative(ConstMethod.java:365)
at sun.jvm.hotspot.oops.ConstMethod.getLineNumberFromBCI(ConstMethod.java:256)
at sun.jvm.hotspot.oops.Method.getLineNumberFromBCI(Method.java:296)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
at sun.tools.jstack.JStack.main(JStack.java:102)
Thread 6403: (state = BLOCKED)
- java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be imprecise)
- example.MyFirstTestImplementor.foo(long) @bci=1, line=8 (Compiled frame)
- example.FirstTraceExample.interfaceTest(long) @bci=10, line=53 (Compiled frame)
- example.FirstTraceExample.otherMain(java.lang.String) @bci=4, line=28 (Compiled frame)
- example.FirstTraceExample.main(java.lang.String[]) @bci=3, line=16 (Interpreted frame)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment