https://bugs.winehq.org/show_bug.cgi?id=50486
Bug ID: 50486 Summary: The Sims 3 launcher hangs Product: Wine Version: 6.0-rc5 Hardware: x86-64 OS: Linux Status: NEW Keywords: patch Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Distribution: ---
Created attachment 69130 --> https://bugs.winehq.org/attachment.cgi?id=69130 gdi32: Do not compare face file names in insert_face_in_family_list() if either is NULL.
When run from steam (win32 version; needs workarounds for bugs 32342 and 44985). The terminal shows a thread deadlocked on font_cs. Actually this is a crash in disguise—one thread passes NULL to msvcrt wcsicmp, which raises an exception, which is caught by the program but leaves font_cs acquired.
The attached patch fixes it.
I haven't checked whether this is a regression. It's not obvious to me why it would be, but on the other hand I've seen bug reports for The Sims 3 that would preclude this bug...