Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: Aptana Studio 3.0.8
    • Component/s: Source Control
    • Labels:
    • Environment:

      Mac OS X 10.7

      Description

      While using our development feature builds on my dev workspace, I ran into a hung "Building workspace" job. I ran jps/jstack and got the following:

      Found one Java-level deadlock:
      =============================
      "Thread-7":
        waiting to lock monitor 100871060 (object 7acb78610, a com.aptana.git.core.model.GitIndex),
        which is held by "Worker-12"
      "Worker-12":
        waiting to lock monitor 10086e270 (object 7acbd79a0, a java.lang.Object),
        which is held by "Worker-2"
      "Worker-2":
        waiting to lock monitor 100871060 (object 7acb78610, a com.aptana.git.core.model.GitIndex),
        which is held by "Worker-12"
       
      Java stack information for the threads listed above:
      ===================================================
      "Thread-7":
      	at com.aptana.git.core.model.GitIndex.refreshAsync(GitIndex.java:89)
      	- waiting to lock <7acb78610> (a com.aptana.git.core.model.GitIndex)
      	at com.aptana.git.core.GitResourceListener.resourceChanged(GitResourceListener.java:165)
      	at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
      	at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
      	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
      	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
      	at com.aptana.core.resources.RefreshThread.run(RefreshThread.java:98)
      "Worker-12":
      	at com.aptana.git.core.model.GitIndex.refresh(GitIndex.java:168)
      	- waiting to lock <7acbd79a0> (a java.lang.Object)
      	- locked <7acb78610> (a com.aptana.git.core.model.GitIndex)
      	at com.aptana.git.core.model.GitIndex.refresh(GitIndex.java:124)
      	at com.aptana.git.core.model.GitIndex$1.run(GitIndex.java:100)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      "Worker-2":
      	at com.aptana.git.core.model.GitIndex.refresh(GitIndex.java:136)
      	- waiting to lock <7acb78610> (a com.aptana.git.core.model.GitIndex)
      	at com.aptana.git.core.model.GitIndex.changedFiles(GitIndex.java:275)
      	- locked <7acbd79a0> (a java.lang.Object)
      	at com.aptana.git.core.model.GitIndex.resourceOrChildHasChanges(GitIndex.java:582)
      	at com.aptana.git.core.model.GitRepository.resourceOrChildHasChanges(GitRepository.java:1704)
      	at com.aptana.git.ui.internal.GitLightweightDecorator.decorateFolder(GitLightweightDecorator.java:185)
      	at com.aptana.git.ui.internal.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
      	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
      	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
      	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      Found 1 deadlock.
      

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              cwilliams Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code