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

Deadlock right after starting the Studio

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 3.1.2
    • Fix Version/s: None
    • Component/s: Usability
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.1.2.201306192113
      Mac OSX

      Description

      Updated an Appcelerator Studio 3.1.2 to the latest Appcelerator Studio, build: 3.1.2.201306192113.
      The studio restarted, and then got into this deadlock.
      Restarting again worked fine, so seems to be intermittent.

      2013-06-20 13:09:12
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.51-b01-456 mixed mode):
       
      "Attach Listener" daemon prio=9 tid=1230e5000 nid=0x115efd000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "Worker-23" prio=5 tid=10578e000 nid=0x11f5e1000 in Object.wait() [11f5e0000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8828888> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
      	- locked <7b8828888> (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:50)
       
      "Worker-20" prio=5 tid=10578d000 nid=0x11efdc000 waiting for monitor entry [11efdb000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at com.aptana.scripting.model.BundleManager.getBundleEntry(BundleManager.java:1009)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleElement.getVisibilityContext(BundleElement.java:740)
      	at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:100)
      	- locked <7b983bc80> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleElement.setChildren(BundleElement.java:239)
      	at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.yaml.snakeyaml.introspector.MethodProperty.set(MethodProperty.java:38)
      	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:288)
      	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct2ndStep(Constructor.java:191)
      	at com.aptana.scripting.model.BundleCacher$BundleElementsConstructor$ConstructBundleElement.construct(BundleCacher.java:814)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:181)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:140)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:126)
      	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:296)
      	at org.yaml.snakeyaml.Yaml.load(Yaml.java:290)
      	at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:326)
      	- locked <7b9744748> (a com.aptana.scripting.model.BundleCacher)
      	at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:284)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:124)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      "derby.rawStoreDaemon" daemon prio=5 tid=1170e3800 nid=0x11c401000 in Object.wait() [11c400000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b98e99a8> (a org.apache.derby.impl.services.daemon.BasicDaemon)
      	at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown Source)
      	- locked <7b98e99a8> (a org.apache.derby.impl.services.daemon.BasicDaemon)
      	at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:680)
       
      "MultiThreadedHttpConnectionManager cleanup" daemon prio=5 tid=115027800 nid=0x11ca1b000 in Object.wait() [11ca1a000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b997d128> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
      	- locked <7b997d128> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
      	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionManager.java:1122)
       
      "Timer-0" daemon prio=5 tid=10651e000 nid=0x11c918000 in Object.wait() [11c917000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b993b6d0> (a java.util.TaskQueue)
      	at java.lang.Object.wait(Object.java:485)
      	at java.util.TimerThread.mainLoop(Timer.java:483)
      	- locked <7b993b6d0> (a java.util.TaskQueue)
      	at java.util.TimerThread.run(Timer.java:462)
       
      "derby.antiGC" daemon prio=1 tid=11a1d9000 nid=0x11e1a5000 in Object.wait() [11e1a4000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b97f5708> (a org.apache.derby.impl.services.monitor.AntiGC)
      	at java.lang.Object.wait(Object.java:485)
      	at org.apache.derby.impl.services.monitor.AntiGC.run(Unknown Source)
      	- locked <7b97f5708> (a org.apache.derby.impl.services.monitor.AntiGC)
      	at java.lang.Thread.run(Thread.java:680)
       
      "FSEvent thread" daemon prio=5 tid=10540c000 nid=0x11e0a2000 runnable [11e0a1000]
         java.lang.Thread.State: RUNNABLE
      	at net.contentobjects.jnotify.macosx.JNotify_macosx.nativeNotifyLoop(Native Method)
      	at net.contentobjects.jnotify.macosx.JNotify_macosx.access$5(JNotify_macosx.java:81)
      	at net.contentobjects.jnotify.macosx.JNotify_macosx$1.run(JNotify_macosx.java:70)
       
      "CommandLineArgsServer" prio=6 tid=105ab3000 nid=0x11df9f000 runnable [11df9e000]
         java.lang.Thread.State: RUNNABLE
      	at java.net.PlainSocketImpl.socketAccept(Native Method)
      	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:439)
      	- locked <7b974c9e8> (a java.net.SocksSocketImpl)
      	at java.net.ServerSocket.implAccept(ServerSocket.java:468)
      	at java.net.ServerSocket.accept(ServerSocket.java:436)
      	at com.aptana.commandline.launcher.server.LauncherServer$CommandLineArgsServer.run(LauncherServer.java:120)
       
      "Worker-14" prio=5 tid=1160ba000 nid=0x11db93000 waiting for monitor entry [11db8f000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at com.aptana.scripting.model.BundleManager.getBundleEntry(BundleManager.java:1009)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleElement.getVisibilityContext(BundleElement.java:740)
      	at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:100)
      	- locked <7ba5c04e8> (a java.util.ArrayList)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525)
      	at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380)
      	at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59)
      	at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:176)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182)
      	at org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      	at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
      	at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
      	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:328)
      	at org.jruby.runtime.BlockBody.call(BlockBody.java:73)
      	at org.jruby.runtime.Block.call(Block.java:89)
      	at org.jruby.RubyProc.call(RubyProc.java:274)
      	at org.jruby.RubyProc.call(RubyProc.java:229)
      	at org.jruby.RubyProc$i$0$0$call.call(RubyProc$i$0$0$call.gen:65535)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:211)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:207)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      	at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:706)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:714)
      	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
      	at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:93)
      	- locked <7b9c02a58> (a org.jruby.Ruby)
      	at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
      	at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:180)
      	at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:274)
      	at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:243)
      	at com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2167)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:164)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      "Worker-13" prio=5 tid=1160bb800 nid=0x11da90000 in Object.wait() [11da8f000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8828888> (a org.eclipse.core.internal.jobs.WorkerPool)
      	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
      	- locked <7b8828888> (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:50)
       
      "Worker-12" prio=5 tid=117085000 nid=0x11d98d000 waiting for monitor entry [11d98c000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at com.aptana.scripting.model.BundleElement.getChildren(BundleElement.java:223)
      	- waiting to lock <7ba5c04e8> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleElement.getChildrenByType(BundleElement.java:281)
      	at com.aptana.scripting.model.BundleElement.getMenus(BundleElement.java:666)
      	at com.aptana.scripting.model.BundleEntry$14.getElements(BundleEntry.java:816)
      	at com.aptana.scripting.model.BundleEntry$NameBasedProcessor.processBundle(BundleEntry.java:126)
      	at com.aptana.scripting.model.BundleEntry.processBundles(BundleEntry.java:970)
      	at com.aptana.scripting.model.BundleEntry.getMenus(BundleEntry.java:820)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext$3.getElements(BundleEntry.java:212)
      	at com.aptana.scripting.model.BundleEntry$ChildVisibilityContext.<init>(BundleEntry.java:41)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext$3.<init>(BundleEntry.java:208)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext.<init>(BundleEntry.java:208)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext.<init>(BundleEntry.java:162)
      	at com.aptana.scripting.model.BundleEntry.getVisibilityContext(BundleEntry.java:936)
      	at com.aptana.scripting.model.BundleEntry.addBundle(BundleEntry.java:482)
      	- locked <7ba6c8838> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleManager.addBundle(BundleManager.java:573)
      	- locked <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:131)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      "Worker-8" prio=5 tid=11500f000 nid=0x11d00a000 waiting for monitor entry [11d009000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at com.aptana.scripting.model.BundleManager.getBundleNames(BundleManager.java:1240)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleManager.getCommands(BundleManager.java:1433)
      	at com.aptana.scripting.model.BundleManager.getExecutableCommands(BundleManager.java:1542)
      	at com.aptana.scripting.ui.internal.KeybindingsManager.loadbindings(KeybindingsManager.java:407)
      	at com.aptana.scripting.ui.internal.KeybindingsManager.access$7(KeybindingsManager.java:379)
      	at com.aptana.scripting.ui.internal.KeybindingsManager$6.run(KeybindingsManager.java:354)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      "AWT-Shutdown" prio=6 tid=105b76000 nid=0x118dd0000 in Object.wait() [118dcf000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b91a1bd8> (a java.lang.Object)
      	at java.lang.Object.wait(Object.java:485)
      	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
      	- locked <7b91a1bd8> (a java.lang.Object)
      	at java.lang.Thread.run(Thread.java:680)
       
      "Thread-8" daemon prio=1 tid=116086000 nid=0x11bd01000 waiting on condition [11bd00000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      	at java.lang.Thread.sleep(Native Method)
      	at com.aptana.core.util.ConnectionReaper.run(ReapingObjectPool.java:36)
       
      "com.aptana.editor.common.text.reconciler.CommonReconciler" daemon prio=1 tid=119665800 nid=0x118fb5000 in Object.wait() [118fb4000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b9256848> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
      	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:179)
      	- locked <7b9256848> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
       
      "[ThreadPool Manager] - Idle Thread" daemon prio=5 tid=11039d000 nid=0x118a04000 in Object.wait() [118a03000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8a89370> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
      	at java.lang.Object.wait(Object.java:485)
      	at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)
      	- locked <7b8a89370> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
       
      "Provisioning Event Dispatcher" daemon prio=5 tid=1107f7000 nid=0x118901000 in Object.wait() [118900000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8afcb10> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at java.lang.Object.wait(Object.java:485)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
      	- locked <7b8afcb10> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "Bundle File Closer" daemon prio=5 tid=1101ae000 nid=0x117c07000 in Object.wait() [117c06000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b85abd50> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at java.lang.Object.wait(Object.java:485)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
      	- locked <7b85abd50> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "Worker-JM" prio=5 tid=110206000 nid=0x117b04000 in Object.wait() [117b03000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8118640> (a java.util.ArrayList)
      	at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)
      	- locked <7b8118640> (a java.util.ArrayList)
       
      "[Timer] - Main Queue Handler" daemon prio=5 tid=1065ef800 nid=0x117a01000 in Object.wait() [117a00000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8573180> (a java.lang.Object)
      	at org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
      	- locked <7b8573180> (a java.lang.Object)
      	at java.lang.Thread.run(Thread.java:680)
       
      "Framework Event Dispatcher" daemon prio=5 tid=1050d3000 nid=0x115901000 in Object.wait() [115900000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b83ad0b8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at java.lang.Object.wait(Object.java:485)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
      	- locked <7b83ad0b8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "Start Level Event Dispatcher" daemon prio=5 tid=11007f800 nid=0x114c03000 in Object.wait() [114c02000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b80eccf0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at java.lang.Object.wait(Object.java:485)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
      	- locked <7b80eccf0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
       
      "State Data Manager" daemon prio=5 tid=11007f000 nid=0x114b00000 waiting on condition [114aff000]
         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:680)
       
      "Framework Active Thread" prio=5 tid=11003d000 nid=0x1149fd000 in Object.wait() [1149fc000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8022990> (a org.eclipse.osgi.framework.internal.core.Framework)
      	at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1817)
      	- locked <7b8022990> (a org.eclipse.osgi.framework.internal.core.Framework)
      	at java.lang.Thread.run(Thread.java:680)
       
      "Poller SunPKCS11-Darwin" daemon prio=1 tid=1062a2000 nid=0x111901000 waiting on condition [111900000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      	at java.lang.Thread.sleep(Native Method)
      	at sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:692)
      	at java.lang.Thread.run(Thread.java:680)
       
      "Low Memory Detector" daemon prio=5 tid=10581c800 nid=0x10fa6b000 runnable [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "C2 CompilerThread1" daemon prio=9 tid=10581c000 nid=0x10f968000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "C2 CompilerThread0" daemon prio=9 tid=10581b000 nid=0x10f865000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "Signal Dispatcher" daemon prio=9 tid=10581a800 nid=0x10f762000 runnable [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "Surrogate Locker Thread (Concurrent GC)" daemon prio=5 tid=105819800 nid=0x10f65f000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
       
      "Finalizer" daemon prio=8 tid=1061b5800 nid=0x10f55c000 in Object.wait() [10f55b000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b80256f0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
      	- locked <7b80256f0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
      	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:171)
       
      "Reference Handler" daemon prio=10 tid=1061b4800 nid=0x10f459000 in Object.wait() [10f458000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7b8020848> (a java.lang.ref.Reference$Lock)
      	at java.lang.Object.wait(Object.java:485)
      	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
      	- locked <7b8020848> (a java.lang.ref.Reference$Lock)
       
      "main" prio=6 tid=106000800 nid=0x7fff7b05b960 waiting for monitor entry [7fff5fbfb000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at com.aptana.scripting.model.BundleManager.getBundleNames(BundleManager.java:1240)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleManager.getMenus(BundleManager.java:1653)
      	at com.aptana.workbench.commands.EditorCommandsMenuContributor.fill(EditorCommandsMenuContributor.java:185)
      	at com.aptana.workbench.commands.EditorCommandsMenuContributor.fill(EditorCommandsMenuContributor.java:101)
      	at org.eclipse.ui.internal.menus.DynamicMenuContributionItem.fill(DynamicMenuContributionItem.java:197)
      	at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:741)
      	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:822)
      	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:474)
      	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:469)
      	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:247)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)
      	at org.eclipse.swt.widgets.Menu.menuWillOpen(Menu.java:805)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5525)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
       
      "VM Thread" prio=9 tid=1061b0000 nid=0x10f356000 runnable 
       
      "Gang worker#0 (Parallel GC Threads)" prio=9 tid=106002000 nid=0x103fc1000 runnable 
       
      "Gang worker#1 (Parallel GC Threads)" prio=9 tid=106002800 nid=0x109902000 runnable 
       
      "Gang worker#2 (Parallel GC Threads)" prio=9 tid=106003000 nid=0x109a05000 runnable 
       
      "Gang worker#3 (Parallel GC Threads)" prio=9 tid=106004000 nid=0x109b08000 runnable 
       
      "Gang worker#4 (Parallel GC Threads)" prio=9 tid=106004800 nid=0x109c0b000 runnable 
       
      "Gang worker#5 (Parallel GC Threads)" prio=9 tid=106005000 nid=0x109d0e000 runnable 
       
      "Gang worker#6 (Parallel GC Threads)" prio=9 tid=106005800 nid=0x109e11000 runnable 
       
      "Gang worker#7 (Parallel GC Threads)" prio=9 tid=106006800 nid=0x109f14000 runnable 
       
      "Concurrent Mark-Sweep GC Thread" prio=9 tid=1060e3800 nid=0x10f060000 runnable 
      "Gang worker#0 (Parallel CMS Threads)" prio=9 tid=1060e2800 nid=0x10e65a000 runnable 
       
      "Gang worker#1 (Parallel CMS Threads)" prio=9 tid=1060e3000 nid=0x10e75d000 runnable 
       
      "VM Periodic Task Thread" prio=10 tid=105826800 nid=0x10fb6e000 waiting on condition 
       
      "Exception Catcher Thread" prio=10 tid=106001800 nid=0x103762000 runnable 
      JNI global references: 2122
       
       
      Found one Java-level deadlock:
      =============================
      "Worker-20":
        waiting to lock monitor 11b02dae8 (object 7b97460f0, a java.util.HashMap),
        which is held by "Worker-12"
      "Worker-12":
        waiting to lock monitor 11682a8f0 (object 7ba5c04e8, a java.util.ArrayList),
        which is held by "Worker-14"
      "Worker-14":
        waiting to lock monitor 11b02dae8 (object 7b97460f0, a java.util.HashMap),
        which is held by "Worker-12"
       
      Java stack information for the threads listed above:
      ===================================================
      "Worker-20":
      	at com.aptana.scripting.model.BundleManager.getBundleEntry(BundleManager.java:1009)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleElement.getVisibilityContext(BundleElement.java:740)
      	at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:100)
      	- locked <7b983bc80> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleElement.setChildren(BundleElement.java:239)
      	at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.yaml.snakeyaml.introspector.MethodProperty.set(MethodProperty.java:38)
      	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:288)
      	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct2ndStep(Constructor.java:191)
      	at com.aptana.scripting.model.BundleCacher$BundleElementsConstructor$ConstructBundleElement.construct(BundleCacher.java:814)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:181)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:140)
      	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:126)
      	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:296)
      	at org.yaml.snakeyaml.Yaml.load(Yaml.java:290)
      	at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:326)
      	- locked <7b9744748> (a com.aptana.scripting.model.BundleCacher)
      	at com.aptana.scripting.model.BundleCacher.load(BundleCacher.java:284)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:124)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      "Worker-12":
      	at com.aptana.scripting.model.BundleElement.getChildren(BundleElement.java:223)
      	- waiting to lock <7ba5c04e8> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleElement.getChildrenByType(BundleElement.java:281)
      	at com.aptana.scripting.model.BundleElement.getMenus(BundleElement.java:666)
      	at com.aptana.scripting.model.BundleEntry$14.getElements(BundleEntry.java:816)
      	at com.aptana.scripting.model.BundleEntry$NameBasedProcessor.processBundle(BundleEntry.java:126)
      	at com.aptana.scripting.model.BundleEntry.processBundles(BundleEntry.java:970)
      	at com.aptana.scripting.model.BundleEntry.getMenus(BundleEntry.java:820)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext$3.getElements(BundleEntry.java:212)
      	at com.aptana.scripting.model.BundleEntry$ChildVisibilityContext.<init>(BundleEntry.java:41)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext$3.<init>(BundleEntry.java:208)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext.<init>(BundleEntry.java:208)
      	at com.aptana.scripting.model.BundleEntry$VisibilityContext.<init>(BundleEntry.java:162)
      	at com.aptana.scripting.model.BundleEntry.getVisibilityContext(BundleEntry.java:936)
      	at com.aptana.scripting.model.BundleEntry.addBundle(BundleEntry.java:482)
      	- locked <7ba6c8838> (a java.util.ArrayList)
      	at com.aptana.scripting.model.BundleManager.addBundle(BundleManager.java:573)
      	- locked <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:131)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      "Worker-14":
      	at com.aptana.scripting.model.BundleManager.getBundleEntry(BundleManager.java:1009)
      	- waiting to lock <7b97460f0> (a java.util.HashMap)
      	at com.aptana.scripting.model.BundleElement.getVisibilityContext(BundleElement.java:740)
      	at com.aptana.scripting.model.BundleElement.addChild(BundleElement.java:100)
      	- locked <7ba5c04e8> (a java.util.ArrayList)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525)
      	at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380)
      	at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59)
      	at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:176)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182)
      	at org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      	at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
      	at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
      	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:328)
      	at org.jruby.runtime.BlockBody.call(BlockBody.java:73)
      	at org.jruby.runtime.Block.call(Block.java:89)
      	at org.jruby.RubyProc.call(RubyProc.java:274)
      	at org.jruby.RubyProc.call(RubyProc.java:229)
      	at org.jruby.RubyProc$i$0$0$call.call(RubyProc$i$0$0$call.gen:65535)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:211)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:207)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      	at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:706)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:714)
      	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
      	at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:93)
      	- locked <7b9c02a58> (a org.jruby.Ruby)
      	at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
      	at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:180)
      	at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:274)
      	at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:243)
      	at com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2167)
      	at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:164)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      Found 1 deadlock.
      

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              sgibly Shalom Gibly
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: