Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-8566

During the studio launch "Validating Status" is taking long time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.7.0
    • Fix Version/s: Release 4.9.0
    • Component/s: Login
    • Labels:
    • Environment:

      4.7.0 GA
      5.4.0 CLI core GA
      5.4.0 SDK GA

    • Story Points:
      5
    • Sprint:
      2016 Sprint 18 Studio

      Description

      During the studio startup, Validating status took almost 2-3mins before it launch the studio

      totaramudus-mbp:titanium_studio kondal$ jstack 53041
      2016-08-19 18:04:13
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode):
       
      "Attach Listener" daemon prio=5 tid=0x00007f8941ca9800 nid=0xb123 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "Worker-6" prio=5 tid=0x00007f8944078000 nid=0xc80b in Object.wait() [0x000070000124c000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
      	- locked <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
       
      "[ThreadPool Manager] - Idle Thread" daemon prio=5 tid=0x00007f894402b000 nid=0xa80b in Object.wait() [0x000070000092e000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007eabfb530> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
      	at java.lang.Object.wait(Object.java:503)
      	at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)
      	- locked <0x00000007eabfb530> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
       
      "Thread-17" prio=5 tid=0x00007f894320d800 nid=0x10e03 runnable [0x000070000286a000]
         java.lang.Thread.State: RUNNABLE
      	at java.io.FileInputStream.readBytes(Native Method)
      	at java.io.FileInputStream.read(FileInputStream.java:272)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      	- locked <0x00000007f0ccc960> (a java.lang.UNIXProcess$ProcessPipeInputStream)
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
      	- locked <0x00000007f0f26158> (a java.io.InputStreamReader)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at java.io.BufferedReader.fill(BufferedReader.java:154)
      	at java.io.BufferedReader.readLine(BufferedReader.java:317)
      	- locked <0x00000007f0f26158> (a java.io.InputStreamReader)
      	at java.io.BufferedReader.readLine(BufferedReader.java:382)
      	at com.aptana.core.util.InputStreamGobbler.run(InputStreamGobbler.java:85)
       
      "Thread-16" prio=5 tid=0x00007f894311e800 nid=0x10c03 runnable [0x0000700002767000]
         java.lang.Thread.State: RUNNABLE
      	at java.io.FileInputStream.readBytes(Native Method)
      	at java.io.FileInputStream.read(FileInputStream.java:272)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      	- locked <0x00000007f0ccebb8> (a java.lang.UNIXProcess$ProcessPipeInputStream)
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
      	- locked <0x00000007f0f14f30> (a java.io.InputStreamReader)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at java.io.BufferedReader.fill(BufferedReader.java:154)
      	at java.io.BufferedReader.readLine(BufferedReader.java:317)
      	- locked <0x00000007f0f14f30> (a java.io.InputStreamReader)
      	at java.io.BufferedReader.readLine(BufferedReader.java:382)
      	at com.aptana.core.util.InputStreamGobbler.run(InputStreamGobbler.java:85)
       
      "Thread-15" prio=5 tid=0x00007f8944090800 nid=0x10a03 runnable [0x0000700002664000]
         java.lang.Thread.State: RUNNABLE
      	at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
      	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
      	- locked <0x00000007f0ce2280> (a java.lang.Object)
      	at com.appcelerator.titanium.core.cli.AppcSocketServer.run(AppcSocketServer.java:80)
       
      "Validating Status" prio=5 tid=0x00007f89448f7800 nid=0x1080f in Object.wait() [0x0000700002561000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007f0f261f8> (a java.lang.UNIXProcess)
      	at java.lang.Object.wait(Object.java:503)
      	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:262)
      	- locked <0x00000007f0f261f8> (a java.lang.UNIXProcess)
      	at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:381)
      	at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:345)
      	at com.aptana.core.util.ProcessRunner.processResult(ProcessRunner.java:432)
      	at com.appcelerator.titanium.core.internal.cli.NodeAppcCLI.runCommand(NodeAppcCLI.java:238)
      	at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1236)
      	at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$4(TitaniumSplashHandler.java:1233)
      	at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:321)
       
      "process reaper" daemon prio=5 tid=0x00007f89448a7000 nid=0xdd03 runnable [0x0000700002358000]
         java.lang.Thread.State: RUNNABLE
      	at java.lang.UNIXProcess.waitForProcessExit(Native Method)
      	at java.lang.UNIXProcess.access$500(UNIXProcess.java:55)
      	at java.lang.UNIXProcess$4.run(UNIXProcess.java:226)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
       
      "Thread-4" prio=5 tid=0x00007f89432ff000 nid=0xd503 runnable [0x00007000020fc000]
         java.lang.Thread.State: RUNNABLE
      	at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
      	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
      	- locked <0x00000007f0c2c538> (a java.lang.Object)
      	at com.appcelerator.titanium.core.cli.AppcSocketServer.run(AppcSocketServer.java:80)
       
      "Worker-5" prio=5 tid=0x00007f8944809000 nid=0xd303 in Object.wait() [0x0000700001ff9000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
      	- locked <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
       
      "Worker-2" prio=5 tid=0x00007f8942046000 nid=0xc603 in Object.wait() [0x0000700001cf0000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
      	- locked <0x00000007c14d70d0> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
       
      "EMF Reference Cleaner" daemon prio=5 tid=0x00007f89419c1000 nid=0xba03 in Object.wait() [0x0000700001bed000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14cc2a0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      	- locked <0x00000007c14cc2a0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
      	at org.eclipse.emf.common.util.CommonUtil$1ReferenceClearingQueuePollingThread.run(CommonUtil.java:70)
       
      "Worker-JM" prio=5 tid=0x00007f8942cea000 nid=0xb603 in Object.wait() [0x00007000019e7000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14f81f0> (a java.util.ArrayList)
      	at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:59)
      	- locked <0x00000007c14f81f0> (a java.util.ArrayList)
       
      "Bundle File Closer" daemon prio=5 tid=0x00007f894228c800 nid=0xb403 in Object.wait() [0x00007000018e4000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c1601d38> (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 <0x00000007c1601d38> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "[Timer] - Main Queue Handler" daemon prio=5 tid=0x00007f89430ae000 nid=0xb207 in Object.wait() [0x00007000017e1000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c0814578> (a java.lang.Object)
      	at org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
      	- locked <0x00000007c0814578> (a java.lang.Object)
      	at java.lang.Thread.run(Thread.java:745)
       
      "Start Level: Equinox Container: 20af03d7-f365-0016-1be7-9e51a89d4e08" daemon prio=5 tid=0x00007f8942a88800 nid=0xae03 in Object.wait() [0x00007000015db000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c14a4668> (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 <0x00000007c14a4668> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "Framework Event Dispatcher: Equinox Container: 20af03d7-f365-0016-1be7-9e51a89d4e08" daemon prio=5 tid=0x00007f8942a33800 nid=0xac03 in Object.wait() [0x00007000014d8000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c0814638> (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 <0x00000007c0814638> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "Active Thread: Equinox Container: 20af03d7-f365-0016-1be7-9e51a89d4e08" prio=5 tid=0x00007f89418a1000 nid=0xab0b waiting on condition [0x00007000013d5000]
         java.lang.Thread.State: TIMED_WAITING (parking)
      	at sun.misc.Unsafe.park(Native Method)
      	- parking to wait for  <0x00000007c0814a58> (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)
       
      "Service Thread" daemon prio=5 tid=0x00007f8942027800 nid=0x4a03 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "C2 CompilerThread1" daemon prio=5 tid=0x00007f8942026800 nid=0x4803 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "C2 CompilerThread0" daemon prio=5 tid=0x00007f8942023000 nid=0x4603 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "JDWP Command Reader" daemon prio=5 tid=0x00007f8942837000 nid=0x4403 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "JDWP Event Helper Thread" daemon prio=5 tid=0x00007f8942836000 nid=0x4203 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "JDWP Transport Listener: dt_socket" daemon prio=5 tid=0x00007f8942839000 nid=0x4003 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "Signal Dispatcher" daemon prio=5 tid=0x00007f8942835800 nid=0x360f runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
       
      "Finalizer" daemon prio=5 tid=0x00007f894301c000 nid=0x3003 in Object.wait() [0x000070000082b000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c05b6c50> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      	- locked <0x00000007c05b6c50> (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)
       
      "Reference Handler" daemon prio=5 tid=0x00007f894301b000 nid=0x2e03 in Object.wait() [0x0000700000728000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007c05b6728> (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 <0x00000007c05b6728> (a java.lang.ref.Reference$Lock)
       
      "main" prio=5 tid=0x00007f8942806000 nid=0xa0b in Object.wait() [0x00007fff51e09000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x00000007f0ce2420> (a com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3)
      	at java.lang.Thread.join(Thread.java:1281)
      	- locked <0x00000007f0ce2420> (a com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3)
      	at java.lang.Thread.join(Thread.java:1355)
      	at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.isLoggedIn(TitaniumSplashHandler.java:357)
      	at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.init(TitaniumSplashHandler.java:259)
      	at org.eclipse.ui.internal.Workbench$6.run(Workbench.java:817)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench.createSplashWrapper(Workbench.java:839)
      	at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:753)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
       
      "VM Thread" prio=5 tid=0x00007f8943001000 nid=0x2c03 runnable 
       
      "GC task thread#0 (ParallelGC)" prio=5 tid=0x00007f894200b000 nid=0x2403 runnable 
       
      "GC task thread#1 (ParallelGC)" prio=5 tid=0x00007f894200b800 nid=0x2603 runnable 
       
      "GC task thread#2 (ParallelGC)" prio=5 tid=0x00007f894200c000 nid=0x2803 runnable 
       
      "GC task thread#3 (ParallelGC)" prio=5 tid=0x00007f894200c800 nid=0x2a03 runnable 
       
      "VM Periodic Task Thread" prio=5 tid=0x00007f8941813800 nid=0x4c03 waiting on condition 
       
      JNI global references: 4437
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              kkolipaka Kondal Kolipaka (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: