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

Bug 35665

Summary: [Widgets] Spinning "java" process when switching perspectives
Product: [Eclipse Project] Platform Reporter: Rob Hounsell <rhounsel>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Grant Gayed <grant_gayed>
Severity: normal    
Priority: P3 CC: akurtakov
Version: 2.1Keywords: triaged
Target Milestone: ---   
Hardware: Other   
OS: HP-UX   
Whiteboard:
Attachments:
Description Flags
Stack trace of spinning java process
none
another trace of spinning java process, this time after using File->Exit from Eclipse none

Description Rob Hounsell CLA 2003-03-25 14:39:27 EST
Problem Description:

Intermittently, I have been experiencing Eclipse hangs because the java process 
starts spinning (using 100% of CPU, CPU time used advancing rapidly). The java 
process must be killed and Eclipse re-started. I've waited up to 10 minutes, 
without Eclipse returning.

This is occuring on a server that has been patched to the required levels for 
the Java SDK being used, with the latest version of the SDK/JRE.

Steps to reproduce:

1. remove any existing workspace directory

2. start a new instance of Eclipse (opens on repository view)

3. Try to open a Java perspective by clicking Window->Open Perspective->Java
!BUG! The workbench goes blank, and the java process starts spinning.

This seems to happen in "waves". Once it starts, I can reproduce the problem 
for about 5 minutes or so, and then the problem disappears.

Found in:

OS: HP-UX 11.00, Eclipse V2.1 Build ID: 200303192032 (RC3) 
java version "1.3.1.08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.08-021127-23:13)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.08-_28_nov_2002_00_09 PA2.0, 
mixed mode)
Comment 1 Philipe Mulet CLA 2003-03-26 04:57:50 EST
Can you launch Eclipse with Java console open (usually using java instead of 
javaw) ? Then once up, and using all CPU, you can use ctrl-pause (on win32) to 
force a thread dump which could point at some issue.

I haven't heard of such an issue so far.
Comment 2 Rob Hounsell CLA 2003-03-26 10:24:51 EST
Created attachment 4352 [details]
Stack trace of spinning java process

On UNIX, we get the stack trace by sending a "SIGQUIT" signal to the process.
The eclipse shell was started normally.
Comment 3 Philipe Mulet CLA 2003-03-26 10:33:27 EST
Then it seems to be a UI issue. Moving to SWT for comment.
Comment 4 Rob Hounsell CLA 2003-03-26 13:37:12 EST
Created attachment 4353 [details]
another trace of spinning java process, this time after using File->Exit from Eclipse
Comment 5 Rob Hounsell CLA 2003-03-26 13:39:30 EST
One thought: we often use Exceed (PC X client) to run Eclipse remotely for 
testing on UNIX. Is there anything in X communication that might cause this 
sort of problem?
Comment 6 Veronika Irvine CLA 2003-03-26 15:38:03 EST
Have you ever had this problem when running directly on HP (whithout Exceed)?
Note that running via Exceed is not a supported configuration.

Assigning to Grant.
Comment 7 Rob Hounsell CLA 2003-03-26 15:42:48 EST
I've done very little testing using the server console in our lab, and since 
the problem is intermittent, it may have been chance that I didn't see it 
there. I'm not saying it is an Exceed issue (not sure how it could be) but was 
wondering if you had heard of this before under Exceed(guess not).
Comment 8 Grant Gayed CLA 2009-08-26 12:57:49 EDT
Moving report to triage, see http://www.eclipse.org/swt/triage.php
for more info about bug handling.
Comment 9 Leo Ufimtsev CLA 2017-08-03 12:37:37 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 10 Alexander Kurtakov CLA 2017-12-06 01:56:54 EST
SWT no longer provides HPUX builds.