https://bugs.winehq.org/show_bug.cgi?id=43508
Bug ID: 43508 Summary: Kindle for PC can't initialize gecko? Product: Wine Version: 2.14 Hardware: x86 OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com CC: jacek@codeweavers.com Distribution: Gentoo
While looking at https://github.com/Winetricks/winetricks/issues/825, I noticed that newer Kindle does not show its login window, instead spamming an infinite loop of window refreshing:
[INFO][RegistrationDialogWrapper] Registration: URL changedabout:blank^M [WARN][MazamaLog] ShellExecute 'about:blank' failed (error 31).^M [INFO][RegistrationDialogWrapper] reloadWebview^M fixme:ieframe:WebBrowser_Stop (0x79a79f0) [INFO][RegistrationDialogWrapper] Registration: URL changedabout:blank^M ... ... err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80004005 [INFO][RegistrationDialogWrapper] Webview finished loading with code=0^M [INFO][CMetricsManager] Reporting the following metric 170808:184434 Mazama: I RegistrationDialogWrapper:RegistrationWebViewLoadTimer:Timer=1:^M fixme:ieframe:handle_navigation_error Navigate to error page fixme:ieframe:bind_to_object BindToObject failed: 800c0010 ... fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 [INFO][RegistrationDialogWrapper] Registration: URL changedabout:blank^M err:secur32:schan_AcquireClientCredentials Could not find matching protocol fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub [WARN][MazamaLog] ShellExecute 'about:blank' failed (error 31).^M [INFO][RegistrationDialogWrapper] reloadWebview^M fixme:ieframe:WebBrowser_Stop (0x79a79f0) fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub
To make sure it wasn't my machine, I ran mshtml/ieframe tests, which all passed. I can browse the web with iexplore.exe, as well, so gecko is functional.
austin@austin2:~/.cache/winetricks/kindle$ sha256sum KindleForPC-installer-1.20.47037.exe cb20581d3455d458c7ac4bafa5c67dcfc5186c7b35951168efcf5a8263706b47 KindleForPC-installer-1.20.47037.exe
austin@austin2:~/.cache/winetricks/kindle$ du -sh KindleForPC-installer-1.20.47037.exe 52M KindleForPC-installer-1.20.47037.exe
wine-2.14-32-g52fbaeb2c4
https://bugs.winehq.org/show_bug.cgi?id=43508
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Kindle for PC can't |Kindle for PC 1.20.47037 |initialize gecko? |can't initialize gecko?
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #1 from Austin English austinenglish@gmail.com --- This was also reported in the appdb: https://appdb.winehq.org/objectManager.php?sClass=version&iId=35158&...
https://bugs.winehq.org/show_bug.cgi?id=43508
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43508
Ismail Donmez ismail@i10z.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ismail@i10z.com
https://bugs.winehq.org/show_bug.cgi?id=43508
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Summary|Kindle for PC 1.20.47037 |Kindle for PC 1.20.47037 |can't initialize gecko? |installer - can't | |initialize gecko URL| |https://www.amazon.com/b/re | |f=ruby_redirect?ie=UTF8&nod | |e=16571048011 Keywords| |Installer
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- It's the same with version 1.21.x and wine-staging-2.21.
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- *** Bug 44102 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43508
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- It starts for me using native urlmon (copied from my windows 7 drive) so probably not a bug in mshtml.
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #5 from Ismail Donmez ismail@i10z.com --- (In reply to Louis Lenders from comment #4)
It starts for me using native urlmon (copied from my windows 7 drive) so probably not a bug in mshtml.
Can you write down what you did please? Thanks.
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- (In reply to Louis Lenders from comment #4)
It starts for me using native urlmon (copied from my windows 7 drive) so probably not a bug in mshtml.
Can't confirm that, doesn't change a thing for me. Using wine-staging-2.21.
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #6)
(In reply to Louis Lenders from comment #4)
It starts for me using native urlmon (copied from my windows 7 drive) so probably not a bug in mshtml.
Can't confirm that, doesn't change a thing for me. Using wine-staging-2.21.
Tried again, and I`d better look more carefully at consoleoutput in future.
After I copied the native urlmon, it urlmon tried to load iertutil, which was not present so urlmon failed to load. So now I tried
WINEDLLOVERRIDES=urlmon=d wine KindleForPC-installer-1.21.48017.exe
and the app starts (though the registerwindows misses things, not surprisingly as I disabled urlmon). Could someone confirm that it starts that way?
(using wine-2.21 (Staging) )
https://bugs.winehq.org/show_bug.cgi?id=43508
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Yes, disabling urlmon makes it show a window, looks like a huge step forward.
https://bugs.winehq.org/show_bug.cgi?id=43508
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Kindle for PC 1.20.47037 |Kindle for PC 1.19.46099 |installer - can't |and later installer - can't |initialize gecko |initialize gecko
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net --- I was testing some old versions, and this problem actually started with 1.19.46099; revising summary to reflect that.
Workaround is to install an earlier Kindle for PC version and login to your Amazon account from that, then close that version and install the newer one to that wineprefix.
https://bugs.winehq.org/show_bug.cgi?id=43508
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43508
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43508
raffamaiden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raffamaiden@gmail.com
--- Comment #10 from raffamaiden@gmail.com --- Workaround in #9 seems to don't work anymore. Installing version 1.16, and tried to install version 1.25 over that. The installer for version 1.25 seemed to unpack the files, then it just run the currently installed version (1.16) without updating it.
https://bugs.winehq.org/show_bug.cgi?id=43508
Richard bug.reporter@mail.sheugh.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bug.reporter@mail.sheugh.co | |m
https://bugs.winehq.org/show_bug.cgi?id=43508
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #11 from Austin English austinenglish@gmail.com --- https://filehippo.com/download_kindle-for-pc/1.20.1.47037.0/?ex=BB-2188.1
The sha256 matches from my original post.
With wine-7.6-100-gae9266992a5, I see the same (login never shows, terminal is infinite spam).
A newer installer (KindleForPC-installer-1.30.59056.exe) doesn't have this issue, in wine-7.6-100-gae9266992a5 or wine-6.0, so the kindle codebase must have changed at some point.
TL;DR: There's still a bug in wine, but it's no longer a problem for kindle users.
https://bugs.winehq.org/show_bug.cgi?id=43508
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.amazon.com/b/re |https://web.archive.org/web |f=ruby_redirect?ie=UTF8&nod |/20171023200718if_/https:// |e=16571048011 |s3.amazonaws.com/kindleforp | |c/47037/KindleForPC-install | |er-1.20.47037.exe
--- Comment #12 from Jactry Zeng jactry92@gmail.com --- I found a mirror in https://web.archive.org/web/20171023200718if_/https://s3.amazonaws.com/kindleforpc/47037/KindleForPC-installer-1.20.47037.exe, which with the same sha256 value.