[Bug 15692] New: Apps crash with FontLink settings since Wine 1.1.6

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 20 11:57:15 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15692

           Summary: Apps crash with FontLink settings since Wine 1.1.6
           Product: Wine
           Version: 1.1.6
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hzhrong at gmail.com
                CC: dmitry at codeweavers.com


Created an attachment (id=16757)
 --> (http://bugs.winehq.org/attachment.cgi?id=16757)
backtrace

Steps:
1. Setup the following FontLink registry:

[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontLink\\SystemLink]
1208451304
"MS Sans Serif"=str(7):"simsun.ttc,SimSun\0gulim.ttc,Gulim\0msgothic.ttc,MS UI
Gothic\0mingliu.ttc,PMingLiU\0"
"Tahoma"=str(7):"simsun.ttc,SimSun\0gulim.ttc,Gulim\0msgothic.ttc,MS UI
Gothic\0mingliu.ttc,PMingLiU\0"

Ensure you have these fonts: simsun.ttc, gulim.ttc, etc. or change the values
with proper font name. This gets the CJK fonts display properly.

2. Run winecfg, change Menu Text font to Tahoma 8:

3. Run notepad on zh_CN.UTF-8:
$ LANG=zh_CN.UTF-8 ./wine programs/notepad/notepad.exe.so
wine: Unhandled page fault on read access to 0x0016885c at address 0x7e493aca
(thread 0009), starting debugger...
WineDbg starting on pid 0008
Unhandled exception: page fault on read access to 0x0016885c in 32-bit code
(0x7e493aca).

See attached bt.txt.


A regression testing shows the following commit:

$ git bisect bad
f898547b77a091132aefa1967887f5e640819bd4 is first bad commit
commit f898547b77a091132aefa1967887f5e640819bd4
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Thu Oct 9 10:23:46 2008 +0900

    gdi32: Remove the code which bypasses the DC transformation checks.

    If it's absolutely required to check the child list first, that should be
    done inside of find_in_cache using the same comparisons as done there.

:040000 040000 f6d197d72781f0a4a0779de50f53830c51a2fece
e5d6801025e9abc050184265743782b9ffc1522b M      dlls


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list