https://bugs.winehq.org/show_bug.cgi?id=46144 Bug ID: 46144 Summary: Windows PowerShell Core 6.1 for ARM64 crashes on unimplemented function KERNEL32.dll.RtlPcToFileHeader Product: Wine Version: 3.20 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Distribution: --- Hello folks, as it says. --- snip --- $ WINEDEBUG=+seh,+loaddll,+process wine64 ./pwsh.exe ... 0009:trace:loaddll:load_native_dll Loaded L"Z:\\home\\focht\\projects\\woa-winrt\\powershell611-arm64\\pwsh.exe" at 0x140000000: native 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-runtime-l1-1-0.dll" at 0x7f98f00000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 0x7f98d00000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-math-l1-1-0.dll" at 0x7f98cb0000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-heap-l1-1-0.dll" at 0x7f98c90000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-stdio-l1-1-0.dll" at 0x7f98c70000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-string-l1-1-0.dll" at 0x7f98c40000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-locale-l1-1-0.dll" at 0x7f98c20000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-convert-l1-1-0.dll" at 0x7f98c00000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f98b70000: builtin 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-multibyte-l1-1-0.dll" at 0x7f98b40000: builtin 0009:trace:process:NtQueryInformationProcess (0xffffffffffffffff,0x00000007,0x2afa70,0x00000008,(nil)) 0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1400014e0, 0x14001d4a0, 0x14001d4c0) stub. 0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x140018a08, 43) stub 0009:fixme:msvcrt:_configure_wide_argv (1) stub 0009:fixme:msvcrt:_initialize_wide_environment stub 0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\api-ms-win-crt-filesystem-l1-1-0.dll" at 0x7f98aa0000: builtin 0009:trace:loaddll:load_native_dll Loaded L"Z:\\home\\focht\\projects\\woa-winrt\\powershell611-arm64\\hostfxr.dll" at 0x180000000: native 0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1800014e0, 0x180054130, 0x180054150) stub. 0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x180047828, 43) stub 0009:trace:seh:raise_exception info[0]=00000001800527f0 0009:trace:seh:raise_exception info[1]=0000000180052bd6 wine: Call from 0x7bcb1a44 to unimplemented function KERNEL32.dll.RtlPcToFileHeader, aborting 0009:trace:seh:call_stack_handlers calling handler at 0x7bcd5d68 code=80000100 flags=1 0009:fixme:seh:RtlUnwind Not implemented on ARM64 0009:trace:loaddll:free_modref Unloaded module L"Z:\\home\\focht\\projects\\woa-winrt\\powershell611-arm64\\hostfxr.dll" : native 0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\api-ms-win-crt-filesystem-l1-1-0.dll" : builtin 0009:fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000100 ... --- snip --- Wine source: https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/kernel32.spe... --- snip --- 1297 @ stdcall -arch=x86_64,arm RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader --- snip --- $ sha1sum PowerShell-6.1.1-win-arm64.zip dce4e345dafa80cff955b32c10a4ab13ba732705 PowerShell-6.1.1-win-arm64.zip $ du -sh PowerShell-6.1.1-win-arm64.zip 40M PowerShell-6.1.1-win-arm64.zip $ wine64 --version wine-3.20-75-gb7cf409169 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.