https://bugs.winehq.org/show_bug.cgi?id=46155
Bug ID: 46155 Summary: Windows PowerShell Core 6.1 for ARM64 crashes on unimplemented function KERNEL32.dll.RaiseFailFastException Product: Wine Version: 3.20 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 46144
--- snip --- $ WINEDEBUG=+seh,+loaddll,+process,+relay,+ntdll wine64 ./pwsh.exe >>log.txt 2>&1 ... 002b:err:eventlog:ReportEventW L"Application: pwsh.exe\nCoreCLR Version: 4.6.26919.2\nDescription: The process was terminated due to an internal error in the .NET Runtime at IP 000000000083FC2C (0000000000570000) with exit code 80131506.\n" ... 002b:trace:seh:raise_exception info[0]=0000000000a63cfc 002b:trace:seh:raise_exception info[1]=0000000000a63896 wine: Call from 0x7bcd0224 to unimplemented function KERNEL32.dll.RaiseFailFastException, aborting 002b:trace:seh:call_vectored_handlers calling handler at 0x5e4550 code=80000100 flags=1 002b:Call KERNEL32.GetLastError() ret=005e458c 002b:Ret KERNEL32.GetLastError() retval=00000000 ret=005e458c 002b:trace:seh:call_vectored_handlers handler at 0x5e4550 returned 0 002b:trace:seh:call_stack_handlers calling handler at 0x7b4d6494 code=80000100 flags=1 002b:Call KERNEL32.VirtualQuery(00131000,002ab510,00000030) ret=005b721c 002b:Ret KERNEL32.VirtualQuery() retval=00000030 ret=005b721c 002b:Call KERNEL32.IsDebuggerPresent() ret=005e0498 002b:Ret KERNEL32.IsDebuggerPresent() retval=00000000 ret=005e0498 002b:Call KERNEL32.IsDebuggerPresent() ret=007665f4 002b:Ret KERNEL32.IsDebuggerPresent() retval=00000000 ret=007665f4 wine: Unimplemented function KERNEL32.dll.RaiseFailFastException called at address 0x7bcd0224 (thread 002b), starting debugger... ... Unhandled exception: unimplemented function KERNEL32.dll.RaiseFailFastException called in 64-bit code (0x000000007bcd0224). Register dump: ARM64 EL0t Mode Pc:000000007bcd0224 Sp:00000000002ab8f0 Lr:000000007bcd2530 Cpsr:80000000(N---) x0: 00000000002ab918 x1: 00000000002abcf0 x2: 0000000000000001 x3: 0000000000000000 x4: 000000007bd43e1d x5: 000000007bd43de0 x6: 0000007fb2cb8f10 x7: 0000000000000002 x8: 00000000002ab918 x9: 00000000002ab918 x10:0000000000000002 x11:00000000002abcf0 x12:00000000002abcd0 x13:0000000000000001 x14:ffffffffffffffc3 x15:00000000005945b0 ip0:000000007bc9204c ip1:0000007fb2d4fdc0 x18:000000007ffd8000 x19:0000000000922590 x20:0000000000a6a280 x21:00000000002ad480 x22:0000000000074510 x23:0000000000000000 x24:000000000006e670 x25:0000000000000001 x26:0000000000000000 x27:0000000000947000 x28:00000000002abe60 Fp:00000000002abcc0 ... Backtrace: =>0 0x000000007bcd0224 RtlCaptureContext+0xa4() in ntdll (0x00000000002abcc0) 1 0x000000007bcd2530 RtlRaiseException+0x33(rec=0x2abcd0) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:995] in ntdll (0x00000000002abcc0) 2 0x000000007bcd2530 RtlRaiseException+0x33(rec=0x5e05fc) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:995] in ntdll (0x00000000002abd80) 3 0x000000007bc920b8 stub_entry_point+0x6b(dll="", name="ðÍ*", ret_addr=0xa63cfc) [/home/focht/projects/wine/mainline-src/dlls/ntdll/loader.c:231] in ntdll (0x00000000002abd90) 4 0x00000000005e05fc in coreclr (+0x705fb) (0x00000000002acdf0) 5 0x000000000065dfe0 in coreclr (+0xedfdf) (0x00000000002acdf0) 0x000000007bcd0224 RtlCaptureContext+0xa4 in ntdll: be_arm64_disasm_one_insn: not done
Modules: Module Address Debug info Name (63 modules) PE 3d0000- 45d000 Deferred hostpolicy PE 570000- ac8000 Export coreclr ELF 7b400000- 7b826000 Deferred kernel32<elf> -PE 7b420000- 7b826000 \ kernel32 ELF 7bc00000- 7bd45000 Dwarf ntdll<elf> -PE 7bc20000- 7bd45000 \ ntdll ELF 7c000000- 7c004000 Deferred <wine-loader> PE 140000000- 140042000 Deferred pwsh PE 180000000- 18005d000 Deferred hostfxr ... ELF 7fb3036000- 7fb3068000 Deferred ld-linux-aarch64.so.1 ELF 7fb3069000- 7fb306a000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) ... 0000002a (D) Z:\home\focht\projects\woa-winrt\powershell611-arm64\pwsh.exe 0000002c 0 0000002b 0 <== System information: Wine build: wine-3.20-116-g7628b7b40d Platform: arm64 Version: Windows 7 Host system: Linux Host version: 4.18.14-yocto-standard --- snip ---
MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd941688(v=vs.85).a...
There is an underlying reason for ARM64 CLR raising FailFast(), but that's not the scope of this bug.
Regards