[Bug 38432] Xeon 1.0 (Xbox emulator) fails to load ( PE image prelinked into DOS reserved area and default process heap range, no relocation possible)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 7 03:42:58 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=38432

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
          Component|-unknown                    |ntdll
      Fixed by SHA1|                            |a27f187503f55de4b0c703bdb2d
                   |                            |24dd07cd63cc1
           See Also|https://bugs.winehq.org/sho |
                   |w_bug.cgi?id=17277          |

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this was fixed by
https://source.winehq.org/git/wine.git/commitdiff/a27f187503f55de4b0c703bdb2d24dd07cd63cc1

Thanks Alexandre

--- snip ---
$ pwd
/home/focht/Downloads/xeon10

$ file *
Halo.ini:         ASCII text, with CRLF line terminators
Readme.txt:       ASCII text, with CRLF line terminators
XeonCore.dll:     PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
Xeon.exe:         PE32 executable (GUI) Intel 80386, for MS Windows
XeonGUI.dll:      PE32 executable (DLL) (GUI) Intel 80386 (stripped to external
PDB), for MS Windows
Xeon.ini:         ASCII text, with CRLF line terminators
XeonInput.dll:    PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
XeonInputGUI.dll: PE32 executable (DLL) (GUI) Intel 80386 (stripped to external
PDB), for MS Windows

$ WINEDEBUG=+seh,+relay,+module wine ./Xeon.exe >>log.txt 2>&1
...
0032:trace:module:load_native_dll Trying native dll
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe"
0032:trace:module:map_image mapped PE file at 0x240000-0x70e000
0032:trace:module:map_image mapping section .text at 0x241000 off 1000 size
4c9000 virt 4c8748 flags 60000020
0032:trace:module:map_image mapping section newcode at 0x70a000 off 4ca000 size
1000 virt 48 flags 60000020
0032:trace:module:map_image mapping section .rdata at 0x70b000 off 4cb000 size
2000 virt 11e6 flags 40000040
0032:trace:module:map_image mapping section .data at 0x70d000 off 4cd000 size
1000 virt 838 flags c0000040
0032:warn:module:perform_relocations Need to relocate module from 0x10000 to
0x240000, but there are no relocation records
0032:warn:module:load_dll Failed to load module
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe"; status=c0000018
...
0034:trace:module:get_load_order looking for
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe"
0034:trace:module:get_load_order got main exe default n,b for
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe"
0034:trace:module:load_native_dll Trying native dll
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe"
0034:trace:module:map_image mapped PE file at 0x10000-0x4de000
0034:trace:module:map_image mapping section .text at 0x11000 off 1000 size
4c9000 virt 4c8748 flags 60000020
0034:trace:module:map_image mapping section newcode at 0x4da000 off 4ca000 size
1000 virt 48 flags 60000020
0034:trace:module:map_image mapping section .rdata at 0x4db000 off 4cb000 size
2000 virt 11e6 flags 40000040
0034:trace:module:map_image mapping section .data at 0x4dd000 off 4cd000 size
1000 virt 838 flags c0000040
0034:warn:module:alloc_module disabling no-exec because of L"Xeon.exe"
0034:trace:module:set_security_cookie initializing security cookie 0x4dd170
0034:trace:module:load_dll Loaded module
L"Z:\\home\\focht\\Downloads\\xeon10\\Xeon.exe" (native) at 0x10000
...
--- snip ---

--- snip ---
$ info share
Module    Address            Debug info    Name (100 modules)
PE       10000-  4de000    Export          xeon
PE      820000-  8d5000    Export          xeongui
ELF    7b400000-7b7f4000    Dwarf           kernel32<elf>
  \-PE    7b420000-7b7f4000    \               kernel32
ELF    7bc00000-7bd10000    Dwarf           ntdll<elf>
  \-PE    7bc30000-7bd10000    \               ntdll
ELF    7c000000-7c004000    Deferred        <wine-loader>
...
--- snip ---

$ wine-3.15-66-gc5bb108484

Regards

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