https://bugs.winehq.org/show_bug.cgi?id=39015
Bug ID: 39015 Summary: Steam crashes shortly after login when DirectWrite is enabled Product: Wine Version: 1.7.48 Hardware: x86 URL: https://steamcdn-a.akamaihd.net/client/installer/Steam Setup.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 51968 --> https://bugs.winehq.org/attachment.cgi?id=51968 terminal output + backtrace
I don't know exactly what triggers the crash, it happens shortly (<1 min) after logging into my Steam account. Disabling dwrite.dll or starting Steam with '-no-dwrite' command line parameter makes the crash go away. The crash happens whether or not corefonts is installed. I have gameoverlayrenderer disabled otherwise this is in a clean prefix.
The minidump written by Steam always shows the same backtrace (see attached log).
wine-1.7.48-74-gb3fe96a Fedora 22 XOrg 1.17.2 XFCE 4.10
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Yes, I can see serious UI glitches, can't reproduce this particular crash though. Do you also see some glyphs moving down when you move mouse around? (applies to browser part and STORE/LIBRARY/COMMUNITY tabs)
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Yes, I can see serious UI glitches, can't reproduce this particular crash though. Do you also see some glyphs moving down when you move mouse around? (applies to browser part and STORE/LIBRARY/COMMUNITY tabs)
Yes, I noticed that myself too. Can I provide some logs for you to trace the crash problem?
https://bugs.winehq.org/show_bug.cgi?id=39015
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- I had this crash too, but I had some extra patches in wine while I was testing some game. So it could have been that the crash wasnt because of the extra patches. I also had the issue that some text is not correctly drawn or some glyphs move down.
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Béla Gyebrószki from comment #2)
(In reply to Nikolay Sivov from comment #1)
Yes, I can see serious UI glitches, can't reproduce this particular crash though. Do you also see some glyphs moving down when you move mouse around? (applies to browser part and STORE/LIBRARY/COMMUNITY tabs)
Yes, I noticed that myself too. Can I provide some logs for you to trace the crash problem?
No, I see what's wrong already, thanks. It's very likely that this accidental animation causes memory corruption at some point.
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 51977 --> https://bugs.winehq.org/attachment.cgi?id=51977 patch
Hi again, Bela.
Could you try this one? Works for me, note that some relatively minor font issues with 'C' and 'O' capitals in COMMUNITY for example are actually wine font issues, they are present in gdi mode but hidden a bit by working AA, and with native Tahoma it looks better.
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #5)
Created attachment 51977 [details] patch
Hi again, Bela.
Could you try this one? Works for me, note that some relatively minor font issues with 'C' and 'O' capitals in COMMUNITY for example are actually wine font issues, they are present in gdi mode but hidden a bit by working AA, and with native Tahoma it looks better.
Hi Nikolay,
I tried the patch and it indeed fixed the crash, thank you. I see some minor glitches with glyphs even with corefonts installed, e.g. capital 'W' looks incomplete in some places, or spacing between letters is uneven, but that's completely tolerable.
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Yes, glyphs are misplaced a bit in advance direction, because advance values calculation is a bit naive, I have a patch to improve that but need a bit more time; also with applied kerning adjustments it will get better too, that's also not implemented yet. 'W' being cutoff is a separate issue I believe, will look into that at some point. Thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=39015
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Should be fixed with http://source.winehq.org/git/wine.git/?a=commit;h=dc75b34ddf2cc5601676dabe40.... Please retest when you got time.
https://bugs.winehq.org/show_bug.cgi?id=39015
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |dc75b34ddf2cc5601676dabe40f | |64d76cd985145 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Fixed in wine-1.7.48-100-ge3c6777.
https://bugs.winehq.org/show_bug.cgi?id=39015
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.49.