Community
Participate
Working Groups
Created attachment 105780 [details] the stack trace where it is hanging It happens with different versions of eclipse (including ganymede). When I start eclipse and I have some editors open I get this deadlock. The problem is that JavaReconciler starts the clearcase plugin and this plugin does a Display.syncExec. This is questionable but maybe JDT can do something to prevent this happening.... To start eclipse when this happens: - disable or remove the ccase plugins from you eclipse (or use a eclipse without ccase) - start eclipse - close all editors - enable ccase - start eclipse
>The problem is that JavaReconciler starts the clearcase plugin and this plugin >does a Display.syncExec. This is questionable but maybe JDT can do something to >prevent this happening.... Definitely questionable. Did you file a bug report against the Clearcase provider? It looks like the same init code (JavaModelManager.initializeAllContainers) is executed from two different threads (UI and reconciler). This seems strange.
I posted a bug report at the ccase forum http://www-128.ibm.com/developerworks/forums/thread.jspa?threadID=211616
See also bug 236954.
The deadlock seems to be caused by the call to org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:136) in the "main" thread. This call acquires a lock. I would not expect such a call to acquire a lock. John, Szymon, is this per design?
Actually, it might be more a dup of bug 239230 ([Workbench] Deadlock due to lock owner peforming syncExec during startup). Depending on the answer to comment 4, I'll mark it as a dup.
Moving to Platform/UI
*** This bug has been marked as a duplicate of bug 239230 ***