Project

General

Profile

Bug #9407

Deadlock detected. All locks owned by thread main will be suspended.

Added by Alexandr Ugnenko about 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/10/2018
Due date:
% Done:

100%

Estimated time:
Detected in build:
1.0.542
Platform:
Linux x64
Published in build:
1.2.603

Description

После импорта проектов в workspace среды, Eclipse завиcла на выполнении задачи 'Check Requality Project' для импортированного проекта.

В логе следующие записи:
!ENTRY org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.732
!MESSAGE Deadlock detected. All locks owned by thread main will be suspended.
!STACK 0
java.lang.IllegalStateException
at org.eclipse.core.internal.jobs.DeadlockDetector.reportDeadlock(DeadlockDetector.java:599)
at org.eclipse.core.internal.jobs.DeadlockDetector.lockWaitStart(DeadlockDetector.java:403)
at org.eclipse.core.internal.jobs.LockManager.addLockWaitThread(LockManager.java:154)
at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:261)
at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:307)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:121)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2188)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1586)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:321)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:315)
at com.unitesk.requality.eclipse.Activator$9$1.run(Activator.java:877)
......
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.733
!MESSAGE Thread main has locks: OrderedLock (0) and is waiting for lock P/GS_2017_impv3_reqs
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.733
!MESSAGE Thread Worker-7 has locks: R/, P/GS_2017_impv3, P/GS_2017_impv3_reqs and is waiting for lock OrderedLock (0)

!ENTRY org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Deadlock detected. All locks owned by thread main will be suspended.
!STACK 0
java.lang.IllegalStateException
at org.eclipse.core.internal.jobs.DeadlockDetector.reportDeadlock(DeadlockDetector.java:599)
at org.eclipse.core.internal.jobs.DeadlockDetector.lockWaitStart(DeadlockDetector.java:403)
at org.eclipse.core.internal.jobs.LockManager.addLockWaitThread(LockManager.java:154)
at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:261)
at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:307)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:121)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2188)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1586)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:316)
at com.unitesk.requality.eclipse.core.ResourceStorage.<init>(ResourceStorage.java:128)
at com.unitesk.requality.eclipse.core.EclipseTracker.loadTreeDB(EclipseTracker.java:565)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:437)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:315)
at com.unitesk.requality.eclipse.Activator$9$1.run(Activator.java:877)
.......
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Thread main has locks: OrderedLock (0) and is waiting for lock P/GS_2017_impv3_reqs
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Thread Worker-15 has locks: R/, P/GS_2017_impv3_reqs and is waiting for lock OrderedLock (0)

History

#1

Updated by Denis Kildishev 8 months ago

  • Published in build set to 1.2.603
  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Было решено в 1.0-1.1 путем добавления списка обрабатываемых проектов после чего эта блокировка не должна возникать

#2

Updated by Viktoria Kopach 8 months ago

  • Status changed from Resolved to Verified
#3

Updated by Alexey Khoroshilov 7 months ago

  • Target version set to 1.2 (stable)
#4

Updated by Alexey Khoroshilov 4 months ago

  • Status changed from Verified to Closed

Also available in: Atom PDF