Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Deadlock while running JDT UI JUnit tests on Linux for I20031126 (0800)


It appears that a deadlock occurred while running the JDT UI JUnit tests on Linux only for build I20031126 (0800).  See thread dump below.

The remaining tests are completing, results should be available later today.

Sonia


     [echo] Running org.eclipse.jdt.ui.tests.AutomatedSuite
     [java] Full thread dump Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode):

     [java] "Worker-3" prio=1 tid=0x08506670 nid=0x39dc in Object.wait() [be9ff000..be9ff8d8]
     [java]         at java.lang.Object.wait(Native Method)
     [java]         - waiting on <0x44e52cb8> (a org.eclipse.core.internal.jobs.WorkerPool)
     [java]         at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
     [java]         - locked <0x44e52cb8> (a org.eclipse.core.internal.jobs.WorkerPool)
     [java]         at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:211)
     [java]         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

     [java] "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=1 tid=0x0876e3c8 nid=0x39c8 waiting for monitor entry [bdfff000..bdfff8d8]
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacheDeltaListener.elementChanged(AllTypesCache.java:283)
     [java]         - waiting to lock <0x4513a720> (a java.lang.Object)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1387)
     [java]         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1127)
     [java]         at org.eclipse.core.runtime.Platform.run(Platform.java:464)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1382)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.java:1244)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1202)
     [java]         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:726)
     [java]         at org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:523)
     [java]         at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1051)
     [java]         at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1023)
     [java]         at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:72)
     [java]         - locked <0x455ddf48> (a org.eclipse.jdt.internal.core.CompilationUnit)
     [java]         at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:126)
     [java]         at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:104)
     [java]         at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:155)

     [java] "Java indexing" daemon prio=1 tid=0x0872b1b8 nid=0x39c5 in Object.wait() [be5ff000..be5ff8d8]
     [java]         at java.lang.Object.wait(Native Method)
     [java]         - waiting on <0x45103ef0> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
     [java]         at java.lang.Object.wait(Object.java:429)
     [java]         at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:325)
     [java]         - locked <0x45103ef0> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
     [java]         at java.lang.Thread.run(Thread.java:534)

     [java] "Thread-1" prio=1 tid=0x08668968 nid=0x39c4 in Object.wait() [be3ff000..be3ff8d8]
     [java]         at java.lang.Object.wait(Native Method)
     [java]         - waiting on <0x450a3c80> (a org.eclipse.swt.widgets.RunnableLock)
     [java]         at java.lang.Object.wait(Object.java:429)
     [java]         at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:149)
     [java]         - locked <0x450a3c80> (a org.eclipse.swt.widgets.RunnableLock)
     [java]         at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:25)
     [java]         at org.eclipse.swt.widgets.Display.syncExec(Display.java:2254)
     [java]         at org.eclipse.ui.internal.testing.WorkbenchTestable.runTest(WorkbenchTestable.java:74)
     [java]         at org.eclipse.test.UITestApplication.runTests(UITestApplication.java:177)
     [java]         at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:51)
     [java]         at java.lang.Thread.run(Thread.java:534)

     [java] "Worker-1" prio=1 tid=0x084c1500 nid=0x39c1 sleeping[be7ff000..be7ff8d8]
     [java]         at java.lang.Thread.sleep(Native Method)
     [java]         at org.eclipse.ui.internal.progress.AnimationManager.animateLoop(AnimationManager.java:321)
     [java]         at org.eclipse.ui.internal.progress.AnimationManager$3.run(AnimationManager.java:471)
     [java]         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)

     [java] "Signal Dispatcher" daemon prio=1 tid=0x0808f330 nid=0x39bc waiting on condition [0..0]

     [java] "Finalizer" daemon prio=1 tid=0x0808bc68 nid=0x39ba in Object.wait() [bf3ff000..bf3ff8d8]
     [java]         at java.lang.Object.wait(Native Method)
     [java]         - waiting on <0x44c38da8> (a java.lang.ref.ReferenceQueue$Lock)
     [java]         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
     [java]         - locked <0x44c38da8> (a java.lang.ref.ReferenceQueue$Lock)
     [java]         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
     [java]         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

     [java] "Reference Handler" daemon prio=1 tid=0x0808a208 nid=0x39b9 in Object.wait() [bf5ff000..bf5ff8d8]
     [java]         at java.lang.Object.wait(Native Method)
     [java]         - waiting on <0x44c38e10> (a java.lang.ref.Reference$Lock)
     [java]         at java.lang.Object.wait(Object.java:429)
     [java]         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
     [java]         - locked <0x44c38e10> (a java.lang.ref.Reference$Lock)

     [java] "main" prio=1 tid=0x080527f0 nid=0x39b4 waiting for monitor entry [bfffb000..bfffc8f8]
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.forceDeltaComplete(AllTypesCache.java:256)
     [java]         - waiting to lock <0x455ddf48> (a org.eclipse.jdt.internal.core.CompilationUnit)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.isCacheUpToDate(AllTypesCache.java:245)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.getAllTypes(AllTypesCache.java:211)
     [java]         - locked <0x4513a720> (a java.lang.Object)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.getTypes(AllTypesCache.java:175)
     [java]         at org.eclipse.jdt.ui.tests.core.AllTypesCacheTest.testWorkingCopies2(AllTypesCacheTest.java:297)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]         at java.lang.reflect.Method.invoke(Method.java:324)
     [java]         at junit.framework.TestCase.runTest(TestCase.java:154)
     [java]         at junit.framework.TestCase.runBare(TestCase.java:127)
     [java]         at junit.framework.TestResult$1.protect(TestResult.java:106)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.framework.TestResult.run(TestResult.java:109)
     [java]         at junit.framework.TestCase.run(TestCase.java:118)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
     [java]         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.extensions.TestSetup.run(TestSetup.java:23)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
     [java]         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.extensions.TestSetup.run(TestSetup.java:23)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320)
     [java]         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
     [java]         at org.eclipse.test.EclipseTestRunner.main(EclipseTestRunner.java:134)
     [java]         at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:180)
     [java]         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
     [java]         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
     [java]         - locked <0x450a3c80> (a org.eclipse.swt.widgets.RunnableLock)
     [java]         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1816)
     [java]         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1622)
     [java]         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1405)
     [java]         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1381)
     [java]         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:237)
     [java]         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
     [java]         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
     [java]         at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:123)
     [java]         at org.eclipse.test.UITestApplication.run(UITestApplication.java:55)
     [java]         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:852)
     [java]         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]         at java.lang.reflect.Method.invoke(Method.java:324)
     [java]         at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
     [java]         at org.eclipse.core.launcher.Main.run(Main.java:767)
     [java]         at org.eclipse.core.launcher.Main.main(Main.java:601)

     [java] "VM Thread" prio=1 tid=0x08086f70 nid=0x39b8 runnable

     [java] "VM Periodic Task Thread" prio=1 tid=0x08091a68 nid=0x39be waiting on condition
     [java] "Suspend Checker Thread" prio=1 tid=0x0808e9a8 nid=0x39bb runnable

     [java] Found one Java-level deadlock:
     [java] =============================
     [java] "org.eclipse.jdt.internal.ui.text.JavaReconciler":
     [java]   waiting to lock monitor 0x0808ae44 (object 0x4513a720, a java.lang.Object),
     [java]   which is held by "main"
     [java] "main":
     [java]   waiting to lock monitor 0x0808ae0c (object 0x455ddf48, a org.eclipse.jdt.internal.core.CompilationUnit),
     [java]   which is held by "org.eclipse.jdt.internal.ui.text.JavaReconciler"

     [java] Java stack information for the threads listed above:
     [java] ===================================================
     [java] "org.eclipse.jdt.internal.ui.text.JavaReconciler":
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacheDeltaListener.elementChanged(AllTypesCache.java:283)
     [java]         - waiting to lock <0x4513a720> (a java.lang.Object)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1387)
     [java]         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1127)
     [java]         at org.eclipse.core.runtime.Platform.run(Platform.java:464)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1382)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.java:1244)
     [java]         at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1202)
     [java]         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:726)
     [java]         at org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:523)
     [java]         at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1051)
     [java]         at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1023)
     [java]         at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:72)
     [java]         - locked <0x455ddf48> (a org.eclipse.jdt.internal.core.CompilationUnit)
     [java]         at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:126)
     [java]         at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:104)
     [java]         at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:155)
     [java] "main":
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.forceDeltaComplete(AllTypesCache.java:256)
     [java]         - waiting to lock <0x455ddf48> (a org.eclipse.jdt.internal.core.CompilationUnit)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.isCacheUpToDate(AllTypesCache.java:245)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.getAllTypes(AllTypesCache.java:211)
     [java]         - locked <0x4513a720> (a java.lang.Object)
     [java]         at org.eclipse.jdt.internal.corext.util.AllTypesCache.getTypes(AllTypesCache.java:175)
     [java]         at org.eclipse.jdt.ui.tests.core.AllTypesCacheTest.testWorkingCopies2(AllTypesCacheTest.java:297)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]         at java.lang.reflect.Method.invoke(Method.java:324)
     [java]         at junit.framework.TestCase.runTest(TestCase.java:154)
     [java]         at junit.framework.TestCase.runBare(TestCase.java:127)
     [java]         at junit.framework.TestResult$1.protect(TestResult.java:106)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.framework.TestResult.run(TestResult.java:109)
     [java]         at junit.framework.TestCase.run(TestCase.java:118)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
     [java]         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.extensions.TestSetup.run(TestSetup.java:23)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
     [java]         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
     [java]         at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java]         at junit.extensions.TestSetup.run(TestSetup.java:23)
     [java]         at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java]         at junit.framework.TestSuite.run(TestSuite.java:203)
     [java]         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320)
     [java]         at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
     [java]         at org.eclipse.test.EclipseTestRunner.main(EclipseTestRunner.java:134)
     [java]         at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:180)
     [java]         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
     [java]         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
     [java]         - locked <0x450a3c80> (a org.eclipse.swt.widgets.RunnableLock)
     [java]         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1816)
     [java]         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1622)
     [java]         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1405)
     [java]         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1381)
     [java]         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:237)
     [java]         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
     [java]         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
     [java]         at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:123)
     [java]         at org.eclipse.test.UITestApplication.run(UITestApplication.java:55)
     [java]         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:852)
     [java]         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]         at java.lang.reflect.Method.invoke(Method.java:324)
     [java]         at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
     [java]         at org.eclipse.core.launcher.Main.run(Main.java:767)
     [java]         at org.eclipse.core.launcher.Main.main(Main.java:601)

     [java] Found 1 deadlock.

Back to the top