12 Replies Latest reply on Feb 18, 2016 4:18 PM by Gary Graham-Oracle

    SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently

    Nimish Garg

      Hi,

       

      Following is the debug information

       

      H:\sqldeveloper\sqldeveloper\bin>sqldeveloper

      Custom UI class oracle.bali.ewt.olaf2.OracleLookAndFeel not on classpath.

       

       

       

       

      LOAD TIME : 9232016-02-17 16:19:03

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

       

       

      "Keep-Alive-Timer" #62 daemon prio=8 os_prio=1 tid=0x000000001c2e1800 nid=0x1944 waiting on condition [0x00000000222ef000]

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

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

              at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172)

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

       

       

      "IconOverlayTracker Timer: null-jdbcNodeInfoType" #57 prio=5 os_prio=0 tid=0x000000001c2e0800 nid=0x19d0 in Object.wait() [0x00000000221ef000]

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

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

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

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

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

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

       

       

      "WaitCursor-Timer" #54 prio=6 os_prio=0 tid=0x000000001cd23000 nid=0xea8 in Object.wait() [0x0000000021acf000]

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

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

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

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

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

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

       

       

      "Image Fetcher 3" #53 daemon prio=8 os_prio=1 tid=0x000000001cd21800 nid=0x210 in Object.wait() [0x0000000020bdf000]

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

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

              at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:147)

              - locked <0x00000000cf456530> (a java.util.Vector)

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

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

       

       

      "Raptor Metrics Engine Thread" #51 daemon prio=5 os_prio=0 tid=0x000000001cd20800 nid=0x1e54 waiting on condition [0x000000001979f000]

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

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

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

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

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

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

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

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

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

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

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

      ^C

       

       

      "IconOverlayTracker Daemon" #44 H:\sqldeveloper\sqldeveloper\bin>prio=5 os_prio=0 tid=0x000000001cd22000 nid=0x18f8 waiting on condition [0x0000000020

      8df000]

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

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

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

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

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

              at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)

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

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

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

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

       

       

      "RaptorTask: Usage Data" #41 prio=5 os_prio=0 tid=0x000000001cd1f000 nid=0x1c64 waiting on condition [0x00000000201df000]

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

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

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

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

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

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

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

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

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

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

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

       

       

      "Thread-11" #39 daemon prio=5 os_prio=0 tid=0x000000001cd1d800 nid=0x1ec4 in Object.wait() [0x000000001ffdf000]

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

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

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

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

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

       

       

      "Inactive RequestProcessor thread [Was:org.netbeans.core.network.proxy.NbProxySelector/org.netbeans.core.network.proxy.NbProxySelector$DnsTimeoutTask]

      " #38 daemon prio=1 os_prio=-2 tid=0x000000001cd1e800 nid=0x1ca0 in Object.wait() [0x00000000204df000]

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

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

              at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1982)

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

       

       

      "Scheduler" #34 daemon prio=5 os_prio=0 tid=0x000000001cd1d000 nid=0x1094 in Object.wait() [0x000000001fadf000]

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

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

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

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

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

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

       

       

      "Log Poller" #33 prio=1 os_prio=-2 tid=0x000000001cd1c000 nid=0xd04 waiting on condition [0x000000001f5df000]

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

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

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

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

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

              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:333)

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

       

       

      "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" #31 daemon prio=1 os_prio=-2 tid=0x000000001a3bb800 ni

      d=0x189c in Object.wait() [0x000000001eedf000]

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

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

              at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1982)

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

       

       

      "TimedCache-Timer" #28 daemon prio=5 os_prio=0 tid=0x000000001a3b9800 nid=0x1214 in Object.wait() [0x000000001dcdf000]

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

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

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

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

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

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

       

       

      "Framework Event Dispatcher" #24 daemon prio=5 os_prio=0 tid=0x000000001a3b7000 nid=0x1c70 in Object.wait() [0x000000001c8ef000]

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

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

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

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

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

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

       

       

      "Inactive RequestProcessor thread [Was:Folder recognizer/org.openide.loaders.FolderList$ListTask]" #23 daemon prio=6 os_prio=0 tid=0x000000001a3b6800

      nid=0x1d20 in Object.wait() [0x000000001b54f000]

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

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

              at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1982)

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

       

       

      "State Data Manager" #22 daemon prio=5 os_prio=0 tid=0x000000001a3b5800 nid=0x18a8 waiting on condition [0x000000001b44f000]

         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)

       

       

      "Framework Active Thread" #21 prio=5 os_prio=0 tid=0x000000001a3b5000 nid=0x150c in Object.wait() [0x000000001b34f000]

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

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

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

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

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

       

       

      "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" #20 daemon prio=1 os_prio=-2 tid=0x0000000016113800 ni

      d=0x1a54 in Object.wait() [0x0000000019b9f000]

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

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

              at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1982)

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

       

       

      "RequestProcessor queue manager" #19 daemon prio=5 os_prio=0 tid=0x0000000015f43800 nid=0x1fc0 in Object.wait() [0x0000000019a9f000]

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

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

              at org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2262)

              - locked <0x00000000ceace130> (a java.lang.Class for org.openide.util.RequestProcessor$TickTac)

              at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2238)

       

       

      "Active Reference Queue Daemon" #17 daemon prio=1 os_prio=-2 tid=0x0000000015ef8800 nid=0x1c60 in Object.wait() [0x00000000170ff000]

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

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

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

              at org.openide.util.lookup.implspi.ActiveQueue.removeBetter(ActiveQueue.java:225)

              at org.openide.util.lookup.implspi.ActiveQueue.access$400(ActiveQueue.java:57)

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

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

       

       

      "TimerQueue" #15 daemon prio=5 os_prio=0 tid=0x0000000015d5f000 nid=0x1fe0 waiting on condition [0x0000000016b8f000]

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

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

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

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

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

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

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

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

       

       

      "AWT-EventQueue-0" #14 prio=6 os_prio=0 tid=0x0000000015ce7000 nid=0x1e68 waiting on condition [0x0000000016a8f000]

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

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

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

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

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

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

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

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

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

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

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

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

       

       

      "AWT-Windows" #12 daemon prio=6 os_prio=0 tid=0x0000000015b77000 nid=0x18ac runnable [0x000000001688f000]

         java.lang.Thread.State: RUNNABLE

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

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

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

       

       

      "AWT-Shutdown" #11 prio=5 os_prio=0 tid=0x0000000015b76000 nid=0xbbc in Object.wait() [0x000000001678f000]

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

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

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

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

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

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

       

       

      "Java2D Disposer" #10 daemon prio=10 os_prio=2 tid=0x0000000015b75000 nid=0x1374 in Object.wait() [0x000000001668f000]

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

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

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

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

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

              at sun.java2d.Disposer.run(Disposer.java:148)

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

       

       

      "Service Thread" #8 daemon prio=9 os_prio=0 tid=0x000000001462a000 nid=0x1f10 runnable [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "C1 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x00000000145e3800 nid=0x14ec waiting on condition [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x00000000145df800 nid=0x1ee0 waiting on condition [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x00000000145db000 nid=0xfcc runnable [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x00000000145d9800 nid=0x1c28 waiting on condition [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x0000000014582800 nid=0x1eb0 in Object.wait() [0x00000000152cf000]

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

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

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

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

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

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

       

       

      "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000014579800 nid=0x1fa8 in Object.wait() [0x00000000151cf000]

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

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

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

              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)

              - locked <0x00000000cead76b8> (a java.lang.ref.Reference$Lock)

       

       

      "main" #1 prio=5 os_prio=0 tid=0x00000000027d3800 nid=0x1e8c waiting on condition [0x0000000000000000]

         java.lang.Thread.State: RUNNABLE

       

       

      "VM Thread" os_prio=2 tid=0x0000000014574000 nid=0x1f7c runnable

       

       

      "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000027e7800 nid=0x1154 runnable

       

       

      "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000027e9000 nid=0x1724 runnable

       

       

      "VM Periodic Task Thread" os_prio=2 tid=0x000000001463f800 nid=0x19d4 waiting on condition

       

       

      JNI global references: 1951

       

       

      Heap

      PSYoungGen      total 152576K, used 43261K [0x00000000ef580000, 0x00000000fb180000, 0x0000000100000000)

        eden space 134656K, 18% used [0x00000000ef580000,0x00000000f0e46e90,0x00000000f7900000)

        from space 17920K, 99% used [0x00000000f9200000,0x00000000fa378660,0x00000000fa380000)

        to   space 25600K, 0% used [0x00000000f7900000,0x00000000f7900000,0x00000000f9200000)

      ParOldGen       total 156672K, used 54239K [0x00000000ce000000, 0x00000000d7900000, 0x00000000ef580000)

        object space 156672K, 34% used [0x00000000ce000000,0x00000000d14f7f60,0x00000000d7900000)

      Metaspace       used 73203K, capacity 79722K, committed 80024K, reserved 1118208K

        class space    used 8962K, capacity 10818K, committed 10928K, reserved 1048576K

       

       

      UsersCache.fillIn() time = 41  ret==null?: false

       

      Please check and help me fix it.

       

       

      Thank You

      Nimish Garg

        • 1. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
          Nimish Garg

          Other Information...

           

          • The version of SQL Developer you are running: sqldeveloper-4.1.3.20.78-x64
          • The version of the JDK you are using: 1.8.0_60 (came with it)
          • The OS you are using: Windows 7 EE
          • The version of Oracle you are connected to: Oracle 11g R2
          • 2. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
            Brian Jeffries-Oracle

            Hi Nimish,

             

            Many of us use Windows 7 in daily development and testing for SQL Developer so this seems very odd. Best I can come up with is either an install or caching problem.

             

            For the installation, please check

            • [sqldeveloper]\configuration\oracle.ide.sqldev.bundles.info (plain text) should contain a line with:

            oracle.jewt-olaf2,12.2.1,../external/oracle.jewt-olaf2.jar,4,false

             

            Using 7-Zip or some other archive viewer

             

            • [sqldeveloper]\external\oracle.jewt-olaf2.jar$META-INF/MANIFEST.MF should contain

            Bundle-ClassPath: .,external:$oracle.jrf.home$/modules/oracle.bali.jew

            t/olaf2.jar

             

            and finally,

            • [sqldeveloper]\modules\oracle.bali.jewt\olaf2.jar

            should be there and have the oracle.bali.ewt.olaf2.OracleLookAndFeel class file in it.

             

            To rebuild the cache,

            • run sqldeveloper -clean from [sqldeveloper]\sqldeveloper\bin directory

             

            Hope that helps,

             

            Brian Jeffries

            SQL Developer Team

            • 3. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
              Gary Graham-Oracle

              I notice you are running SQL Developer from somewhere mapped as your H: drive. You do not say whether H: is a flash drive, some other local hard drive, or a network drive.

               

              In addition to checking for installation corruption or some cashing problem, as Brian suggests, you may also wish to control where the user settings and cache reside.  If you want those to go on H: also, then add the following line to your sqldeveloper.conf file: 

              AddVMOption -Dide.user.dir=H:/.sqldeveloper

              • 4. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                Nimish Garg

                H: is a network drive, but I have full access on it

                I have added following but still not working

                AddVMOption -Dide.user.dir=H:/sqldev

                • 5. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                  Nimish Garg

                  Hi Brain,

                   

                  Thanks for reply.

                  I have verified every think you asked, all is there.

                  Also also have rebuild cache, problem is still there...

                  • 6. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                    thatJeffSmith-Oracle

                    Since the crash occurs after a connect, I would try using a THICK connection. That involves getting an 11203/4 or 12102 Client, and configuring SQL Developer to use that.

                    • 7. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                      Nimish Garg

                      Hi Jeff,

                       

                      Thank you for your reply

                      But After setting thick client, I am not even able to connect. Test for thick client was successful.

                       

                      Thanks & Regards

                      Nimish Garg

                      • 8. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                        thatJeffSmith-Oracle

                        >>But After setting thick client, I am not even able to connect.

                        because?...did you get an error message?

                        • 9. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                          Nimish Garg

                          No message, it just crashed.

                          Here is the debug log, if it may help.

                           

                          H:\sqldeveloper\sqldeveloper\bin>sqldeveloper -clean

                          2016-02-18 20:59:59

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

                           

                           

                          "TimerQueue" #15 daemon prio=5 os_prio=0 tid=0x0000000015ac6000 nid=0x1334 waiting on condition [0x0000000016adf000]

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

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

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

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

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

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

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

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

                           

                           

                          "AWT-EventQueue-0" #14 prio=6 os_prio=0 tid=0x0000000015a4b800 nid=0x1dd4 waiting on condition [0x00000000161df000]

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

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

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

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

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

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

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

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

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

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

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

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

                           

                           

                          "AWT-Windows" #12 daemon prio=6 os_prio=0 tid=0x0000000015a4a800 nid=0x934 runnable [0x0000000015f9f000]

                             java.lang.Thread.State: RUNNABLE

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

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

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

                           

                           

                          "AWT-Shutdown" #11 prio=5 os_prio=0 tid=0x0000000015a74800 nid=0x1ea0 in Object.wait() [0x0000000015e9f000]

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

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

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

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

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

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

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

                          C

                          "Java2D Disposer" #10 daemon prio=10 os_prio=2 tid=0x0000000015a35800 nid=0x1530 in Object.wait() [0x0000000015d9f000]

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

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

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

                           

                           

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

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

                          H:\sqldeveloper\sqldeveloper\bin>       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)

                                  at sun.java2d.Disposer.run(Disposer.java:148)

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

                           

                           

                          "Service Thread" #8 daemon prio=9 os_prio=0 tid=0x0000000014523800 nid=0x1d10 runnable [0x0000000000000000]

                             java.lang.Thread.State: RUNNABLE

                           

                           

                          "C1 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x00000000144f5800 nid=0x9b0 waiting on condition [0x0000000000000000]

                             java.lang.Thread.State: RUNNABLE

                           

                           

                          "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x00000000144ef000 nid=0x1ea4 waiting on condition [0x0000000000000000]

                             java.lang.Thread.State: RUNNABLE

                           

                           

                          "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x00000000144ea800 nid=0x1f34 runnable [0x0000000000000000]

                             java.lang.Thread.State: RUNNABLE

                           

                           

                          "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x00000000144e9000 nid=0x1b74 waiting on condition [0x0000000000000000]

                             java.lang.Thread.State: RUNNABLE

                           

                           

                          "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x0000000014492800 nid=0x1e20 in Object.wait() [0x00000000151df000]

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

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

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

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

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

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

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

                           

                           

                          "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000014489800 nid=0x1cc8 in Object.wait() [0x00000000150df000]

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

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

                                  - waiting on <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)

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

                                  at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)

                                  - locked <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)

                           

                           

                          "main" #1 prio=5 os_prio=0 tid=0x00000000026a3800 nid=0x1c94 runnable [0x000000000012c000]

                             java.lang.Thread.State: RUNNABLE

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

                                  at java.util.WeakHashMap.hash(WeakHashMap.java:298)

                                  at java.util.WeakHashMap.remove(WeakHashMap.java:591)

                                  at java.util.zip.ZipFile$ZipFileInputStream.close(ZipFile.java:770)

                                  - locked <0x00000000ef5f3090> (a java.util.WeakHashMap)

                                  at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:724)

                                  at sun.misc.Resource.getBytes(Resource.java:124)

                                  at java.net.URLClassLoader.defineClass(URLClassLoader.java:462)

                                  at java.net.URLClassLoader.access$100(URLClassLoader.java:73)

                                  at java.net.URLClassLoader$1.run(URLClassLoader.java:368)

                                  at java.net.URLClassLoader$1.run(URLClassLoader.java:362)

                                  at java.security.AccessController.doPrivileged(Native Method)

                                  at java.net.URLClassLoader.findClass(URLClassLoader.java:361)

                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

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

                                  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

                                  at org.netbeans.ProxyClassLoader.getResourcesImpl(ProxyClassLoader.java:442)

                                  - locked <0x00000000f019c768> (a org.netbeans.MainImpl$BootClassLoader)

                                  at org.netbeans.ProxyClassLoader.getResources(ProxyClassLoader.java:390)

                                  at org.openide.util.lookup.MetaInfServicesLookup.search(MetaInfServicesLookup.java:205)

                                  at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:156)

                                  at org.openide.util.lookup.MetaInfServicesLookup.beforeLookupResult(MetaInfServicesLookup.java:135)

                                  at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:483)

                                  at org.openide.util.Lookup.lookupResult(Lookup.java:290)

                                  at org.openide.util.Lookup.lookupAll(Lookup.java:310)

                                  at org.netbeans.MainImpl$BootClassLoader.allCLIs(MainImpl.java:378)

                                  at org.netbeans.CLIHandler.initialize(CLIHandler.java:384)

                                  at org.netbeans.MainImpl.execute(MainImpl.java:193)

                                  at org.netbeans.MainImpl.main(MainImpl.java:85)

                                  at org.netbeans.Main.main(Main.java:83)

                                  at oracle.ide.osgi.boot.OracleIdeLauncher.launchNbMain(OracleIdeLauncher.java:439)

                                  at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:325)

                           

                           

                          "VM Thread" os_prio=2 tid=0x0000000014484000 nid=0x13b0 runnable

                           

                           

                          "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000026b7800 nid=0xcc8 runnable

                           

                           

                          "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000026ba000 nid=0x1b4c runnable

                           

                           

                          "VM Periodic Task Thread" os_prio=2 tid=0x000000001454e800 nid=0x1ed0 waiting on condition

                           

                           

                          JNI global references: 629

                           

                           

                          Heap

                          PSYoungGen      total 38400K, used 14867K [0x00000000ef580000, 0x00000000f2000000, 0x0000000100000000)

                            eden space 33280K, 44% used [0x00000000ef580000,0x00000000f0404fd0,0x00000000f1600000)

                            from space 5120K, 0% used [0x00000000f1b00000,0x00000000f1b00000,0x00000000f2000000)

                            to   space 5120K, 0% used [0x00000000f1600000,0x00000000f1600000,0x00000000f1b00000)

                          ParOldGen       total 87552K, used 0K [0x00000000ce000000, 0x00000000d3580000, 0x00000000ef580000)

                            object space 87552K, 0% used [0x00000000ce000000,0x00000000ce000000,0x00000000d3580000)

                          Metaspace       used 11122K, capacity 11294K, committed 11392K, reserved 1058816K

                            class space    used 1317K, capacity 1389K, committed 1408K, reserved 1048576K

                           

                           

                           

                           

                           

                           

                          LOAD TIME : 2194

                           

                           

                          H:\sqldeveloper\sqldeveloper\bin>

                          • 10. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                            thatJeffSmith-Oracle

                            at this point I would recommend opening a Service Request with My Oracle Support

                            • 12. Re: SQLDeveloper 4.1.3 is crashing on Windows 7 Frequently
                              Gary Graham-Oracle

                              When gathering information for the SR, you may wish to look for...

                              1. Any JVM dump files of the form hs_err_pidxxxx.log in the sqldeveloper installation's bin directory

                              2. Anything that looks related to these crashes in your Windows Event Viewer logs.

                               

                              Just to comment on the full thread dumps for the JVM, collecting those (either once or repetitively) is most useful for analyzing a hang or slow performance. Not sure what your timing is for taking such dumps when a crash occurs, or is about to occur.  When the JVM writes one of those hs_err_pid logs you should also see something in the console window. Not sure if that has gotten lost amid any Crtl+Break action for producing the full thread dumps.