https://bugs.winehq.org/show_bug.cgi?id=40821
Bug ID: 40821 Summary: Java JRE 8 installer 'jre-8u60-windows-i586.exe' and latter hang during installation Product: Wine Version: 1.9.12 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
Since bug 38811 was fixed, i wanted to re-test: * jre-8u45-windows-i586.exe ... installer runs * jre-8u51-windows-i586.exe ... installer runs * jre-8u55-windows-i586.exe ... installer runs * jre-8u60-windows-i586.exe ... installer stalls * jre-8u77-windows-i586.exe ... installer stalls * jre-8u91-windows-i586.exe ... installer stalls
Last line in that case is:
fixme:jscript:JSGlobal_eval No active exec_ctx
https://bugs.winehq.org/show_bug.cgi?id=40821
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian Keywords| |download, Installer URL| |http://javadl.oracle.com/we | |bapps/download/AutoDL?Bundl | |eId=210183
--- Comment #1 from Wylda wylda@volny.cz --- Filling some fields...
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #2 from Austin English austinenglish@gmail.com --- Does winetricks wsh57 help?
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #3 from Wylda wylda@volny.cz ---
Does winetricks wsh57 help?
No, it's still the same.
https://bugs.winehq.org/show_bug.cgi?id=40821
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- I tried winetricks -q jscript and it seems to skip that part?
But it still doesnt work wine 1.9.17 and staging 1.9.17
https://bugs.winehq.org/show_bug.cgi?id=40821
victor.whiskey.yankee@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |victor.whiskey.yankee@gmail | |.com
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #5 from winetest@luukku.com --- Still not working. Tried only wine-staging 2.7. Tried also winetricks -q wsh57 and jscript, but they dont seem to help.
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #6 from winetest@luukku.com --- bug 42498 is about jre-8u121-windows-i586.exe.
https://bugs.winehq.org/show_bug.cgi?id=40821
Timofonic timofonic@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |timofonic@gmail.com
--- Comment #7 from Timofonic timofonic@gmail.com --- Would you like to provide a verbose output of wine?
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #8 from Timofonic timofonic@gmail.com --- Maybe this bug is similar to bug 42498, bug 42540, bug 42398
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #9 from Wylda wylda@volny.cz --- Created attachment 59185 --> https://bugs.winehq.org/attachment.cgi?id=59185 console log wine-2.17
Still present in wine-2.17.
https://bugs.winehq.org/show_bug.cgi?id=40821
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mavck@outlook.com
--- Comment #10 from Wylda wylda@volny.cz --- *** Bug 42540 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |justineuro.moin@gmail.com
--- Comment #11 from Wylda wylda@volny.cz --- *** Bug 42498 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #12 from Wylda wylda@volny.cz --- *** Bug 42398 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Evgeny Kapun abacabadabacaba@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abacabadabacaba@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #13 from Wylda wylda@volny.cz ---
Still present in wine-3.2-167-g7be8beab68. Tested with following versions: * jre-8_update060_32bit.exe * jre-8_update151_32bit.exe
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #14 from Wylda wylda@volny.cz ---
Still present in wine-4.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=40821
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ToddAndMargo@zoho.com
--- Comment #15 from Fabian Maurer dark.shadow4@web.de --- *** Bug 46456 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #16 from Zebediah Figura z.figura12@gmail.com --- *** Bug 47215 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Max Lemieux max.lemieux@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |max.lemieux@gmail.com
--- Comment #17 from Max Lemieux max.lemieux@gmail.com --- Still present with installer version "jre-8u211-windows-i586.exe", tested on wine-4.0 (Ubuntu 4.0-1).
https://bugs.winehq.org/show_bug.cgi?id=40821
--- Comment #18 from Max Lemieux max.lemieux@gmail.com --- Can confirm workaround - setting Windows version to XP and running installer with "/s" switch for silent install, Internet Explorer 8 32-bit now passes test at https://www.java.com/en/download/installed.jsp.
Workaround documented by noa_body at https://appdb.winehq.org/objectManager.php?sClass=version&iId=31528
https://bugs.winehq.org/show_bug.cgi?id=40821
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
the installer crashes now with stack overflow without showing any user interface. This is caused by commit https://source.winehq.org/git/wine.git/commitdiff/64cb9425da43271109bc1df8df... ("wininet: Add missing schemes to url_schemes."). It's not a regression as the Java SE 8 Runtime Environment Update 60+ installer never fully worked.
It requires some amount of work in 'mshtml' and 'jscript' components to make this installer work. Various improvements have already been done in the past year(s). Sometimes it looks like the user-visible behaviour gets worse (regress) - but that's due to hitting different/new code paths, creating more code coverage in various places.
Previous state, before 64cb9425da432
--- snip --- ... 005e:trace:mshtml:ResProtocolInfo_ParseUrl 04746948)->(L"res://Z/welcome_en.wxl" 7 0 0EC31240 38 0460E04C 0) ... 005e:Ret urlmon.CoInternetParseUrl() retval=00000000 ret=04729ec6 005e:Call msvcrt.wcschr(0ec3124c L"Z/welcome_en.wxl",0000002f) ret=0472a1c9 ... 005e:Call KERNEL32.LoadLibraryExW(0ec3124c L"Z",00000000,00000002) ret=0472a246 ... 005e:Ret KERNEL32.LoadLibraryExW() retval=00000000 ret=0472a246 ... 005e:warn:mshtml:ResProtocol_Start Could not open dll: L"Z" 005e:trace:mshtml:InternetProtocol_Terminate (0EC311D0)->(00000000) ... 005e:trace:jscript:DispatchEx_Release (043B5FF0) ref=2 005e:trace:jscript:interp_local -1: L"fname" 005e:trace:jscript:interp_str L": xml loading/parsing error - " 005e:trace:jscript:interp_add str(L"res://Z/"...) + str(L": xml loading/parsing error - ") 005e:trace:jscript:interp_local 1: L"theErr" 005e:trace:jscript:interp_member 005e:trace:jscript:interp_add str(L"res://Z/"......) + str(L"error") 005e:trace:jscript:interp_call_member 1 0 005e:trace:jscript:invoke_prop_func call L"fatal" 04386108 ... --- snip ---
It just bailed out earlier. The user interface looks distorted (no page content, empty buttons) which is expected as various jscript resources are not fully loaded/processed, event handlers not wired up etc.
Wine 5.0-rc2:
--- snip --- ... 0066:trace:jscript:create_activex_object L"Msxml2.DOMDocument" 0066:trace:jscript:create_activex_object GUID {f6d90f11-9c73-11d3-b32e-00c04f990bb4} 0066:trace:jscript:AXSite_AddRef (043EBB98) ref=2 0066:trace:jscript:AXSite_Release (043EBB98) ref=1 0066:trace:jscript:interp_pop 2 0066:trace:jscript:DispatchEx_Release (0433A9B8) ref=1 ... 0066:trace:mshtml:ResProtocolInfo_ParseUrl 04B86948)->(L"res://Z:%5Chome%5Cfocht%5CDownloads%5C_unpacked%5Cjre-8u91-windows-i586.exe/welcome_en.wxl" 7 0 04421CD8 106 04A4E04C 0) ... 0066:Ret urlmon.CoInternetParseUrl() retval=00000000 ret=04b69ec6 0066:Call msvcrt.wcschr(04421ce4 L"Z:\home\focht\Downloads\_unpacked\jre-8u91-windows-i586.exe/welcome_en.wxl",0000002f) ret=04b6a1c9 ... 0066:Call KERNEL32.LoadLibraryExW(04421ce4 L"Z:\home\focht\Downloads\_unpacked\jre-8u91-windows-i586.exe",00000000,00000002) ret=04b6a246 ... 0066:Ret KERNEL32.LoadLibraryExW() retval=00400000 ret=04b6a246 ... 0066:trace:mshtml:ResProtocol_Start trying to find resource type #0017, name L"welcome_en.wxl" ... 0066:Call KERNEL32.LoadResource(00400000,035faca8) ret=04b6a334 ... 0066:Ret KERNEL32.LoadResource() retval=03547b28 ret=04b6a334 .... 0066:Call urlmon.FindMimeFromData(00000000,04421d5c L"welcome_en.wxl",04421db8,000003d2,00000000,00000000,04a4e0a4,00000000) ret=04b6a3b4 ... 0066:trace:mshtml:InternetProtocol_Read (04421BE8)->(04A4D7D0 2048 04A4D7C4) ... 0066:trace:ole:DispCallFunc retval: 04A4E720 {VT_ERROR: 00000000} ... 0066:trace:mshtml:DispatchEx_InvokeEx (0442CF28)->(800107d5 800 4 04952F40 00000000 04952F50 00000000) 0066:trace:mshtml:HTMLDOMNode_AddRef (0442CF28) ref=1960 ... 0066:trace:mshtml:HTMLElement2_put_accessKey (0442CF28)->(L"I") ... 0066:trace:mshtml:HTMLElement_setAttribute (0442CF28)->(L"accessKey" 04952DA0 {VT_BSTR: L"I"} 00000000) ... 0066:trace:mshtml:DispatchEx_GetDispID (0442CF28)->(L"accessKey" a 04952DBC) ... 0066:Call msvcrt._wcsicmp(0442be74 L"addBehavior",04b85380 L"accessKey") ret=04a65deb 0066:Ret msvcrt._wcsicmp() retval=00000001 ret=04a65deb 0066:Call msvcrt._wcsicmp(0442b00c L"accessKey",04b85380 L"accessKey") ret=04a65deb 0066:Ret msvcrt._wcsicmp() retval=00000000 ret=04a65deb 0066:trace:mshtml:DispatchEx_InvokeEx (0442CF28)->(800107d5 800 4 04952D30 00000000 04952D40 00000000) 0066:trace:seh:raise_exception code=c00000fd flags=0 addr=0xf7bc0fe9 ip=f7bc0fe9 tid=0066 0066:trace:seh:raise_exception eax=f7cf7000 ebx=0495256c ecx=00000002 edx=00000002 esi=00000030 edi=f7cf7000 0066:trace:seh:raise_exception ebp=04952538 esp=04951fd0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010202 0066:err:seh:setup_exception_record stack overflow 816 bytes in thread 0066 eip f7bcd6c5 esp 04951000 stack 0x4950000-0x4951000-0x4a50000 ... --- snip ---
The relevant jscript snippet, extracted from the installer resources for documentation:
--- snip --- ... function WixFile (fname) { var xmlDoc = require("activex")("Msxml2.DOMDocument"); // If loading an XML document from a resource, the load must be performed asynchronously. xmlDoc.async = true xmlDoc.load(fname)
// We don't want to process asynchronously because this can cause size effects // like execution of the onload handlers before layout is initialized. // So we wait here until the document loading is complete // (actually I was not able to reproduce the case when xmlDoc.load returns before // onreadystatechange event is fired, and MSDN example does not check ready state, // but lets do it for safety). while (xmlDoc.readyState !== 4) { host.delay(10) }
if (xmlDoc.parseError.errorCode != 0) { var theErr = xmlDoc.parseError log.fatal(fname + ": xml loading/parsing error - " + theErr.reason) return }
this.idWithHtml = new Array()
var strings = xmlDoc.getElementsByTagName("WixLocalization")[0].childNodes
for (var i = 0; i < strings.length; i++) { var element = strings[i] this.idWithHtml.push([ element.getAttribute("Id"), element.text ]) }
this.iterateStrings = function (callback, thisArg) { this.idWithHtml.forEach(function (v) { callback.call(thisArg, v[0], v[1]) }) } } ... function setAccessKey(element, html) { // accessKey is specified by "&" (&) before the letter var ampIdx = html.indexOf('&') if (ampIdx >= 0 && ampIdx < html.length-1) { element.accessKey=html.charAt(ampIdx + 1) html = html.substring(0, ampIdx) /*+ "<u>"*/ + html.charAt(ampIdx + 1) /*+ "</u>"*/ + html.substring(ampIdx + 2) } return html }
this.applyWixFile = function (wixFname) { document.getElementById("root").style.display = "none" try { new WixFile(wixFname).iterateStrings(function (id, html) { var element = document.getElementById(id) if (element) { html = this.resolveURLs(html, getURLsForId(id)) html = setAccessKey(element, html) element.innerHTML = html } else if (SPECIAL_IDS.hasOwnProperty(id)) { SPECIAL_IDS[id](html, id) } else { log.warning("element[" + id + "] not found") } }, this) } finally { document.getElementById("root").style.display = "block" } }
this.setLocale = function (loc) { var filename = require("Filename")
var href = window.location.href
var wixFname = filename.basename(href) + '_' + loc + ".wxl"
var wixPath = filename.unix.join(filename.dir(href), wixFname)
this.applyWixFile(wixPath) } ... --- snip ---
'setAccessKey' causes recursion.
Alternative downloads:
http://faucet.aas.duke.edu/pub/pc/bigfix/patches/java/
Internet Archive snapshot:
https://web.archive.org/web/20191227130355/http://faucet.aas.duke.edu/pub/pc...
$ sha1sum jre-8u* 94f6903ef5514405131298fc351af9467adf945d jre-8u151-windows-i586.exe 6169b69cbb3c2752e9ae1e878f1bd0e7778b604b jre-8u91-windows-i586.exe
$ du -sh jre-8u* 61M jre-8u151-windows-i586.exe 49M jre-8u91-windows-i586.exe
$ wine --version wine-5.0-rc2
Regards
https://bugs.winehq.org/show_bug.cgi?id=40821
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #20 from Anastasius Focht focht@gmx.net --- *** Bug 48478 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Java JRE 8 installer |Multiple applications crash |'jre-8u60-windows-i586.exe' |with stack overflow when |and latter hang during |setting |installation |IHTMLElement2::accessKey | |property (Java JRE 8 | |installer, RealNetworks | |RealPlayer 18.x) Component|-unknown |mshtml
https://bugs.winehq.org/show_bug.cgi?id=40821
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #21 from Jacek Caban jacek@codeweavers.com --- I sent a fix for that: https://source.winehq.org/patches/data/202814
With that fixed, Java installer gets to display the initial page, but hits bug 37906 later.
https://bugs.winehq.org/show_bug.cgi?id=40821
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |7b52ece404dacae83a19235f3c9 | |81d4e0bef50fd Status|NEW |RESOLVED CC| |infyquest@gmail.com
--- Comment #22 from Vijay Kamuju infyquest@gmail.com --- patch committed https://source.winehq.org/git/wine.git/commitdiff/7b52ece404dacae83a19235f3c...
https://bugs.winehq.org/show_bug.cgi?id=40821
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.
https://bugs.winehq.org/show_bug.cgi?id=40821
Andrey raziel943@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raziel943@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40821
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aros@gmx.com
--- Comment #24 from Anastasius Focht focht@gmx.net --- *** Bug 49134 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40821
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications crash |Multiple applications crash |with stack overflow when |with stack overflow when |setting |setting |IHTMLElement2::accessKey |IHTMLElement2::accessKey |property (Java JRE 8 |property (Java JRE 8 |installer, RealNetworks |installer, RealNetworks |RealPlayer 18.x) |RealPlayer 18.x, Adobe | |Photoshop CS3 installer) URL|http://javadl.oracle.com/we |https://web.archive.org/web |bapps/download/AutoDL?Bundl |/20191227130355/http://fauc |eId=210183 |et.aas.duke.edu/pub/pc/bigf | |ix/patches/java/jre-8u151-w | |indows-i586.exe