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@winehq.org ReportedBy: hzhrong@gmail.com CC: dmitry@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@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
http://bugs.winehq.org/show_bug.cgi?id=15692
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=15692
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal OS/Version|All |other Priority|P1 |P2 Platform|All |Other
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-20 20:36:57 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=15692
Carlton Hobbs carlton.hobbs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com, | |carlton.hobbs@gmail.com
--- Comment #2 from Carlton Hobbs carlton.hobbs@gmail.com 2008-10-20 23:33:10 --- Thanks for the clarification. Got the problem here --- 34b37fe2411d83f1a6f3e11a7a1e4d28bd9b36ba is first bad commit commit 34b37fe2411d83f1a6f3e11a7a1e4d28bd9b36ba Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Aug 5 14:24:10 2008 -0500
d3d: Remove IWineD3DDevice::SetHwnd.
:040000 040000 70726cbb30d4e915779d7f0897cd44227f549e3e afda0b9ddba310280afcbe82a78ae4e2212f1801 M dlls :040000 040000 405e4687c093ec5c082507ce0195a7958799b4bf fc8ba10a277dc8b364967673fb81eb08f0844897 M include
http://bugs.winehq.org/show_bug.cgi?id=15692
--- Comment #3 from Carlton Hobbs carlton.hobbs@gmail.com 2008-10-20 23:35:17 --- (In reply to comment #2)
Thanks for the clarification. Got the problem here
34b37fe2411d83f1a6f3e11a7a1e4d28bd9b36ba is first bad commit commit 34b37fe2411d83f1a6f3e11a7a1e4d28bd9b36ba Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Aug 5 14:24:10 2008 -0500
d3d: Remove IWineD3DDevice::SetHwnd.
:040000 040000 70726cbb30d4e915779d7f0897cd44227f549e3e afda0b9ddba310280afcbe82a78ae4e2212f1801 M dlls :040000 040000 405e4687c093ec5c082507ce0195a7958799b4bf fc8ba10a277dc8b364967673fb81eb08f0844897 M include
Sorry, somehow I switched bugs just as I posted this...not related.
http://bugs.winehq.org/show_bug.cgi?id=15692
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|carlton.hobbs@gmail.com | Severity|normal |major Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Lei Zhang thestig@google.com 2008-10-23 17:54:34 --- Confirming. Raising priority because it does affect a wide range of applications.
How I encountered the bug: link ukai.ttc to tahoma, start regedit with zh_CN.UTF-8.
http://bugs.winehq.org/show_bug.cgi?id=15692
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|stefan@codeweavers.com |
http://bugs.winehq.org/show_bug.cgi?id=15692
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-27 03:01:29 --- The following patch should fix the regression: http://www.winehq.org/pipermail/wine-patches/2008-October/063813.html
http://bugs.winehq.org/show_bug.cgi?id=15692
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-27 08:04:56 --- The patch has been committed.
http://bugs.winehq.org/show_bug.cgi?id=15692
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-11-07 10:47:06 --- Closing bugs fixed in 1.1.8.