Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IWorkspaceRunnable on root waiting for its own lock (?)
IWorkspaceRunnable on root waiting for its own lock (?) [message #540278] Tue, 15 June 2010 14:06
LoÃ?¯c QuÃ?©ran is currently offline LoÃ?¯c QuÃ?©ran
Messages: 45
Registered: July 2009
Member
The following job holds a lock on workspace root and, apparently, fails
to acquire this lock again. I guess there is some flaw in the previous
sentence, but I don't know where. Any idea would be appreciated!


Workspace.run(IWorkspaceRunnable, IProgressMonitor) line: 1957 appears
to get a scheduling rule on Workspace defaultRoot, and
SetCProjectDescriptionOperation(CModelOperation).runOperatio n(IProgressMonitor)
line: 635 tries to run a workspace runnable with the same scheduling
rule (the workspace root).



Thread [Worker-0] (Suspended)
waiting for: Semaphore (id=7834)
Object.wait(long) line: not available [native method]
Semaphore.acquire(long) line: 38
OrderedLock.doAcquire(Semaphore, long) line: 175
OrderedLock.acquire(long) line: 109
OrderedLock.acquire() line: 83
WorkManager.checkIn(ISchedulingRule, IProgressMonitor) line: 118
Workspace.prepareOperation(ISchedulingRule, IProgressMonitor) line: 1914
Workspace.run(IWorkspaceRunnable, ISchedulingRule, int,
IProgressMonitor) line: 1970
CProjectDescriptionManager.runAtomic(IWorkspaceRunnable,
ISchedulingRule, IProgressMonitor) line: 496
CProjectDescriptionManager.runWspModification(IWorkspaceRunn able,
ISchedulingRule, IProgressMonitor) line: 461
SetCProjectDescriptionOperation.executeOperation() line: 155
SetCProjectDescriptionOperation(CModelOperation).execute() line: 338

SetCProjectDescriptionOperation(CModelOperation).run(IProgre ssMonitor)
line: 603
Workspace.run(IWorkspaceRunnable, ISchedulingRule, int,
IProgressMonitor) line: 1975

SetCProjectDescriptionOperation(CModelOperation).runOperatio n(IProgressMonitor)
line: 635

XmlProjectDescriptionStorage(AbstractCProjectDescriptionStor age).setProjectDescription(ICProjectDescription,
int, IProgressMonitor) line: 203
CProjectDescriptionStorageManager.setProjectDescription(IPro ject,
ICProjectDescription, int, IProgressMonitor) line: 147
CProjectDescriptionManager.setProjectDescription(IProject,
ICProjectDescription, int, IProgressMonitor) line: 834
CProjectDescriptionManager.setProjectDescription(IProject,
ICProjectDescription, boolean, IProgressMonitor) line: 804
CoreModel.setProjectDescription(IProject, ICProjectDescription,
boolean, IProgressMonitor) line: 1393
CDTProjectManager.saveProjectDescription(IProject,
ICProjectDescription, IProgressMonitor) line: 1383
CygwinToolchainConfiguration.configureCDTProjectBeforeBuild( IProject,
TargetTypeEnum, List<String>, IProgressMonitor) line: 131
Compiler.compile(IProject, TargetTypeEnum, List<String>,
IProgressMonitor) line: 64
GenerateTarget.generateTarget(IProgressMonitor) line: 204
GenerateTarget.runInWorkspace(IProgressMonitor) line: 82
ASimLaunchConfigurationDelegate$1$1.block() line: 158
CodeBlock$2.run() line: 196
WorkspaceTransactionUtil$1.doExecute(IProgressMonitor, IAdaptable)
line: 202

WorkspaceTransactionUtil$1(AbstractEMFOperation).execute(IPr ogressMonitor,
IAdaptable) line: 150
DefaultOperationHistory.execute(IUndoableOperation, IProgressMonitor,
IAdaptable) line: 511

WorkspaceTransactionUtil.executeInWriteTransaction(Transacti onalEditingDomain,
Runnable, String, IOperationHistory, Map<String,Object>,
IProgressMonitor) line: 216

WorkspaceTransactionUtil.executeInWriteTransaction(Transacti onalEditingDomain,
Runnable, String) line: 140
ASimLaunchConfigurationDelegate$1$1(CodeBlock<E>).execRW(String)
line: 194
ASimLaunchConfigurationDelegate$1.run(IProgressMonitor) line: 165
Workspace.run(IWorkspaceRunnable, ISchedulingRule, int,
IProgressMonitor) line: 1975
Workspace.run(IWorkspaceRunnable, IProgressMonitor) line: 1957
MyLaunchConfigurationDelegate.finalLaunchCheck(ILaunchConfig uration,
String, IProgressMonitor) line: 139
LaunchConfiguration.launch(String, IProgressMonitor, boolean,
boolean) line: 834
LaunchConfiguration.launch(String, IProgressMonitor, boolean) line: 702
DebugUIPlugin.buildAndLaunch(ILaunchConfiguration, String,
IProgressMonitor) line: 923
DebugUIPlugin$8.run(IProgressMonitor) line: 1126
Worker.run() line: 54
Previous Topic:Where is the "New and Noteworthy" for Helios release?
Next Topic:AbstractTextEditor: how to refresh the whole document partition
Goto Forum:
  


Current Time: Sun Oct 26 07:00:39 GMT 2014

Powered by FUDForum. Page generated in 0.08685 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software