https://bugs.winehq.org/show_bug.cgi?id=43715
Bug ID: 43715 Summary: winecfg crashes on startup with freetype 2.8.1 Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: kinodont@gmail.com Distribution: ---
Created attachment 59194 --> https://bugs.winehq.org/attachment.cgi?id=59194 WINEDEBUG=+seh,+font winecfg
Distribution: Arch Linux freetype2 2.8.1-1 wine 2.17-1
Steps to reproduce: 1. have a clean 64-bit Wine prefix 2. $ winecfg 3. message similar to these appear: wine: Unhandled page fault on read access to 0x00000008 at address 0x7f31d2449c0f (thread 0030), starting debugger... winedbg: Internal crash at 0x7f8bb1159c0f
winecfg starts normally with freetype 2.8 (the previous version). Reverting freetype2 commit https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=79e3789f... also fixes the issue.
I suspect the crash is happening here: https://source.winehq.org/git/wine.git/blob/bb16263fe1974851f495435fef9a3d57... (I put a few new TRACEs around that conditional statement).
Obviously, this could be a FreeType issue, but the commit message and the documentation at https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT... seem to indicate that this behavior is intentional, so I am putting the bug here.