http://bugs.winehq.org/show_bug.cgi?id=5514
Summary: Drawing all text hangs while searching for X fonts in CJK locale Product: Wine Version: CVS Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: trisk+winehq@acm.jhu.edu
When I run any programs (e.g. winecfg) in a CJK locale (e.g. ja_JP), there will be a 15-20 second hang delay drawing any widgets containing text (e.g. switching tabs in winecfg). During this time, X uses 100% CPU. As you can imagine, this makes programs fairly difficult to use. I can reproduce the problem in wine 0.9.14 to post 0.9.16 CVS (have not tested in earlier).
I'm testing with: LANG=ja_JP winecfg
The backtrace from when the hang occurs is not really helpful, it seems to indicate it's in a syscall:
=>1 0xffffe410 (0xffffe410) 2 0x7c08d108 (0x7c08d108)
Tracing execution (starting with an idle winecfg dialog, then clicking on a tab) shows something interesting: http://channels.debian.net/paste/2886
Wine is querying X for fonts: * Starting with "*-ISO8859-1", returns "8-misc-fixed-bold-r-normal--13-1" 3 times, then stops. * Then it looks for "*-JISX0208.1983-0", then "*-*-JISX0208.1983-0", "*-*-*-JISX0208.1983-0", and so on even up to ""*-*-*-*-*-*-*-*-*-*-JISX0208.1983-0". * Each time the response takes longer, reaching a ceiling of 0.9s
The matching fonts I have installed are the normal misc-fixed fonts: -misc-fixed-medium-r-normal--0-0-75-75-c-0-jisx0208.1983-0 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0