[Bug 5514] New: Drawing all text hangs while searching for X fonts in CJK locale

Wine Bugs wine-bugs at winehq.org
Sat Jun 24 00:03:30 CDT 2006


           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 at winehq.org
        ReportedBy: trisk+winehq at 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:

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 
* Each time the response takes longer, reaching a ceiling of 0.9s

The matching fonts I have installed are the normal misc-fixed fonts: 

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list