Wine C++ Runtime Library Error

Questions about Wine on Linux
Post Reply
grevans
Level 1
Level 1
Posts: 5
Joined: Thu Oct 25, 2018 2:35 pm

Wine C++ Runtime Library Error

Post by grevans » Thu Oct 25, 2018 3:18 pm

I'm trying to install the kindle app using Wine, to use a textbook. I've looked into other options like Calibre or the browser-based reader, but since I can't download my textbook for offline reading, and my book isn't supported in the browser, I have to use the official Kindle app. So whenever I try to run the kindle program I get a short 'unpacking data' message and the following error:
Image

To see if my installation is broken, I tried downloading 123 Free Solitaire, whch worked with no issues.

I am running Linux Mint 19 Xfce, and wine-devel 3.18.0. So far I have tried uninstalling and reinstalling wine, using the stable instead of development branch, changing windows version in winecfg, and using winetricks. Any thoughts on what my issue could be? Thanks.

User avatar
dimesio
Moderator
Moderator
Posts: 12688
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine C++ Runtime Library Error

Post by dimesio » Thu Oct 25, 2018 3:28 pm

Newer versions of Kindle for PC don't install in Wine; workaround is to install a version older than 1.19.46099. https://bugs.winehq.org/show_bug.cgi?id=43508

grevans
Level 1
Level 1
Posts: 5
Joined: Thu Oct 25, 2018 2:35 pm

Re: Wine C++ Runtime Library Error

Post by grevans » Thu Oct 25, 2018 3:52 pm

I tried a version 1.17 exe from the wayback machine and got the same issue.

User avatar
dimesio
Moderator
Moderator
Posts: 12688
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine C++ Runtime Library Error

Post by dimesio » Fri Oct 26, 2018 5:54 am

Make sure you have the MS corefonts installed, either in the wineprefix or systemwide (bug 29045) and bind the process to one core (taskset -c O) when you run it (bug 35041).

grevans
Level 1
Level 1
Posts: 5
Joined: Thu Oct 25, 2018 2:35 pm

Re: Wine C++ Runtime Library Error

Post by grevans » Fri Oct 26, 2018 5:10 pm

I installed ttf-mscorefonts-installer and used taskset -c 0, still the same error.

User avatar
dimesio
Moderator
Moderator
Posts: 12688
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine C++ Runtime Library Error

Post by dimesio » Fri Oct 26, 2018 9:46 pm

KindleForPC-installer-1.17.44183.exe installs fine here in Wine 3.18 and a clean wineprefix.

Post terminal output from running that installer.

grevans
Level 1
Level 1
Posts: 5
Joined: Thu Oct 25, 2018 2:35 pm

Re: Wine C++ Runtime Library Error

Post by grevans » Mon Oct 29, 2018 9:08 pm

Full output from running

Code: Select all

wine KindleForPC-installer-1.17.44183.exe

Code: Select all

➜  ~ 002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33e9a8 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33e978 1 C) semi-stub
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fde8 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fdb8 1 C) semi-stub
002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
[INFO][CMetricsManager] Reporting the following metric 181030:015703 : C SecureStorage:SecureStorage_RemoveFileFailure:002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f808 1 C) semi-stub

[INFO][CMetricsManager] Reporting the following metric 181030:015703 : C SecureStorage:SecureStorage_ReadFileFailure:
[INFO][CMetricsManager] Reporting the following metric 181030:015703 : C SecureStorage:SecureStorage_RemoveFileFailure:
[WARN][MazamaLog] QObject::startTimer: Timers can only be used with threads started with QThread
[ERROR][VersionInfo] Build version is not of the form major.minor.patch.revision
[INFO][CMetricsManager] Reporting the following metric 181030:015703 Mazama: I Application:MZMA_OpenAfterFirstTimeInstall:
002b:fixme:file:FindFirstFileExW flags not implemented 0x00000002
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fb38 1 C) semi-stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x7e104a0) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x50c7408) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x6a19140) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x6ae233c) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x616d908) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x3fc4c8) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x62198cc) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x6355afc) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x4a8e328c) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x51ba160) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x5083678) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x6625effc) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x620bdd2c) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x50618c4) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x610247f8) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x4f4b6f0) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x4f256c8) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x11d1ad40) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x3e17d8) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x3bdf48) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x640c8d60) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x4218c20) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x43262c4) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x65412688) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x41c099c) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x673d5d3c) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x4aa56ac4) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x3eca7a4) stub

grevans
Level 1
Level 1
Posts: 5
Joined: Thu Oct 25, 2018 2:35 pm

Re: Wine C++ Runtime Library Error

Post by grevans » Tue Oct 30, 2018 12:36 pm

Update on this: I uninstalled everything related to wine, reinstalled everything, created a new wineprefix, and it works just fine. My guess is that I made a mistake installing my 32-bit wineprefix before, but I don't know for sure. Thanks for your help.

Post Reply