JDK-8149518 : Installer hangs during the JDK 8u74 installation process.
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 8u74,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2016-02-09
  • Updated: 2016-10-21
  • Resolved: 2016-08-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u111 b09Fixed 9Fixed
Related Reports
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
N/A - can't run command, because install hangs

ADDITIONAL OS VERSION INFORMATION :
Windows 7 64-bit with latest patches

A DESCRIPTION OF THE PROBLEM :
The jdk-8u74-windows-x64.exe installer hangs.

REGRESSION.  Last worked in version 8u72

ADDITIONAL REGRESSION INFORMATION: 
N/A - can't run command, because install hangs

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Double click the installer exe.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The installer appears to hang before the usual second part of the install (i.e. installation of jre).
ACTUAL -
Installer window hangs - forced to kill process and uninstall via Windows control panel to cleanup.

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Tried 8u111 b09 bundles on Win 7 x64 and unable to reproduce this issue.
18-08-2016

Install SQE OK to request.
26-07-2016

16_04-critical-request justification: - Fix for Release : 8u111 - Justification : high impact bug, resolved by removal of unnecessary winOS API call - Risk Analysis : Low (this changeset has been reviewed and approved by the JVT team for security impact) - Webrev : https://java.se.oracle.com/code/cru/CR-JDK8UCPU-347 - Testing (done/to-be-done) : 9 PIT/8u-cpu promotion - Back ports (done/to-be-done) : 9/8u111 - FX Impact : NA
25-07-2016

JVT (Chris Ries) agreed that it's okay to remove the call from the embedded executable since it is always run from a safe location. We keep call of SetDirectory("") to remove the current directory from the search path for all executables.
19-07-2016

The proposed fix is being evaluated by JVT and dev teams. Result will be captured here.
13-07-2016

The main problem with the issue we cannot reproduce it, so we cannot ensure the fix is correct. I re-examined logs and got the same: - offline wrapper called from jdk8u72-x64 is ok and called from jdk8u74-x64 fails; - the only difference between 8u72 and 8u74 offline wrapper (embedded in jdk) is SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32) call. So looks like SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32) for x64 wrappers breaks IE in some way. SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32) is an "extra protection", main fix JDK-8146417 is introduce "wrapper4wrapper" with the minimal dependencies (only kernel32.dll and advapi32.dll) which creates new "protected" directory, extract embedded wrapper to the dir and then run the wrapper from the directory. So SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32) call can be removed for embedded wrapper and AU binaries (they're always run from secure place) and keep it only for wrapper4wrapper (just for safety)
30-06-2016

SQE OK to defer.
27-04-2016

CPU16_03-defer-request justification: It is not certain that the proposed removal of the API call will result in this issue being addressed, and removal introduces too much risk for the release post-RDP. Requires more evaluation and testing.
27-04-2016

Labeled it with ursqe-hard-test as of now. We can update the label to do appropriate test development based on whether it is reproducible.
12-04-2016

Alex, My point is that we probably have some general issue with html & js in both 8u and 9. It is not related to particular dialog or sequence in which we display/hide them.
04-04-2016

>> JDK-8136928 is in jdk9, it cannot affect 8u We have HTML UI in both 8u and 9 and implementation is almost identical. That is why I think these issues can be related. To me this issues looks like an indication of race condition or abnormal html initialization.
01-04-2016

8u73/8u74 has the only fix: JDK-8146417 Performance degradation after the fix is expected (JDK-8148728 reports long delay in combo, offline wrapper also has big delay, jdk installer runs offline wrapper to install public JRE). But I cannot reproduce the issue with "getIDsOfNames failed" (actually this means html resource is failed to load)
01-04-2016

> Alexey Semenyuk added a comment - 2016-03-16 21:54 > Is this somehow related to JDK-8136928? JDK-8136928 is in jdk9, it cannot affect 8u
01-04-2016

According to the log some unexpected order of loading of html/js data for UI screens happens as the system can't execute JS. Alex should know better on details of HTML UI engine.
16-03-2016

Is this somehow related to JDK-8136928?
16-03-2016

The jusched log file shared in another report by the submitter has error reported while calling javascript function - ERROR: script->getIDsOfNames failed with COM error 0x80020006 (Unknown name) Details copied from JDK-8151477: =============================================================== Here are some links related to the error I found in the jusched.log file: https://social.msdn.microsoft.com/Forums/ie/en-US/965266f1-e4c0-43c2-9436-473d7c9c1f90/reading-js-variable-from-bho-in-ie9-results-in-0x80020006?forum=ieextensiondevelopment https://autohotkey.com/board/topic/73064-solvedie9-has-trouble-with-com-acc-with-html5-doctype/ http://www.veritas.com/community/forums/user-unable-view-archive-explorer-search-vaults-outlook REGRESSION. Last worked in version 8u72 ADDITIONAL REGRESSION INFORMATION: N/A - can't run command, because install hangs STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : double click the jdk installer exe EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - installer should not hang ACTUAL - installer hangs - all java related work has come to a halt on this PC ERROR MESSAGES/STACK TRACES THAT OCCUR : FROM jusched.log file: [2016/03/08 04:18:52.430, jre.exe (PID: 7004, TID: 7008), AllUtils.cpp:102 (logit)] INFO: |------!!!!Working config!!!!--------| INSTALL_SILENT = Disable STATIC = Disable AUTO_UPDATE = Enable SPONSORS = Enable WEB_ANALYTICS = Enable EULA = Disable OEMUPDATE = Disable LAUNCHEDFROMJDK = 1 NOSTARTMENU = 0 CMDLINE = NOSTARTMENU="0" |-------------------------------------| [2016/03/08 04:18:52.430, jre.exe (PID: 7004, TID: 7008), Locales.cpp:317 (Locale::preferredLanguages)] INFO: PreferredUILanguages: Vista+ [2016/03/08 04:18:52.430, jre.exe (PID: 7004, TID: 7008), AllUtils.cpp:102 (logit)] INFO: Wrapper, check for reinstall case.. [2016/03/08 04:18:52.445, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:472 (JavaEnvironment::detect)] TRACE: Entering JavaEnvironment::detect [2016/03/08 04:18:52.461, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:489 (JavaEnvironment::detect)] TRACE: Installed Java detected: version=1.8.0; arch=64; productCode={64A3A4F4-B792-11D6-A78A-00B0D0180740}; type=1 [2016/03/08 04:18:52.477, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:139 (`anonymous-namespace'::detectHomeDir)] TRACE: Find home dir of {64A3A4F4-B792-11D6-A78A-00B0D0180740} Java installation [2016/03/08 04:18:52.477, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:303 (`anonymous-namespace'::detectFullVersion)] TRACE: Detect full version of {64A3A4F4-B792-11D6-A78A-00B0D0180740} Java installation [2016/03/08 04:18:52.477, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:214 (`anonymous-namespace'::detectFullVersionFromMsi)] TRACE: detectFullVersionFromMsi({64A3A4F4-B792-11D6-A78A-00B0D0180740}) [2016/03/08 04:18:52.492, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:451 (`anonymous-namespace'::getInstalledJava)] TRACE: InstalledJava(1.8.0_74-b02|1.8.0_74-b02|JDK|64bit|C:\Program Files\Java\jdk1.8.0_74|{64A3A4F4-B792-11D6-A78A-00B0D0180740}|-10) [2016/03/08 04:18:52.508, jre.exe (PID: 7004, TID: 7008), JavaEnvironment.cpp:0 (JavaEnvironment::detect)] TRACE: Exiting JavaEnvironment::detect (entered at JavaEnvironment.cpp:472) [2016/03/08 04:18:52.508, jre.exe (PID: 7004, TID: 7008), wrapper.cpp:238 (WinMain)] INFO: The installer is 64 bit, set bShowVerifyPage = FALSE [2016/03/08 04:18:52.508, jre.exe (PID: 7004, TID: 7008), AllUtils.cpp:102 (logit)] INFO: Wrapper: Extract MSI ... [2016/03/08 04:18:52.601, jre.exe (PID: 7004, TID: 7008), NetUtils.cpp:93 (HttpConnection::connect)] TRACE: HttpConnection::connect(url=https://javadl-esd-secure.oracle.com/update/1.8.0/1.8.0_74-b02.xml) [2016/03/08 04:18:54.068, jre.exe (PID: 7004, TID: 7008), NetUtils.cpp:222 (HttpConnection::connect)] TRACE: HttpConnection::connect succeeded, size: 1062 bytes [2016/03/08 04:18:54.083, jre.exe (PID: 7004, TID: 7008), Locales.cpp:317 (Locale::preferredLanguages)] INFO: PreferredUILanguages: Vista+ [2016/03/08 04:18:54.083, jre.exe (PID: 7004, TID: 7008), NetUtils.cpp:93 (HttpConnection::connect)] TRACE: HttpConnection::connect(url=http://rps-svcs.sun.com/services/countrylookup) [2016/03/08 04:18:54.317, jre.exe (PID: 7004, TID: 7008), NetUtils.cpp:222 (HttpConnection::connect)] TRACE: HttpConnection::connect succeeded, size: 268 bytes [2016/03/08 04:18:54.333, jre.exe (PID: 7004, TID: 7008), UpdateUtils.cpp:76 (GetCountry)] INFO: Save Country Code US after GetCountry() [2016/03/08 04:18:54.333, jre.exe (PID: 7004, TID: 7008), Locales.cpp:317 (Locale::preferredLanguages)] INFO: PreferredUILanguages: Vista+ [2016/03/08 04:18:54.349, jre.exe (PID: 7004, TID: 7008), UIThread.cpp:89 (ui::`anonymous-namespace'::initDPIAware)] TRACE: SetProcessDPIAware succeeded [2016/03/08 04:18:54.364, jre.exe (PID: 7004, TID: 7156), BrowserWindow.cpp:223 (ui::BrowserWindow::scale2systemDPI)] TRACE: systemDPI: [96, 96] scaled [500, 354] to [500, 354] [2016/03/08 04:19:03.631, jre.exe (PID: 7004, TID: 7156), BrowserControl.cpp:351 (ui::BrowserControl::execJScriptUnsafe)] ERROR: script->getIDsOfNames failed with COM error 0x80020006 (Unknown name) [2016/03/08 04:19:03.646, jre.exe (PID: 7004, TID: 7156), BrowserControl.cpp:817 (ui::BrowserControl::Invoke)] ERROR: Exception with message 'JScript execution error' caught ==========================================================================================
09-03-2016

SQE ok to defer
27-02-2016