[Bug 34864] Call of Duty: Ghosts needs psapi/kernel32 K32EnumProcessModulesEx

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 6 15:49:26 CST 2013


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
            Version|unspecified                 |1.7.5
            Summary|K32EnumProcessModulesEx not |Call of Duty: Ghosts needs
                   |implemented in 64-bit       |psapi/kernel32
                   |                            |K32EnumProcessModulesEx
     Ever Confirmed|0                           |1

--- Comment #1 from Anastasius Focht <focht at gmx.net> 2013-11-06 15:49:26 CST ---
Hello folks,

confirming.

--- snip ---
Unhandled exception: unimplemented function PSAPI.DLL.EnumProcessModulesEx
called in 64-bit code (0x00007fc4b78f115b).
Register dump:
 rip:00007fc4b78f115b rsp:000000000023f810 rbp:000000000023f8f0 eflags:00000202
(   - --  I   - - - )
 rax:000000000023f850 rbx:000000000023f940 rcx:000000000023f850
rdx:0000000140433cf0
 rsi:0000000140851488 rdi:00000001408514b4  r8:0000000000000000 
r9:000000000023fb80 r10:00000000fffffff8
 r11:00000030b8489366 r12:000000007bf00c50 r13:00007fff760afc50
r14:ffffffffffffffff r15:0000000000000001
...
Backtrace:
=>0 0x00007fc4b78f115b stub_entry_point+0x7c(dll="PSAPI.DLL",
name="EnumProcessModulesEx", ret_addr=0x140433cf0)
[/home/focht/projects/wine/wine-git/dlls/ntdll/loader.c:197] in ntdll
(0x000000000023f8f0)
  1 0x0000000140433cf0 in iw6sp64_ship (+0x433cef) (0x0000000140000000)
  2 0x00000001404351e9 in iw6sp64_ship (+0x4351e8) (0x0000000140000000)
  3 0x0000000140627a80 in iw6sp64_ship (+0x627a7f) (0x000000000023fd20)
...
0x00007fc4b78f115b stub_entry_point+0x7c
[/home/focht/projects/wine/wine-git/dlls/ntdll/loader.c:197] in ntdll: jmp   
0x00007fc4b78f114c stub_entry_point+0x6d
197        for (;;) RtlRaiseException( &rec );
Modules:
Module    Address                    Debug info    Name (77 modules)
PE              400000-          41e000    Deferred        xinput1_3
PE            3b400000-        3b421000    Deferred        steam_api64
ELF            7b800000-        7bc82000    Dwarf           kernel32<elf>
  \-PE            7b820000-        7bc82000    \               kernel32
ELF            7be00000-        7c103000    Dwarf           <wine-loader>
PE           140000000-       146d4f000    Export          iw6sp64_ship
PE           180000000-       18008d000    Deferred        bink2w64
...
00000002c (D) C:\Program Files (x86)\Call of Duty Ghosts\iw6sp64_ship.exe
    0000002d    0 <==
System information:
    Wine build: wine-1.7.5-336-gb43b7b6
    Platform: x86_64
    Host system: Linux
    Host version: 3.11.6-200.fc19.x86_64
--- snip ---

--- quote ---
Call of Duty Ghosts uses 'PE32+' EXE to start up in 32-bit, but ultimately
requires a 64-bit set up to run.
--- quote ---

PE32+ _is_ Portable Executable 64-bit format.

There are only a few Steam Client libraries shipped as 32-bit PE for whatever
reasons.

-- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Call of Duty Ghosts

$ file *.{dll,exe}
bink2w64.dll:          PE32+ executable (DLL) (GUI) x86-64, for MS Windows
ControllerManager.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
d3dcompiler_46.dll:    PE32+ executable (DLL) (console) x86-64, for MS Windows
nvToolsExt64_1.dll:    PE32+ executable (DLL) (GUI) x86-64, for MS Windows
steam_api64.dll:       PE32+ executable (DLL) (GUI) x86-64, for MS Windows
steam_api.dll:         PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
SteamAPIUpdater.dll:   PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
steamclient.dll:       PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
Steam.dll:             PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
tier0_s.dll:           PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
UpdateDLLWrapper.dll:  PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
vstdlib_s.dll:         PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
XGamepad.dll:          PE32+ executable (DLL) (GUI) x86-64, for MS Windows
iw6sp64_ship.exe:      PE32+ executable (GUI) x86-64, for MS Windows
unins000.exe:          PE32 executable (GUI) Intel 80386, for MS Windows
-- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682633%28v=vs.85%29.aspx

--- quote ---
This function is intended primarily for 64-bit applications. If the function is
called by a 32-bit application running under WOW64, the dwFilterFlag option is
ignored and the function provides the same results as the EnumProcessModules
function.
--- quote ---

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