[Bug 30001] New: iw4mp (Call of Duty MW2 mod) loader crashes due to iphlpapi.dll GetAdaptersAddresses not hotpatchable (DECLSPEC_HOTPATCH missing)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 25 04:39:52 CST 2012


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

             Bug #: 30001
           Summary: iw4mp (Call of Duty MW2 mod) loader crashes due to
                    iphlpapi.dll GetAdaptersAddresses not hotpatchable
                    (DECLSPEC_HOTPATCH missing)
           Product: Wine
           Version: 1.4-rc5
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: iphlpapi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

--- snip ---
Unhandled Exception: System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.
   at Sys_RunInit()
wine: Unhandled page fault on write access to 0x7e7fc17b at address 0x9ac6ec0
(thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x7e7fc17b in 32-bit code
(0x09ac6ec0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:09ac6ec0 ESP:0032fde4 EBP:0032fe1c EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000010 EBX:07214000 ECX:b98b42a0 EDX:ffffffff
 ESI:7e7fc173 EDI:0032fde8
...
Backtrace:
=>0 0x09ac6ec0 (0x0032fe1c)
  1 0x074381c1 (0x0032fe34)
  2 0x200027b9 in iw4m1 (+0x27b8) (0x0032fe40)
  3 0x7b85ea3c call_process_entry+0xb() in kernel32 (0x0032fe58)
  4 0x7b85eb82 start_process+0x143(peb=0x7ffdf000)
[/home/focht/projects/wine/wine-git/dlls/kernel32/process.c:1083] in kernel32
(0x0032fea8) 
--- snip ---

The reason is iphlpapi.dll GetAdaptersAddresses API has no hotpatch entry.

Source:
http://source.winehq.org/git/wine.git/blob/ce2e7cdc9e2f6e77d6d9a11fafacba1b258da4b9:/dlls/iphlpapi/iphlpapi_main.c#l1035

With that bug fixed, the loader runs further and finally complains about
missing "Modern Warfare 2" files so I can't test further.

Regards

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