United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6262001 : Install of jdk1.5 or jre1.5 on WindowsXP freezes near end of install.

Details
Type:
Bug
Submit Date:
2005-04-27
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2006-05-02
Component:
hotspot
OS:
windows_xp
Sub-Component:
runtime
CPU:
x86
Priority:
P4
Resolution:
Cannot Reproduce
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
FULL PRODUCT VERSION :
doesn't matter

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

EXTRA RELEVANT SYSTEM CONFIGURATION :
Dell Precision 450 Dual 2.4 gighz CPU, 1 gig Ram.  Hyperthreading on.

A DESCRIPTION OF THE PROBLEM :
We have two Dell Precision 450 Dual 2.4 gighz CPU, 1 gig Ram.  The following problem only happens on these two computers when we install java 1.5, 1.5 update 1, or 1.5 update 2.  Other computer install just fine.  Others have also reported this problem. See http://forum.java.sun.com/thread.jspa?threadID=571871.

Using the Windows Task Manger. At the time the install is frozen there is a javaw.exe running.  It is using 0% CPU.  Just before the installation stalls there is no javaw.exe running.  Also the classes.jsa, "Class Data Sharing",  file is incomplete (0 KB).  After restart this file is 5,701,632 bytes. It is impossible to kill this javaw.exe.  I tried  using the "End Process" button and the taskkill.exe command to kill it.  Ever time you type java from the command line.  Each of these java processes are also unkillable.  Also shutting down the computer or restarting is also impossible without physically powering down the computer.

After restart java.exe works, but if you try run java with java -Xshare:on you get the following error:

An error has occured while processing the shared archive file.
The shared archive file has the wrong version.
Error occurred during initialization of VM
Unable to use shared archive.

My guess is that the freeze occurs when the install is trying to create the "Class Data Sharing" file.



STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Get a computer that the problem occurs on such as Dell Precision 450 Dual 2.4 gighz CPU, 1 gig Ram.  Hyperthreading on.  Run the install.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The installation completes.
ACTUAL -
In the Windows Task Mangager the installer and javaw.exe are using 0% cpu.  The javaw.exe is impossible to kill.  Unable to shutdown or restart without physically hitting the reset button on the computer case.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
1. Install 1.5 jdk.

2. Watch Windows Task Manager. Installation freezes as soon as javaw.exe shows up in the window.

3. Hard Restart.  You can try to kill javaw.exe. But you won't be able to.

4. Execute "java -Xshare:on".
An error has occured while processing the shared archive file.
The shared archive file has the wrong version.
Error occurred during initialization of VM
Unable to use shared archive.

This step 4 is required, if not step 6 or 8 will freeze.

5. Check size of classes.jsa (5,701,632 bytes). Optional step.  Just here to show classes.jsa is incomplete.

6. Execute "java -Xshare:dump"
Loading classes to share ... done.
Rewriting and unlinking classes ... done.
Calculating hash values for String objects .. done.
Calculating fingerprints ... done.
Removing unshareable information ... done.
Moving most read-only objects to shared space at 0x2aad0000 ... done.
Moving common symbols to shared space at 0x2ae2e848 ... done.
Moving remaining symbols to shared space at 0x2af51148 ... done.
Moving string char arrays to shared space at 0x2af51bd8 ... done.
Moving additional symbols to shared space at 0x2afd2ef0 ... done.
Read-only space ends at 0x2b027960, 5601632 bytes.
Moving read-write objects to shared space at 0x2b2d0000 ... done.
Moving String objects to shared space at 0x2b825be8 ... done.
Read-write space ends at 0x2b8643a8, 5850024 bytes.
Updating references to shared objects ... done.

An error has occured while processing the shared archive file.
Unable to create shared archive file C:\dev\jdk1.5.0\jre\bin\client\classes.jsa.
Error occurred during initialization of VM
Unable to use shared archive.

7. Delete classes.jsa

8. Execute "java -Xshare:dump"
Loading classes to share ... done.
Rewriting and unlinking classes ... done.
Calculating hash values for String objects .. done.
Calculating fingerprints ... done.
Removing unshareable information ... done.
Moving most read-only objects to shared space at 0x2aad0000 ... done.
Moving common symbols to shared space at 0x2ae2e848 ... done.
Moving remaining symbols to shared space at 0x2af51148 ... done.
Moving string char arrays to shared space at 0x2af51bd8 ... done.
Moving additional symbols to shared space at 0x2afd2ef0 ... done.
Read-only space ends at 0x2b027960, 5601632 bytes.
Moving read-write objects to shared space at 0x2b2d0000 ... done.
Moving String objects to shared space at 0x2b825be8 ... done.
Read-write space ends at 0x2b8643a8, 5850024 bytes.
Updating references to shared objects ... done.

9. Check size of classes.jsa (12,517,376 bytes) Optional step.  Just here to show classes.jsa is complete.

10. Repeat with JRE Install.


  See also See http://forum.java.sun.com/thread.jspa?threadID=571871.
###@###.### 2005-04-27 05:35:01 GMT

                                    

Comments
EVALUATION

We've tried hard to reproduce the hang, but still can't. Would you please try the lastest JDK 6 from http://download.java.net/jdk6/binaries/ to see if you still see the same problem.
                                     
2006-05-04
EVALUATION

No new info in over 2 months. Closing as not reproducible
                                     
2006-05-02
EVALUATION

Can this be reproduced with latest 1.5.0_u6-b05 and 6.0 b80 on the web?
                                     
2006-04-21
EVALUATION

I tried reproducing this on a winXP Hyperthreading-enabled machine.  I cannot reproduce the issue.  However, I still do not believe this is an installer problem.  All the installer does is launch the CDS command.  It's the CDS command that's failing, so I think it's best for the the VM team to investigate.
                                     
2006-02-28
EVALUATION

I cannot reproduce this.  Please provide a machine which this is reproducible on.
                                     
2006-02-14
EVALUATION

Reassign this to installer team to take a look of why MSI installer can't proceed. See comments for details.
                                     
2006-02-06
EVALUATION

I haven't seen this on any Windows machine I've installed the JRE on, and from talking with the deployment team they have never seen it either. Until we can reproduce the problem I'm marking it as incomplete.

###@###.### 2005-06-23 22:25:16 GMT
                                     
2005-06-23



Hardware and Software, Engineered to Work Together