4 Replies Latest reply on Mar 9, 2015 9:36 PM by Vadim Tropashko-Oracle

    4.0.2.15 & 4.1.0.17 Hangs when copying, using shortcuts or context menu

    Tom Halladay

      Out of the blue, my SQL Developer has been hanging for 10-60 seconds when (what I finally drilled down as) I copy text out of the editor window.  This happens whether I use CTRL-C or the mouse right-click context menu (as recommended as a workaround in a separate discussion).  There are also other weird hang times like start up and/or trying to close the About window, but the most consistent one is copying text.

       

      Re: 4.0.2.15 copy/paste hang

       

      I tried updating to 4.1.0.17, but the problem is still there

        • 1. Re: 4.0.2.15 & 4.1.0.17 Hangs when copying, using shortcuts or context menu
          thatJeffSmith-Oracle

          next time it hangs, grab a jstack

           

          run jstack.exe out of the jdk\bin directory
            > jstack -l <PID> -- where PID is the process ID of sqldev

           

          send that stack dump here, then we can see why it's hanging, probably

          • 2. Re: 4.0.2.15 & 4.1.0.17 Hangs when copying, using shortcuts or context menu
            Tom Halladay

            Thanks for the response Jeff.  I'm not sure I'm going to be able to reproduce it now, it seems like an oracle server reboot fixed the problems on my client side.  If it happens again I'll try to grab the stack

            • 3. Re: 4.0.2.15 & 4.1.0.17 Hangs when copying, using shortcuts or context menu
              Tom Halladay

              More freezes.  Here's the stack:

               

              2015-03-09 16:33:09

              Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode):

               

               

              "SwingWorker-pool-5-thread-4" daemon prio=6 tid=0x000000000fbb1000 nid=0x19a4 waiting on condition [0x000000000e1ef000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d3583890> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "SwingWorker-pool-5-thread-3" daemon prio=6 tid=0x00000000117b4800 nid=0x2a20 waiting on condition [0x000000000d9ef000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d3583890> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "RaptorTask: Saving Sql History" prio=6 tid=0x0000000010244000 nid=0x1570 waiting on condition [0x000000000deef000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000cf7321b8> (a java.util.concurrent.SynchronousQueue$TransferStack)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)

                at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)

                at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:925)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Background Parser" prio=6 tid=0x00000000117b2800 nid=0x5cc waiting on condition [0x000000000e0ef000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:142)

                at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "SwingWorker-pool-5-thread-2" daemon prio=6 tid=0x0000000010245800 nid=0x209c waiting on condition [0x000000000e2ef000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d3583890> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "DBRequestProcessorFactory_Timer" daemon prio=6 tid=0x0000000010245000 nid=0x20ac in Object.wait() [0x000000000ddef000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000d35bd470> (a java.util.TaskQueue)

                at java.lang.Object.wait(Object.java:503)

                at java.util.TimerThread.mainLoop(Timer.java:526)

                - locked <0x00000000d35bd470> (a java.util.TaskQueue)

                at java.util.TimerThread.run(Timer.java:505)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Background Parser" prio=6 tid=0x0000000010240800 nid=0x1d1c waiting on condition [0x000000000dcef000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:142)

                at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "SwingWorker-pool-5-thread-1" daemon prio=6 tid=0x0000000010242000 nid=0x1a8c waiting on condition [0x000000000dbef000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d3583890> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Background Parser" prio=6 tid=0x0000000010241000 nid=0x2e80 waiting on condition [0x000000000d20f000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:142)

                at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Image Animator 0" daemon prio=4 tid=0x000000000fbaf800 nid=0x2f2c waiting on condition [0x000000000badf000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:670)

                at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:458)

                at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:212)

                at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:269)

                at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)

                at sun.awt.image.ImageFetcher.run(ImageFetcher.java:169)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "pool-3-thread-1" prio=6 tid=0x000000000fba8800 nid=0x8c4 waiting on condition [0x00000000160cf000]

                 java.lang.Thread.State: TIMED_WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d1d555d0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)

                at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)

                at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "status-0" prio=2 tid=0x000000001023f000 nid=0x28fc waiting on condition [0x000000001640f000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000d1ba0588> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.DelayQueue.take(DelayQueue.java:209)

                at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:338)

                at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:300)

                at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "WeakDataReference polling" prio=2 tid=0x000000000fbb6800 nid=0x230c in Object.wait() [0x00000000161cf000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000d1ba4d10> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                - locked <0x00000000d1ba4d10> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)

                at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Background Parser" prio=6 tid=0x000000000fbb0000 nid=0x18cc waiting on condition [0x0000000013b7f000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:142)

                at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "TextBufferScavenger" prio=6 tid=0x000000000fbae000 nid=0x1424 in Object.wait() [0x000000000bbdf000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000d195b0e8> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                - locked <0x00000000d195b0e8> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)

                at oracle.ide.model.FacadeBufferReference$PollingThread.run(FacadeBufferReference.java:145)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "IconOverlayTracker Timer: null-jdbcNodeInfoType" prio=6 tid=0x000000000fbb3800 nid=0x21cc in Object.wait() [0x0000000014fff000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000d0f79bb8> (a java.util.TaskQueue)

                at java.lang.Object.wait(Object.java:503)

                at java.util.TimerThread.mainLoop(Timer.java:526)

                - locked <0x00000000d0f79bb8> (a java.util.TaskQueue)

                at java.util.TimerThread.run(Timer.java:505)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "WaitCursor-Timer" prio=6 tid=0x000000000fbb1800 nid=0x1338 in Object.wait() [0x000000000f87f000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000d0d20000> (a java.util.TaskQueue)

                at java.lang.Object.wait(Object.java:503)

                at java.util.TimerThread.mainLoop(Timer.java:526)

                - locked <0x00000000d0d20000> (a java.util.TaskQueue)

                at java.util.TimerThread.run(Timer.java:505)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Thread-9" daemon prio=6 tid=0x000000000fbae800 nid=0x2584 in Object.wait() [0x000000000b9df000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf11bff0> (a java.util.LinkedList)

                at java.lang.Object.wait(Object.java:503)

                at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1476)

                - locked <0x00000000cf11bff0> (a java.util.LinkedList)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Scheduler" daemon prio=6 tid=0x000000000fbac800 nid=0x2c18 in Object.wait() [0x0000000013a7f000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf731bc0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)

                at java.lang.Object.wait(Object.java:503)

                at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)

                - locked <0x00000000cf731bc0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)

                at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:479)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Log Poller" prio=2 tid=0x000000000fbab800 nid=0x2a8c waiting on condition [0x000000001293f000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000cf7904a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)

                at oracle.ide.log.QueuedLoggingHandler.take(QueuedLoggingHandler.java:60)

                at oracle.ideimpl.log.TabbedLogManager$4.run(TabbedLogManager.java:321)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "JarIndex Timer" daemon prio=6 tid=0x000000000fbaa000 nid=0xec0 in Object.wait() [0x00000000125df000]

                 java.lang.Thread.State: TIMED_WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cef41e38> (a java.util.TaskQueue)

                at java.util.TimerThread.mainLoop(Timer.java:552)

                - locked <0x00000000cef41e38> (a java.util.TaskQueue)

                at java.util.TimerThread.run(Timer.java:505)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "TimedCache-Timer" daemon prio=6 tid=0x000000000fba8000 nid=0x291c in Object.wait() [0x00000000112af000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf5ef850> (a java.util.TaskQueue)

                at java.lang.Object.wait(Object.java:503)

                at java.util.TimerThread.mainLoop(Timer.java:526)

                - locked <0x00000000cf5ef850> (a java.util.TaskQueue)

                at java.util.TimerThread.run(Timer.java:505)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Framework Event Dispatcher" daemon prio=6 tid=0x000000000fba7000 nid=0x2860 in Object.wait() [0x00000000110af000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000ce65f590> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)

                at java.lang.Object.wait(Object.java:503)

                at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)

                - locked <0x00000000ce65f590> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)

                at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "State Data Manager" daemon prio=6 tid=0x000000000fadc800 nid=0x2948 waiting on condition [0x0000000010e7f000]

                 java.lang.Thread.State: TIMED_WAITING (sleeping)

                at java.lang.Thread.sleep(Native Method)

                at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Framework Active Thread" prio=6 tid=0x000000000c2e0800 nid=0x292c in Object.wait() [0x0000000010c4f000]

                 java.lang.Thread.State: TIMED_WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf225cf8> (a org.eclipse.osgi.framework.internal.core.Framework)

                at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1863)

                - locked <0x00000000cf225cf8> (a org.eclipse.osgi.framework.internal.core.Framework)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000bd21000 nid=0x2bb4 in Object.wait() [0x000000000c95f000]

                 java.lang.Thread.State: TIMED_WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf23fba8> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                - locked <0x00000000cf23fba8> (a java.lang.ref.ReferenceQueue$Lock)

                at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:180)

                - locked <0x00000000cf23fba8> (a java.lang.ref.ReferenceQueue$Lock)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "TimerQueue" daemon prio=6 tid=0x0000000009c78000 nid=0x2ae8 waiting on condition [0x000000000c5ef000]

                 java.lang.Thread.State: TIMED_WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000ce495d28> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)

                at java.util.concurrent.DelayQueue.take(DelayQueue.java:220)

                at javax.swing.TimerQueue.run(TimerQueue.java:171)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - <0x00000000ce495d60> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

               

               

              "AWT-EventQueue-0" prio=6 tid=0x0000000009bca800 nid=0x11c4 waiting on condition [0x000000000b8df000]

                 java.lang.Thread.State: WAITING (parking)

                at sun.misc.Unsafe.park(Native Method)

                - parking to wait for  <0x00000000ce467178> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                at java.awt.EventQueue.getNextEvent(EventQueue.java:543)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)

                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "AWT-Windows" daemon prio=6 tid=0x0000000009bc9800 nid=0x29b0 runnable [0x000000000b5ef000]

                 java.lang.Thread.State: RUNNABLE

                at sun.awt.windows.WToolkit.eventLoop(Native Method)

                at sun.awt.windows.WToolkit.run(WToolkit.java:308)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "AWT-Shutdown" prio=6 tid=0x0000000009bc7000 nid=0x2b44 in Object.wait() [0x000000000b4ef000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000ce658f48> (a java.lang.Object)

                at java.lang.Object.wait(Object.java:503)

                at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:296)

                - locked <0x00000000ce658f48> (a java.lang.Object)

                at java.lang.Thread.run(Thread.java:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Java2D Disposer" daemon prio=10 tid=0x0000000009b9e800 nid=0x2938 in Object.wait() [0x000000000b3ef000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000cf3480d8> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                - locked <0x00000000cf3480d8> (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:745)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Service Thread" daemon prio=6 tid=0x0000000009a42000 nid=0x2a54 runnable [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "C2 CompilerThread1" daemon prio=10 tid=0x0000000009a3d000 nid=0x2838 waiting on condition [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "C2 CompilerThread0" daemon prio=10 tid=0x0000000009a27800 nid=0x2c38 waiting on condition [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Attach Listener" daemon prio=10 tid=0x0000000009a27000 nid=0x2c34 waiting on condition [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Signal Dispatcher" daemon prio=10 tid=0x0000000009a26000 nid=0x16ec runnable [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Finalizer" daemon prio=8 tid=0x0000000008868800 nid=0x2974 in Object.wait() [0x000000000ac2f000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000ce6d3a78> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                - locked <0x00000000ce6d3a78> (a java.lang.ref.ReferenceQueue$Lock)

                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)

                at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "Reference Handler" daemon prio=10 tid=0x0000000008862000 nid=0x2b94 in Object.wait() [0x000000000ab2f000]

                 java.lang.Thread.State: WAITING (on object monitor)

                at java.lang.Object.wait(Native Method)

                - waiting on <0x00000000ce69e720> (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 <0x00000000ce69e720> (a java.lang.ref.Reference$Lock)

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "main" prio=6 tid=0x000000000216c000 nid=0x2aec waiting on condition [0x0000000000000000]

                 java.lang.Thread.State: RUNNABLE

               

               

                 Locked ownable synchronizers:

                - None

               

               

              "VM Thread" prio=10 tid=0x00000000021ff800 nid=0x2a40 runnable

               

               

              "GC task thread#0 (ParallelGC)" prio=6 tid=0x0000000002180800 nid=0x10c0 runnable

               

               

              "GC task thread#1 (ParallelGC)" prio=6 tid=0x0000000002182000 nid=0x1d38 runnable

               

               

              "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002184000 nid=0x2ae4 runnable

               

               

              "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002186800 nid=0x25e8 runnable

               

               

              "GC task thread#4 (ParallelGC)" prio=6 tid=0x000000000218a000 nid=0x17f0 runnable

               

               

              "GC task thread#5 (ParallelGC)" prio=6 tid=0x000000000218b800 nid=0x16c4 runnable

               

               

              "GC task thread#6 (ParallelGC)" prio=6 tid=0x000000000218d000 nid=0x2998 runnable

               

               

              "GC task thread#7 (ParallelGC)" prio=6 tid=0x000000000218f000 nid=0x2b6c runnable

               

               

              "VM Periodic Task Thread" prio=10 tid=0x0000000009a4c000 nid=0x27c0 waiting on condition

               

               

              JNI global references: 3248

              • 4. Re: 4.0.2.15 & 4.1.0.17 Hangs when copying, using shortcuts or context menu
                Vadim Tropashko-Oracle

                Are you sure you have captured the stack when it was hanging (not after)? Please note that on windows you can do it more easily:

                1. Run sqldeveloper/bin/sqldeveloper.exe (which would run the application together with console window).

                2. At the hunging moment, switch the active window immediately to console and hit ctrl-break

                 

                Another useful information is statements log (arguably, the most useful new 4.1 feature). Is there a statement which executes for unusually long time?