https://bugs.winehq.org/show_bug.cgi?id=56009
Bug ID: 56009 Summary: Updating a wine prefix sometimes fails with X errors echoed in console. Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hibbsncc1701@gmail.com Distribution: ---
The current wine-9.0 RC can sometimes fail to update a wine prefix. Generating X11 errors in the console, and aborting the prefix update process. The underlying problem seems to be a race condition, as it doesn't occur on every prefix update, and it seems to happen at different points in the update process when it does. It also seems more likely to occur when wine is emulating a virtual desktop. But I don't have hard numbers to confirm this.
Depending on when this bug happens in the prefix update running wineboot -u might fix it, but there is a small chance that the prefix will be corrupted beyond wine's ability to fix. Necessitating the creation of a new prefix.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #1 from Patrick Hibbs hibbsncc1701@gmail.com --- Created attachment 75630 --> https://bugs.winehq.org/attachment.cgi?id=75630 Example of console errors.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #2 from Austin English austinenglish@gmail.com ---
wine: Call from 7B6D2617 to unimplemented function ole32.dll.CoTaskMemAlloc, aborting
Are you using native OLE?
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #3 from Patrick Hibbs hibbsncc1701@gmail.com --- (In reply to Austin English from comment #2)
wine: Call from 7B6D2617 to unimplemented function ole32.dll.CoTaskMemAlloc, aborting
Are you using native OLE?
No, it's using wine's builtin OLE. To be more specific, there are no dll overrides in that prefix.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #4 from Patrick Hibbs hibbsncc1701@gmail.com --- Created attachment 75646 --> https://bugs.winehq.org/attachment.cgi?id=75646 Console log of an example of attempt to load a "broken" prefix.
Attaching a console log of an attempt to boot a prefix broken after the bug has occurred.
Note, that the prefix still has builtin dlls / exes from the older wine version still present.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #5 from Patrick Hibbs hibbsncc1701@gmail.com --- Created attachment 75647 --> https://bugs.winehq.org/attachment.cgi?id=75647 Debug log of same boot attempt with WINEDEBUG="+loaddll,+module"
This log is of the same example prefix failing to boot winecfg. (Same as attachment 75646.)
The command used here was: WINEDEBUG="+loaddll,+module" WINEPREFIX=/local_data/WindowsFS/User_Prefixes/codebase/.wine_koi-koi_japan winecfg &> ~/Desktop/failed_prefix_update_debug_loaddll_module.txt
https://bugs.winehq.org/show_bug.cgi?id=56009
Nathan Bennett version2013@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |version2013@protonmail.com
--- Comment #6 from Nathan Bennett version2013@protonmail.com --- Attempting to compile 9.0-rc1 It fails with similar errors.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #7 from Nathan Bennett version2013@protonmail.com --- Qualifying my previous post. Compiling finishes successfully. Attempting to launch a game and I get similar errors. It appears to stall at "starting debugger..."
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #8 from Nathan Bennett version2013@protonmail.com --- I can confirm that the errors do not appear at every prefix update.
The game I tried running days ago, I tried again today with 9.0-rc1 and 9.0-rc2
A few times launching the game I got several "X Error" messages but game still ran. Other times those errors failed to appear and game ran fine.
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #9 from Patrick Hibbs hibbsncc1701@gmail.com --- Created attachment 75887 --> https://bugs.winehq.org/attachment.cgi?id=75887 console log wine9.0-rc5
Still present in wine9.0-rc5.
Testing this some more, this seems to happen more often when the system is under load. Specifically, when the filesystem the wine prefix is stored on is experiencing high use.
This also seems to line up with an older laptop (spinning rust HDD) I have, where this bug happens far more often. (But still not reliably enough to perform a bisect.....)
https://bugs.winehq.org/show_bug.cgi?id=56009
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=56009
--- Comment #10 from Patrick Hibbs hibbsncc1701@gmail.com --- Created attachment 76413 --> https://bugs.winehq.org/attachment.cgi?id=76413 wine-9.8 console log for the spinning rust laptop.
Still present in wine-9.8.
No change in behavior on my main system.
On the spinning rust laptop we're now getting gpu errors prior to the crash in some prefixes.
Updated console log for the spinning rust laptop attached.