[Bug 12439] New: Regression: Age of Mythology: Installer page faults

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 8 11:31:58 CDT 2008


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

           Summary: Regression: Age of Mythology: Installer page faults
           Product: Wine
           Version: 0.9.58.
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: spencercw at googlemail.com
                CC: aric at codeweavers.com


The Age of Mythology installer page faults on startup from this regression:

dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f is first bad commit
commit dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f
Author: Aric Stewart <aric at codeweavers.com>
Date:   Wed Apr 2 08:48:22 2008 -0500

    imm32: Keep track of context associations between HWND and HIMC.

:040000 040000 5fa8a5f30dd144a8125c5216055517ee1b8bcca5
06afebe61003c92cf2fba84e53c1bf5819fe92b3 M      dlls

Specifically, this fixes it:

diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 0995fb6..0712d66 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -356,6 +356,9 @@ HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC)

     TRACE("(%p, %p):\n", hWnd, hIMC);

+    if (!hIMC)
+        return NULL;
+
     if (!IMM_GetThreadData()->defaultContext)
         IMM_GetThreadData()->defaultContext = ImmCreateContext();


-- 
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