Bug 44610 - Eclipse frequently hangs on AIX
Summary: Eclipse frequently hangs on AIX
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: PC AIX Motif
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
: 44595 44599 44603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-09 17:01 EDT by Grant Gayed CLA
Modified: 2005-09-30 14:22 EDT (History)
2 users (show)

See Also:


Attachments
trace (391.25 KB, text/plain)
2003-10-09 17:02 EDT, Grant Gayed CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2003-10-09 17:01:25 EDT
M4 candidate being tested

Steps, maybe not reproducable:
- start brand new eclipse
- File -> New -> Project...
- select Plug-in Development - Plug-in Project, Next
- set name to "asd" (no quotes), Next
- Next
- select Hello World, Next
- Next
- Finish
- answer Yes to "switch to Java perspective" dialog if it comes up
- the cigarette will appear, I'm guessing to indicate the code generation is 
being done
- after a few seconds it freezes, and the desktop has died
- will attach the dump that kill -3 gave next
Comment 1 Grant Gayed CLA 2003-10-09 17:02:21 EDT
Created attachment 6396 [details]
trace
Comment 2 John Arthorne CLA 2003-10-09 18:02:03 EDT
*** Bug 44595 has been marked as a duplicate of this bug. ***
Comment 3 John Arthorne CLA 2003-10-09 18:02:17 EDT
*** Bug 44599 has been marked as a duplicate of this bug. ***
Comment 4 John Arthorne CLA 2003-10-09 18:02:31 EDT
*** Bug 44603 has been marked as a duplicate of this bug. ***
Comment 5 John Arthorne CLA 2003-10-09 18:06:46 EDT
I'm lumping these deadlocks together, even though they have nothing in common in
the stack trace and different steps to reproduce.  This VM is deadlocking every
few minutes, so I suspect a VM bug.  Here are the symptoms I observe in this
particular hang:

- CPU remains pegged at 98%
- Successive stack dumps over a ten minute period show *all* threads in exactly
the same state.  Animate loop is running in one job, autobuild is running in
another.  Main thread is waiting on autobuild.  Autobuild and animate loops are
not blocked on any lock or monitor, but they are in the same stack across thread
dumps.

Other interesting notes:

- this is the first time running on this particular 1.4 VM
- Other flavours of Motif on other *nixes are not deadlocking
Comment 6 Grant Gayed CLA 2003-10-10 12:52:44 EDT
Using the new 1.4.1 vm I couldn't get Eclipse 2.1.1 to freeze, but I did get 
Eclipse 3.0M2 and Eclipse 3.0M3 to freeze, and this didn't happen before when 
we were still using the 1.3 vm.  So it's likely a vm problem, which means that 
eclipse is approaching unusable on aix since a 1.4.1 vm is now required.
Comment 7 John Arthorne CLA 2003-10-10 14:47:43 EDT
When the JIT is turned off (-Djava.compiler=NONE), the freezing does not seem to
occur.

Summary of situation: the IBM 1.4.1 build (20030522) we have available for AIX
is unusable for Eclipse 3.0 stream builds with JIT turned on.  With JIT turned
off, it is usable (but extremely slow).  The last IBM 1.3 VM we had was working
fine up until about two weeks ago, after which components began to add code that
required a 1.4 VM.

Eclipse 2.1.1 still works with the 1.4 VM.  Since we have introduced much more
concurrency in 3.0 stream, I suspect that this is a JIT bug relating to
threading and/or java monitor synchronization.
Comment 8 John Arthorne CLA 2003-10-10 14:49:32 EDT
This looks like an issue that needs to be raised with the VM vendor.
Comment 9 John Arthorne CLA 2003-10-27 15:10:27 EST
Changing comment to reflect general nature of the problem.  The VM just starts
hanging after a few minutes of use when JIT is turned on.
Comment 10 John Arthorne CLA 2005-09-30 14:22:55 EDT
Closing - this was a VM problem.