openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07430
[Bug 939103] [NEW] Failed to connect jconsole with application
Public bug reported:
This happens with openjdk-6 too.
Ubuntu 12.04 amd64
openjdk-6-jre 6b24-1.11.1-0ubuntu1
openjdk-7-jre 7~b147-2.0-1ubuntu2
I just opened jconsole, select my java application and tried to connect.
Unfortunately without success. I got the following stack trace on the
application console:
Full thread dump OpenJDK 64-Bit Server VM (21.0-b17 mixed mode):
"Thread-1" daemon prio=10 tid=0x00007fc5c43da000 nid=0x3257 waiting on condition [0x00007fc58b5ce000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at de.drjd.j2dgl.GameContainer$1.run(GameContainer.java:51)
at java.lang.Thread.run(Thread.java:722)
"AWT-EventQueue-0" prio=10 tid=0x00007fc5c433b800 nid=0x3256 runnable [0x00007fc58baf6000]
java.lang.Thread.State: RUNNABLE
at sun.java2d.loops.Blit.Blit(Native Method)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:560)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:541)
at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:189)
- locked <0x00000000c2604318> (a sun.java2d.loops.MaskBlit$General)
at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:204)
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:956)
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:578)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:71)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1011)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3062)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3047)
at de.drjd.j2dgl.sprite.Sprite.paint(Sprite.java:46)
at de.drjd.j2dgl.test.impl.RandTestGameState.paint(RandTestGameState.java:34)
at de.drjd.j2dgl.GameContainer.paint(GameContainer.java:100)
at de.drjd.j2dgl.GameContainer$GamePanel.paintComponent(GameContainer.java:188)
at javax.swing.JComponent.paint(JComponent.java:1045)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5212)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
at javax.swing.RepaintManager.paint(RepaintManager.java:1206)
at javax.swing.JComponent._paintImmediately(JComponent.java:5160)
at javax.swing.JComponent.paintImmediately(JComponent.java:4971)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
"AWT-Shutdown" prio=10 tid=0x00007fc5c4339800 nid=0x3255 in Object.wait() [0x00007fc58bbf8000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c2622388> (a java.lang.Object)
at java.lang.Object.wait(Object.java:503)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
- locked <0x00000000c2622388> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:722)
"process reaper" daemon prio=10 tid=0x00007fc5c42b1800 nid=0x3253 waiting on condition [0x00007fc5c8079000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000c260b878> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
"AWT-XAWT" daemon prio=10 tid=0x00007fc5c428a800 nid=0x3251 runnable [0x00007fc58bcf9000]
java.lang.Thread.State: RUNNABLE
at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:631)
at sun.awt.X11.XToolkit.run(XToolkit.java:595)
at java.lang.Thread.run(Thread.java:722)
"Java2D Disposer" daemon prio=10 tid=0x00007fc5c423f000 nid=0x3250 in Object.wait() [0x00007fc58bdfa000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c260d178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
- locked <0x00000000c260d178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at sun.java2d.Disposer.run(Disposer.java:145)
at java.lang.Thread.run(Thread.java:722)
"Service Thread" daemon prio=10 tid=0x00007fc5c4107800 nid=0x324e runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" daemon prio=10 tid=0x00007fc5c4105000 nid=0x324d waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x00007fc5c4102000 nid=0x324c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x00007fc5c4100000 nid=0x324b waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=10 tid=0x00007fc5c40a9000 nid=0x324a in Object.wait() [0x00007fc5c09f8000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c26031a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
- locked <0x00000000c26031a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
"Reference Handler" daemon prio=10 tid=0x00007fc5c40a7000 nid=0x3249 in Object.wait() [0x00007fc5c0af9000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c2602ba0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
- locked <0x00000000c2602ba0> (a java.lang.ref.Reference$Lock)
"main" prio=10 tid=0x00007fc5c4008000 nid=0x3243 waiting on condition [0x00007fc5cbea5000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at de.drjd.j2dgl.GameContainer.run(GameContainer.java:69)
at de.drjd.j2dgl.test.RandMobsTest.main(RandMobsTest.java:20)
"VM Thread" prio=10 tid=0x00007fc5c409e800 nid=0x3248 runnable
"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fc5c4012800
nid=0x3244 runnable
"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fc5c4014800
nid=0x3245 runnable
"GC task thread#2 (ParallelGC)" prio=10 tid=0x00007fc5c4016800
nid=0x3246 runnable
"GC task thread#3 (ParallelGC)" prio=10 tid=0x00007fc5c4018000
nid=0x3247 runnable
"VM Periodic Task Thread" prio=10 tid=0x00007fc5c4112000 nid=0x324f
waiting on condition
JNI global references: 301
Heap
PSYoungGen total 333120K, used 107446K [0x00000000eb760000, 0x00000000fffa0000, 0x0000000100000000)
eden space 330048K, 32% used [0x00000000eb760000,0x00000000f2045a60,0x00000000ff9b0000)
from space 3072K, 1% used [0x00000000ffca0000,0x00000000ffca8000,0x00000000fffa0000)
to space 3008K, 0% used [0x00000000ff9b0000,0x00000000ff9b0000,0x00000000ffca0000)
PSOldGen total 42048K, used 2383K [0x00000000c2600000, 0x00000000c4f10000, 0x00000000eb760000)
object space 42048K, 5% used [0x00000000c2600000,0x00000000c2853e08,0x00000000c4f10000)
PSPermGen total 21248K, used 11039K [0x00000000b8000000, 0x00000000b94c0000, 0x00000000c2600000)
object space 21248K, 51% used [0x00000000b8000000,0x00000000b8ac7ec8,0x00000000b94c0000)
** Affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/939103
Title:
Failed to connect jconsole with application
Status in “openjdk-7” package in Ubuntu:
New
Bug description:
This happens with openjdk-6 too.
Ubuntu 12.04 amd64
openjdk-6-jre 6b24-1.11.1-0ubuntu1
openjdk-7-jre 7~b147-2.0-1ubuntu2
I just opened jconsole, select my java application and tried to
connect. Unfortunately without success. I got the following stack
trace on the application console:
Full thread dump OpenJDK 64-Bit Server VM (21.0-b17 mixed mode):
"Thread-1" daemon prio=10 tid=0x00007fc5c43da000 nid=0x3257 waiting on condition [0x00007fc58b5ce000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at de.drjd.j2dgl.GameContainer$1.run(GameContainer.java:51)
at java.lang.Thread.run(Thread.java:722)
"AWT-EventQueue-0" prio=10 tid=0x00007fc5c433b800 nid=0x3256 runnable [0x00007fc58baf6000]
java.lang.Thread.State: RUNNABLE
at sun.java2d.loops.Blit.Blit(Native Method)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:560)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:541)
at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:189)
- locked <0x00000000c2604318> (a sun.java2d.loops.MaskBlit$General)
at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:204)
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:956)
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:578)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:71)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1011)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3062)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3047)
at de.drjd.j2dgl.sprite.Sprite.paint(Sprite.java:46)
at de.drjd.j2dgl.test.impl.RandTestGameState.paint(RandTestGameState.java:34)
at de.drjd.j2dgl.GameContainer.paint(GameContainer.java:100)
at de.drjd.j2dgl.GameContainer$GamePanel.paintComponent(GameContainer.java:188)
at javax.swing.JComponent.paint(JComponent.java:1045)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5212)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
at javax.swing.RepaintManager.paint(RepaintManager.java:1206)
at javax.swing.JComponent._paintImmediately(JComponent.java:5160)
at javax.swing.JComponent.paintImmediately(JComponent.java:4971)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
"AWT-Shutdown" prio=10 tid=0x00007fc5c4339800 nid=0x3255 in Object.wait() [0x00007fc58bbf8000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c2622388> (a java.lang.Object)
at java.lang.Object.wait(Object.java:503)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
- locked <0x00000000c2622388> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:722)
"process reaper" daemon prio=10 tid=0x00007fc5c42b1800 nid=0x3253 waiting on condition [0x00007fc5c8079000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000c260b878> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
"AWT-XAWT" daemon prio=10 tid=0x00007fc5c428a800 nid=0x3251 runnable [0x00007fc58bcf9000]
java.lang.Thread.State: RUNNABLE
at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:631)
at sun.awt.X11.XToolkit.run(XToolkit.java:595)
at java.lang.Thread.run(Thread.java:722)
"Java2D Disposer" daemon prio=10 tid=0x00007fc5c423f000 nid=0x3250 in Object.wait() [0x00007fc58bdfa000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c260d178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
- locked <0x00000000c260d178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at sun.java2d.Disposer.run(Disposer.java:145)
at java.lang.Thread.run(Thread.java:722)
"Service Thread" daemon prio=10 tid=0x00007fc5c4107800 nid=0x324e runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" daemon prio=10 tid=0x00007fc5c4105000 nid=0x324d waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x00007fc5c4102000 nid=0x324c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x00007fc5c4100000 nid=0x324b waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=10 tid=0x00007fc5c40a9000 nid=0x324a in Object.wait() [0x00007fc5c09f8000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c26031a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
- locked <0x00000000c26031a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
"Reference Handler" daemon prio=10 tid=0x00007fc5c40a7000 nid=0x3249 in Object.wait() [0x00007fc5c0af9000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c2602ba0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
- locked <0x00000000c2602ba0> (a java.lang.ref.Reference$Lock)
"main" prio=10 tid=0x00007fc5c4008000 nid=0x3243 waiting on condition [0x00007fc5cbea5000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at de.drjd.j2dgl.GameContainer.run(GameContainer.java:69)
at de.drjd.j2dgl.test.RandMobsTest.main(RandMobsTest.java:20)
"VM Thread" prio=10 tid=0x00007fc5c409e800 nid=0x3248 runnable
"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fc5c4012800
nid=0x3244 runnable
"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fc5c4014800
nid=0x3245 runnable
"GC task thread#2 (ParallelGC)" prio=10 tid=0x00007fc5c4016800
nid=0x3246 runnable
"GC task thread#3 (ParallelGC)" prio=10 tid=0x00007fc5c4018000
nid=0x3247 runnable
"VM Periodic Task Thread" prio=10 tid=0x00007fc5c4112000 nid=0x324f
waiting on condition
JNI global references: 301
Heap
PSYoungGen total 333120K, used 107446K [0x00000000eb760000, 0x00000000fffa0000, 0x0000000100000000)
eden space 330048K, 32% used [0x00000000eb760000,0x00000000f2045a60,0x00000000ff9b0000)
from space 3072K, 1% used [0x00000000ffca0000,0x00000000ffca8000,0x00000000fffa0000)
to space 3008K, 0% used [0x00000000ff9b0000,0x00000000ff9b0000,0x00000000ffca0000)
PSOldGen total 42048K, used 2383K [0x00000000c2600000, 0x00000000c4f10000, 0x00000000eb760000)
object space 42048K, 5% used [0x00000000c2600000,0x00000000c2853e08,0x00000000c4f10000)
PSPermGen total 21248K, used 11039K [0x00000000b8000000, 0x00000000b94c0000, 0x00000000c2600000)
object space 21248K, 51% used [0x00000000b8000000,0x00000000b8ac7ec8,0x00000000b94c0000)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/939103/+subscriptions
Follow ups
References