Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362154 - Deadlock on Eclipse startup
Summary: Deadlock on Eclipse startup
Status: CLOSED DUPLICATE of bug 212262
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 02:31 EDT by Sarah Gerweck CLA
Modified: 2011-10-31 06:08 EDT (History)
1 user (show)

See Also:


Attachments
Stack dump from a deadlock (85.50 KB, text/plain)
2011-10-27 02:32 EDT, Sarah Gerweck CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah Gerweck CLA 2011-10-27 02:31:09 EDT
Build Identifier: 

On starting up Eclipse, I just got stuck in a deadlock. I'm not familiar enough with the internals to be sure, but it seems to happen in the JDT Text component. I'm attaching a stack trace.

I had several windows open. I didn't close eclipse because of any particular problem: I had just installed a plugin (Vrapper). Removing it and cleaning my settings made it go away. 

It might just be the plugin, but it worked fine in Indigo before SR1 with exactly the same other plug-ins, and it doesn't seem to be in the stack traces anywhere I see. I figure it's worth reporting even if it might not be an Eclipse bug.

Restarting several times caused it to happen repeatedly, though with slightly different deadlocks each time. I don't know that I could give instructions for anyone else to reproduce it.



Reproducible: Didn't try
Comment 1 Sarah Gerweck CLA 2011-10-27 02:32:02 EDT
Created attachment 206049 [details]
Stack dump from a deadlock
Comment 2 Sarah Gerweck CLA 2011-10-27 02:32:42 EDT
The full list of installed plugins, if it's helpful:

  Checkstyle configuration plugin for M2Eclipse	1.0.0.201106081737	com.basistech.m2e.code.quality.checkstyle.feature.feature.group	null
  Eclipse Checkstyle Plug-in	5.4.1.201109192037	net.sf.eclipsecs.feature.group	http://eclipse-cs.sf.net/
  Eclipse EGit	1.1.0.201109151100-r	org.eclipse.egit.feature.group	Eclipse EGit
  Eclipse IDE for Java EE Developers	1.4.1.20110909-1818	epp.package.jee	null
  Eclipse JGit	1.1.0.201109151100-r	org.eclipse.jgit.feature.group	Eclipse JGit
  EGit Mylyn	1.1.0.201109151100-r	org.eclipse.egit.mylyn.feature.group	Eclipse EGit
  Embedded JRebel for Eclipse (Recommended)	4.5.0.201110041613	org.zeroturnaround.eclipse.embedder.feature.feature.group	zeroturnaround.org
  Fullscreen feature for OSX Lion	1.0.4.201108061054	com.bandlem.eclipse.fullscreen.feature.feature.group	Bandlem Limited
  JDT Weaving for Scala	2.0.0.beta11-2_09-201110031011-3a97f5e	org.scala-ide.sdt.weaving.feature.feature.group	scala-ide.org
  JRebel Eclipse Debugger Integration (Optional)	1.4.1.201110041613	org.zeroturnaround.eclipse.debug.feature.feature.group	zeroturnaround.org
  JRebel Eclipse Integration	1.5.0.201110041613	org.zeroturnaround.eclipse.feature.feature.group	zeroturnaround.org
  JRebel WTP Integration (Optional)	1.4.3.201110041613	org.zeroturnaround.eclipse.wtp.feature.feature.group	zeroturnaround.org
  Local Terminal (Incubation)	0.2.0.v201103142315-11-7w312212153266	org.eclipse.tm.terminal.local.feature.group	Eclipse TM Project
  m2e - Maven Integration for Eclipse	1.0.100.20110804-1717	org.eclipse.m2e.feature.feature.group	Eclipse.org - m2e
  m2e - slf4j over logback logging (Optional)	1.0.100.20110804-1717	org.eclipse.m2e.logback.feature.feature.group	Eclipse.org - m2e
  Maven SCM Handler for EGit	0.14.0.201109221607	org.sonatype.m2e.egit.feature.feature.group	Sonatype, Inc.
  Maven SCM Handler for Subversive	0.13.0.201106211115	org.sonatype.m2e.subversive.feature.feature.group	Sonatype, Inc.
  Metrics plugin for Eclipse	1.3.6	net.sourceforge.metrics.feature.group	Frank Sauer
  Native JavaHL 1.6 Implementation (Optional)	2.2.2.I20110819-1700	org.polarion.eclipse.team.svn.connector.javahl16.feature.group	Polarion Software
  Scala IDE for Eclipse	2.0.0.beta11-2_09-201110031011-3a97f5e	org.scala-ide.sdt.feature.feature.group	scala-ide.org
  Scala IDE for Eclipse Source	2.0.0.beta11-2_09-201110031011-3a97f5e	org.scala-ide.sdt.source.feature.feature.group	scala-ide.org
  Subversive Revision Graph (Optional) (Incubation)	0.7.9.I20110602-1700	org.eclipse.team.svn.revision.graph.feature.group	Eclipse.org
  Subversive SVN Connectors	2.2.2.I20110819-1700	org.polarion.eclipse.team.svn.connector.feature.group	Polarion Software
  Subversive SVN Integration for the Mylyn Project (Optional) (Incubation)	0.7.9.I20110602-1700	org.eclipse.team.svn.mylyn.feature.group	Eclipse.org
  Subversive SVN JDT Ignore Extensions (Optional) (Incubation)	0.7.9.I20110602-1700	org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group	Eclipse.org
  Subversive SVN Team Provider (Incubation)	0.7.9.I20110819-1700	org.eclipse.team.svn.feature.group	Eclipse.org
  SVNKit 1.3.5 Implementation (Optional)	2.2.2.I20110819-1700	org.polarion.eclipse.team.svn.connector.svnkit16.feature.group	Polarion Software
  Vrapper	0.16.0	net.sourceforge.vrapper.feature.group	Vrapper Team
Comment 3 Dani Megert CLA 2011-10-27 03:35:53 EDT
This looks like the known class loader bug 212262.

Can you try with a JRE 7? If you don't have one, you could try these VM options:
 -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass

If that doesn't help, then I suspect it's coming form the code weaving that the installed Scala plug-in does. In that case a workaround could be to close all editors before exiting.
Comment 4 Dani Megert CLA 2011-10-31 06:08:13 EDT

*** This bug has been marked as a duplicate of bug 212262 ***