Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319471

Summary: helios hangs when select Run/Debug settings page
Product: [Eclipse Project] JDT Reporter: Richard Melvin <richard_melvin>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: amj87.iitr, Olivier_Thomann, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
thread dump from hang none

Description Richard Melvin CLA 2010-07-10 16:09:54 EDT
Build Identifier: 20100617-1415

Hangs indefinitely using 25% of the cpu (on a quad core machine).

Reproducible: Always

Steps to Reproduce:
1. Open my jave project
2. Open Project properties
3. select some other page
4. select Run/Debug settings page
Comment 1 Richard Melvin CLA 2010-07-10 16:13:29 EDT
Created attachment 173950 [details]
thread dump from hang

PID: 220
Host: localhost
Main class: org.eclipse.equinox.launcher.Main
Arguments: -os win32 -ws win32 -arch x86_64 -showsplash -launcher C:\work\helios\eclipse\eclipse.exe -name Eclipse --launcher.library C:\work\helios\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100503\eclipse_1307.dll -startup C:\work\helios\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata a88_60 -product org.eclipse.epp.package.java.product -vm C:\Windows\system32\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx884m -jar C:\work\helios\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

JVM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16, mixed mode)
Java Home: C:\Program Files\Java\jre6
JVM Flags: <none>

Heap dump on OOME: disabled
Comment 2 Ayushman Jain CLA 2010-07-12 03:06:47 EDT
I couldnt reproduce this on a few java projects that I tried on. The thread dump tells me that you have mylyn in your eclipse installation, which may be the cause of the problem.

Are you facing this issue only on a particular project in your workspace or every project? If your answer to the former is yes, can you please attach the project? Thanks!
Comment 3 Olivier Thomann CLA 2010-07-12 08:46:35 EDT
The dump doesn't show any thread blocked on JDT code.
Comment 4 Richard Melvin CLA 2010-07-13 19:21:40 EDT
I suspect it is probably an issue with some underlying technology rather than JDT as such, but I can't tell which.

Things that didn't resolve the problem:

1. creating new workspace
2. using different project
3. uninstalling all optional plugins
4. reinstalling helios

Thing that did resolve the problem:

1. uninstalling jdk update 21, dropping back to 19.

Is there a known issue with that jdk on 64 bit windows?
Comment 5 Richard Melvin CLA 2010-07-13 19:31:14 EDT
In fact, probably a duplicate of bug#319514.
Comment 6 Remy Suen CLA 2010-07-13 19:31:52 EDT
(In reply to comment #5)
> In fact, probably a duplicate of bug#319514.

Yes, that is likely the cause. Others have reported hanging symptoms, please see bug 319495.
Comment 7 Olivier Thomann CLA 2010-07-15 11:07:50 EDT

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