Bug 110293 - G2X: Dump occurs while running 'Plug-in with a property page'
Summary: G2X: Dump occurs while running 'Plug-in with a property page'
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
Depends on:
Blocks:
 
Reported: 2005-09-22 05:16 EDT by Tiffany Lu CLA
Modified: 2005-10-06 02:45 EDT (History)
8 users (show)

See Also:


Attachments
Dump msg is displayed in the original workbench (139.72 KB, image/jpeg)
2005-09-22 05:26 EDT, Tiffany Lu CLA
no flags Details
stack of the IBM JVM (11.76 KB, text/plain)
2005-10-05 14:53 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiffany Lu CLA 2005-09-22 05:16:48 EDT
OS:	RHEL 4.0 update 2 
Build level: 	I20050915-0800
JDK version:  IBM JDK 1.4.2 SR2
Test case #: 4.05 CREATING A PLUG-IN WITH A PROPERTY PAGE      

Summary: G2X: Dump occurs while running 'Plug-in with a property page'

Steps to recreate problem:
1. Select File -> New -> Project -> Plug-In Project in the Eclipse workbench
2. Enter a project name and click Next
3. Accept the default values in 'Plug-in Content' and click Next
4. Select 'Plug-in with a property page' and click Next
5. Accept the default values in the 'Sample Property Page' and click Finish
6. Select Run -> Run As -> Eclipse Application
7. A new workbench is launched
8. In the new workbench, create a project and a file named *.* (ex: abc.def)
   and perform some actions (ex: create files, review the Properties of the 
files... etc)

Error:  
	1. The new workbench usually hangs while create a file at step 8
	2. In the Console view of the original workbench, a message is 
displayed as 'JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.'

Expected Result:  
	The plug-in should run with no problems.
Comment 1 Tiffany Lu CLA 2005-09-22 05:26:18 EDT
Created attachment 27380 [details]
Dump msg is displayed in the original workbench
Comment 2 Wassim Melhem CLA 2005-09-22 10:00:26 EDT
Not a PDE issue.

The problem appears to occur when a new file is created, which has nothing to 
do with the plug-in PDE generated.
Comment 3 Billy Biggs CLA 2005-09-22 23:39:13 EDT
Signal 11 is a segmentation fault, which means the VM will crash.  When this
occurs, there should be a crash log from the VM in whatever was the current
directory of the Java process (probably wherever you ran the hosting eclipse
from).  Can you please post the crash log?
Comment 4 Tiffany Lu CLA 2005-09-23 02:49:28 EDT
I reproduced this problem, but didn't find any crash log in the system.
Comment 5 Karice McIntyre CLA 2005-09-23 10:42:27 EDT
This sounds like a VM crash.  Are you running the J9 VM?  Are you running in 
English locale or another language (I noticed G2X in the bug's title)?  Any 
crash log(s) that are generated are likely in the /eclipse directory where the 
version of Eclipse you ran is installed.
Comment 6 Karice McIntyre CLA 2005-09-23 12:40:46 EDT
A couple more things to try:  

1. Can you replicate this using a RedHat 3.0 machine - 4.0 is not an official 
supported platform for Eclipse 3.1.
http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_1.html#TargetO
peratingEnvironments

2. Can you replicate this using a Sun 1.4.2 VM?
Comment 7 Billy Biggs CLA 2005-09-23 13:56:05 EDT
Note that the bug was reported against I20050915-0800 and RHEL 4 is a target for
3.2 (but 3.1 should work without VM crashes too, of course) :)
Comment 8 Karice McIntyre CLA 2005-09-23 16:07:38 EDT
We were able to replicate with ibm jdk 1.4.2 SR2.  Could not replicate when 
using Sun 1.4.2 vm.  Now we need to run it against J9.
Comment 9 Douglas Pollock CLA 2005-09-23 16:22:50 EDT
I can't reproduce on my box using a J9 VM. 
 
Comment 10 Billy Biggs CLA 2005-09-23 17:29:45 EDT
Karice: When you reproduced, did you get a VM crash log?
Comment 11 Karice McIntyre CLA 2005-09-23 17:33:38 EDT
no crash log was written.
Comment 12 Karice McIntyre CLA 2005-09-23 17:34:27 EDT
Tiffany, if you could still try to replicate this using a Sun 1.4.2 VM and the 
J9 VM (if you can get access to it) that would be helpful.  Also, if you could 
provide the exact build id by running the java vm with the -version argument 
and provide that info in the bug report that would be great, too.  Thanks.
Comment 13 Tiffany Lu CLA 2005-09-26 05:52:11 EDT
1. We don't have RHEL 3.0 environment, we can't try this problem on RHEL 3.0.

2. I re-tested it with Sun 1.4.2 JDK, this problem doesn't exist.
     The version of Sun 1.4.2 is:
      java version "1.4.2_09"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)

3. I tried to launch eclipse by './eclipse -clean -vmargs -xj9' or './eclipse' 
   with IBM 1.4.2 JDK, the problem occurs.
     The version of IBM 1.4.2 is:
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
      Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050609 
      (JIT enabled: jitc))
Comment 14 Karice McIntyre CLA 2005-09-30 16:24:31 EDT
To launch the J9 vm you need to use command line argument -Xj9.  I'm pretty 
sure it's case sensitive on the X, using -xj9 will not launch the J9 vm.

I will be logging a bug against the IBM JDK for this.
Comment 15 Tiffany Lu CLA 2005-10-02 21:36:21 EDT
Sorry. It's a typo in comment #13.
I used the command './eclipse -clean -vmargs -Xj9' with IBM 1.4.2 JDK. 
And The problem still exist.
Comment 16 Karice McIntyre CLA 2005-10-03 10:16:51 EDT
Tiffany - are you sure you ran the J9 VM and were able to replicate the 
problem - the VM version in comment #13 is not a J9 VM version.  We had someone 
try the steps using the following J9 VM and could not replicate.

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux x86-32 j9xia32142-20050609 
(JIT enabled)
J9VM - 20050524_1738_lHdSMR
JIT - r7_level20050518_1803)

However, we had someone else replicate the problem using the same (non-J9) VM 
you were using:

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050609 (JIT enabled: 
jitc))
Comment 17 Karice McIntyre CLA 2005-10-03 10:54:26 EDT
VM bug logged.  93921,001,866
Comment 18 Jacqueline Yen CLA 2005-10-04 00:49:10 EDT
Hi Karice,
We use the JDK downloaded from IES download. 
(http://ies.ottawa.ibm.com/ies/downloads/index.php) The filename is "ibm-java2-
ws-sdk-pj9n142-20050609.zip". I thought that it was a J9 version.
Besides, I also try to find another JVM from JIT. The JVM with J9 is the same 
with the one we downloaded from IES.
Is there any other JVM with J9 available?
Thanks.
Regards, Jacqueline
Comment 19 Karice McIntyre CLA 2005-10-04 09:58:52 EDT
Ok, that filename looks like it has J9.  I think when you run java -version to 
get the J9 version you have to run java -Xj9 -version to get the J9 vm 
version.  But it's ok.  We were able to replicate here using the same vm (non-
J9).  The name of the zip was something I didn't have though - thanks.
Comment 20 Jacqueline Yen CLA 2005-10-05 06:32:01 EDT
Hi Karice,
Is this a problem of vm or we still need more investigation?
The status is updated to "RESOLVED". 
If this is a vm problem, are we expected to close this bug before the vm is 
fixed? 
If this might be a bug of eclipse, we would like to re-open it.
Please let us know the result of investigation. Thank You!!
Regards, Jacqueline
Comment 21 Karice McIntyre CLA 2005-10-05 09:55:22 EDT
See comment #17
Comment 22 Paul Webster CLA 2005-10-05 14:53:53 EDT
Created attachment 27887 [details]
stack of the IBM JVM

This is a stack dump of the IBM JVM process (non-J9) after starting eclipse and
creating a new file (before even trying to open the properties page).

It prints out:
JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.
and then hangs, taking 50% of the CPU

Red Hat Enterprise Linux WS release 4 (Nahant Update 1)
kernel 2.6.9-11.EL

java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050609 (JIT enabled:
jitc))

PW
Comment 23 Tiffany Lu CLA 2005-10-06 02:45:56 EDT
Since this is a bug of JVM and the problem has been reported, 
we close this bug.
Thanks!