https://bugs.winehq.org/show_bug.cgi?id=50178
Bug ID: 50178 Summary: Commit df2b13fa breaks TIM 3.0.0 Product: Wine Version: 5.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: chirs241097@gmail.com Distribution: ---
Link to the installer: http://dldir1.qq.com/qqfile/qq/TIM3.0.0/TIM3.0.0.21315.exe
Run the installer with LC_ALL=zh_CN.UTF-8 (click the big blue button all the way through). Then run ~/.wine/drive_c/Program\ Files/Tencent/TIM/Bin/TIM.exe (also with LC_ALL=zh_CN.UTF-8).
If everything is correct, the application would not crash.
Bisecting traces the first bad commit to df2b13fa77172953fed6e15c65fd6380b2d2f0d3: "msvcrt: Increment refcounts for all locale data in _get_current_locale()." Reverting this commit (plus several other commits to locale.c, aa889178 and 216b9cb0) manually does fix the issue.
A clean 32-bit wine prefix is used during the bisection.