[Bug 30000] iw4mp (Call of Duty MW2 mod) loader crashes because some kernel32.dll API entries are not hotpatchable (DECLSPEC_HOTPATCH missing)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 25 03:59:58 CST 2012


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|iw4mp (Call of Duty MW2     |iw4mp (Call of Duty MW2
                   |mod) loader crashes because |mod) loader crashes because
                   |some API entries are not    |some kernel32.dll API
                   |hotpatchable                |entries are not
                   |(DECLSPEC_HOTPATCH)         |hotpatchable
                   |                            |(DECLSPEC_HOTPATCH missing)

--- Comment #2 from Anastasius Focht <focht at gmx.net> 2012-02-25 03:59:58 CST ---
Hello,

kernel32.dll GetModuleHandleA source:
http://source.winehq.org/git/wine.git/blob/8e67930bd7a1db8438cca50e8bd9269d80887c84:/dlls/kernel32/module.c#l561

Another one "Sleep":

--- 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()
Unhandled exception: privileged instruction in 32-bit code (0x7b870108).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b870108 ESP:0b49e944 EBP:0b49e944 EFLAGS:00010202(  R- --  I   - - - )
 EAX:7b870108 EBX:7bcbf544 ECX:7c6a290d EDX:ffffffff
 ESI:00000000 EDI:003d0f00
...
Backtrace:
=>0 0x7b870108 Sleep+0x5(timeout=0x4e20)
[/home/focht/projects/wine/wine-git/dlls/kernel32/sync.c:96] in kernel32
(0x0b49e944)
  1 0x200016b6 in iw4m1 (+0x16b5) (0x0b49ea18)
  2 0x7bc7af40 call_thread_func_wrapper+0xb() in ntdll (0x0b49ea28)
  3 0x7bc7af89 call_thread_func+0x3e(entry=0x20001630, arg=0x0(nil),
frame=0xb49eb28)
[/home/focht/projects/wine/wine-git/dlls/ntdll/signal_i386.c:2532] in ntdll
(0x0b49eb08)
...
--- snip ---

kernel32.dll Sleep source:
http://source.winehq.org/git/wine.git/blob/d5642a47ed6a80537011d15e4a987c8b982c3787:/dlls/kernel32/sync.c#l95

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