[Bug 46144] Windows PowerShell Core 6.1 for ARM64 crashes on unimplemented function KERNEL32.dll.RtlPcToFileHeader

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 16 04:58:24 CST 2018


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

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello André,

yes, it can locate the base address of the PE from the PC now. Thanks

--- snip ---
$ WINEDEBUG=+seh,+loaddll,+process,+relay,+ntdll wine64 ./pwsh.exe >>log.txt
2>&1
...
002b:Ret  PE DLL (proc=0x7fb249cedc,module=0x7fb2480000
L"api-ms-win-crt-filesystem-l1-1-",reason=PROCESS_ATTACH,res=(nil)) retval=1
002b:Call PE DLL (proc=0x180035f60,module=0x180000000
L"hostfxr.dll",reason=PROCESS_ATTACH,res=(nil))
...
002b:Call ntdll.RtlPcToFileHeader(180051d38,002aecf8) ret=180033ffc
002b:Ret  ntdll.RtlPcToFileHeader() retval=180000000 ret=180033ffc
...
002b:Call KERNEL32.LoadLibraryExW(002c48e0
L"Z:\\home\\focht\\projects\\woa-winrt\\powershell611-arm64\\hostpolicy.dll",00000000,00001100)
ret=180031084
...
002b:Call KERNEL32.GetProcAddress(180000000,1400150a8
"hostfxr_main_startupinfo") ret=14000c53c
002b:Ret  KERNEL32.GetProcAddress() retval=180020050 ret=14000c53c 
...
002b:Call KERNEL32.GetEnvironmentVariableW(18003a9f8
L"COREHOST_TRACE",00000000,00000000) ret=180030e7c
002b:Ret  KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=180030e7c 
...
002b:trace:loaddll:load_native_dll Loaded
L"Z:\\home\\focht\\projects\\woa-winrt\\powershell611-arm64\\hostpolicy.dll" at
0x3d0000: native
002b:Call PE DLL (proc=0x408380,module=0x3d0000
L"hostpolicy.dll",reason=PROCESS_ATTACH,res=(nil)) 
...
002b:Call ntdll.RtlPcToFileHeader(0044cfb0,002adf58) ret=00405424
002b:Ret  ntdll.RtlPcToFileHeader() retval=003d0000 ret=00405424
...
002b:Call KERNEL32.GetProcAddress(003d0000,18003edd0 "corehost_load")
ret=180030c7c
002b:Ret  KERNEL32.GetProcAddress() retval=003f1bc0 ret=180030c7c
002b:Call KERNEL32.GetProcAddress(003d0000,18003ede0 "corehost_unload")
ret=180030c7c
002b:Ret  KERNEL32.GetProcAddress() retval=003da1f0 ret=180030c7c
002b:Call KERNEL32.GetProcAddress(003d0000,18003edf0 "corehost_main")
ret=180030c7c
002b:Ret  KERNEL32.GetProcAddress() retval=003f1c90 ret=180030c7c
...
002b:Call KERNEL32.GetEnvironmentVariableW(0042e198
L"COREHOST_TRACE",00000000,00000000) ret=00401e4c
002b:Ret  KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=00401e4c
...
002b:Ret  PE DLL (proc=0x408380,module=0x3d0000
L"hostpolicy.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
002b:Ret  KERNEL32.LoadLibraryExW() retval=003d0000 ret=180031084 
--- snip ---

$ wine64 --version
wine-3.20-116-g7628b7b40d

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