https://bugs.winehq.org/show_bug.cgi?id=39980
Bug ID: 39980 Summary: Amazon Kindle installed via winetricks crashes on start without vcrun2008 Product: Wine Version: 1.9.1 Hardware: x86 OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
austin@debian-laptop:~/.wine/drive_c/Program Files/Amazon/Kindle$ wine Kindle.exe fixme:system:SetProcessDPIAware stub! err:wintab32:LoadTablet LoadTabletInfo(0x10054) failed fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:win:FlashWindowEx 0x32f174 - semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32eb20 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32e9a0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32ecbc 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32ed4c 1 C) semi-stub [E-0]createDocumentInfoInternal(C:\users\austin\My Documents\My Kindle Content\B00AZRBLHO_EBOK.azw) - DRM issue *** Error in `Kindle.exe': double free or corruption (!prev): 0x7d7e2970 *** wine: Assertion failed at address 0xf77b8be0 (thread 0029), starting debugger...
winetricks -q vcrun2008 lets it run.
winetricks kindle will reproduce (though you'll need to set dlls back to builtin since I'm going to commit that workaround ;) ).
https://bugs.winehq.org/show_bug.cgi?id=39980
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- I can't reproduce the issue. Are you sure that it's not related to e.g. the ebooks you have in My Documents\My Kindle Content?
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Piotr Caban from comment #1)
I can't reproduce the issue. Are you sure that it's not related to e.g. the ebooks you have in My Documents\My Kindle Content?
I do have one DRM enabled book which may be related. I haven't had a chance to retest if that is the reason though.
Do you have any purchased/not free books?
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- (In reply to Austin English from comment #2)
Do you have any purchased/not free books?
No.
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net --- Austin, are you sure winetricks vcrun2008 actually fixes this?
The reason I ask is that I think I ran into the same crash today trying to upgrade to Kindle for PC 1.14.43019 from 1.12.40996. The console output had the line
*** Error in `C:\Program Files\Amazon\Kindle\Kindle.exe': double free or corruption (!prev): 0x7d7982e0 ***
right before the backtrace. I also tried installing the new version directly to a clean wineprefix, and got the same crash on the first try, but not on the second (no winetricks). What I'm seeing (after multiple startup attempts) is that the crash occurs often, but not always, with the new version of Kindle for PC, with or without winetricks vcrun2008. It also sometimes hangs with 100% CPU usage instead of crashing.
I do have some DRM'd books, but there was nothing in the console about them.
I'm basically just trying to figure out whether I should file a separate bug...
https://bugs.winehq.org/show_bug.cgi?id=39980
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msvcp |-unknown Summary|Amazon Kindle installed via |Amazon Kindle installed via |winetricks crashes on start |winetricks often |without vcrun2008 |crashes/hangs when a DRM | |book is in library
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Rosanne DiMesio from comment #4)
Austin, are you sure winetricks vcrun2008 actually fixes this?
It seemed to initially, but later attempts make me doubt my conclusion.
The reason I ask is that I think I ran into the same crash today trying to upgrade to Kindle for PC 1.14.43019 from 1.12.40996. The console output had the line
*** Error in `C:\Program Files\Amazon\Kindle\Kindle.exe': double free or corruption (!prev): 0x7d7982e0 ***
Yes, I've seen that.
right before the backtrace. I also tried installing the new version directly to a clean wineprefix, and got the same crash on the first try, but not on the second (no winetricks). What I'm seeing (after multiple startup attempts) is that the crash occurs often, but not always, with the new version of Kindle for PC, with or without winetricks vcrun2008. It also sometimes hangs with 100% CPU usage instead of crashing.
I do have some DRM'd books, but there was nothing in the console about them.
[E-0]createDocumentInfoInternal(C:\users\austin\My Documents\My Kindle Content\B00AZRBLHO_EBOK.azw) - DRM issue
is the only DRM book I have. Removing it from My Kindle Content let it start.
I'm basically just trying to figure out whether I should file a separate bug...
I think here is fine. I've adjusted the summary accordingly.
The only DRM book I have currently is http://www.amazon.com/Phoenix-Project-DevOps-Helping-Business-ebook/dp/B00AZ..., which was free for one day a while back. Perhaps different books have different DRM schemes?
https://bugs.winehq.org/show_bug.cgi?id=39980
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Amazon Kindle installed via |Amazon Kindle 1.14.x often |winetricks often |crashes/hangs when a DRM |crashes/hangs when a DRM |book is in library |book is in library |
--- Comment #6 from Rosanne DiMesio dimesio@earthlink.net --- Removing winetricks from the summary, as it has nothing to do with the problem (I didn't install with it).
DRM does seem to be related to the problem, and it looks like Amazon has changed their DRM with the new version. I deleted all my DRM books locally, and Kindle for PC 1.14.x started up without any problem. I then re-downloaded those books, and it still starts up (so far, anyway). I can open those books in 1.14.x, but I can't open them in 1.12.x, though they show up in the library. 1.12.x now pops up a message saying "The book could not be opened. Please remove the book from your device and redownload it."
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 53696 --> https://bugs.winehq.org/attachment.cgi?id=53696 Console output leading to crash
This morning Kindle crashed twice and opened okay twice. Attaching console output from one of the crashes.
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 53697 --> https://bugs.winehq.org/attachment.cgi?id=53697 Backtrace captured by crash dialog
Also attaching the backtrace captured by Wine's crash dialog.
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Rosanne DiMesio from comment #8)
Created attachment 53697 [details] Backtrace captured by crash dialog
Also attaching the backtrace captured by Wine's crash dialog.
Reminds me of many bugs with that sort of backtrace, so copying Austin's comment from other bug:
Does 'taskset -c 0 wine foo.exe' help? Looks like a dupe of bug 35041.
https://bugs.winehq.org/show_bug.cgi?id=39980
--- Comment #10 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Bruno Jesus from comment #9)
Does 'taskset -c 0 wine foo.exe' help? Looks like a dupe of bug 35041.
You could be right. I just tried it 6 times in a row, and it started up fine.
However, I'm a little leery of calling this a duplicate just on the basis of that test; last night it seemed to be fixed, too, for multiple startups, and this morning it wasn't.
Austin, does taskset -c 0 help on your system?
https://bugs.winehq.org/show_bug.cgi?id=39980
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net --- During a week of randomly opening Kindle at various times during the day, it never crashed or hung when using taskset -c 0, but sometimes did without it. So I think we can call this a duplicate of bug 35041.
*** This bug has been marked as a duplicate of bug 35041 ***
https://bugs.winehq.org/show_bug.cgi?id=39980
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.