[Bug 50540] New: Windows PowerShell Core 6.2 Preview 2 for ARM32 crashes on unimplemented function KERNEL32.dll.RtlVirtualUnwind

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 21 16:58:10 CST 2021


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

            Bug ID: 50540
           Summary: Windows PowerShell Core 6.2 Preview 2 for ARM32
                    crashes on unimplemented function
                    KERNEL32.dll.RtlVirtualUnwind
           Product: Wine
           Version: 6.0
          Hardware: arm
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

Download:

https://web.archive.org/web/20210121225132/https://github.com/PowerShell/PowerShell/releases/download/v6.2.0-preview.2/PowerShell-6.2.0-preview.2-win-arm32.zip

--- snip ---
$ pwd
/home/focht/projects/winrt-apps/powershell620-arm32

$ file *.{dll,exe}
...
api-ms-win-crt-utility-l1-1-0.dll:                        PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
clrcompression.dll:                                       PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
clretwrc.dll:                                             PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
clrjit.dll:                                               PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
coreclr.dll:                                              PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
dbgshim.dll:                                              PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
hostfxr.dll:                                              PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
hostpolicy.dll:                                           PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
mi.dll:                                                   PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
miutils.dll:                                              PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
mscordaccore.dll:                                         PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
mscordaccore_arm_arm_4.6.26919.02.dll:                    PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
mscordbi.dll:                                             PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
mscorlib.dll:                                             PE32 executable (DLL)
(console) Intel 80386 Mono/.Net assembly, for MS Windows
mscorrc.debug.dll:                                        PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
mscorrc.dll:                                              PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
netstandard.dll:                                          PE32 executable (DLL)
(console) Intel 80386 Mono/.Net assembly, for MS Windows
pwrshplugin.dll:                                          PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
pwsh.dll:                                                 PE32 executable
(console) ARMv7 Thumb Mono/.Net assembly, for MS Windows
sos.dll:                                                  PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
sos_arm_arm_4.6.26919.02.dll:                             PE32 executable (DLL)
(GUI) ARMv7 Thumb, for MS Windows
ucrtbase.dll:                                             PE32 executable (DLL)
(console) ARMv7 Thumb, for MS Windows
pwsh.exe:                                                 PE32 executable
(console) ARMv7 Thumb, for MS Windows
--- snip ---

--- snip ---
$ wine ./pwsh.exe
...
0024:fixme:seh:WerRegisterRuntimeExceptionModule
(L"Z:\\home\\focht\\projects\\winrt-apps\\powershell620-arm32\\mscordaccore.dll",
00B40000) stub
0024:fixme:msvcrt:_control87 not implemented
...
00fc:fixme:msvcrt:_control87 not implemented
0024:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 000504DC 0029DC28
0029E3B8 00000000
wine: Call from 7FF813E1 to unimplemented function
KERNEL32.dll.RtlVirtualUnwind, aborting
wine: Unimplemented function KERNEL32.dll.RtlVirtualUnwind called at address
7FF813E1 (thread 0024), starting debugger...
Unhandled exception: unimplemented function KERNEL32.dll.RtlVirtualUnwind
called in 32-bit code (0x7ff813e1).
Register dump:
Thumb User Mode
 Pc:7ff813e1 Sp:0029c108 Lr:7ff9d06b Cpsr:200b0030(--C-)
 r0:0029bf60 r1:00000001 r2:00000000 r3:00000002
 r4:0029c108 r5:0029c930 r6:0029cb14 r7:00e0a5e4
 r8:0029c2d8 r9:00000009 r10:00000000 r11:0029c190 r12:00f29010
Stack dump:
0x0029c108:  80000100 00000001 00000000 7ff813e1
0x0029c118:  00000002 00f276f6 00f27428 00c5a78f
0x0029c128:  01363c10 004d8f04 003c63f4 00000000
0x0029c138:  009b1e08 00000002 0004e9e0 00000005
0x0029c148:  0029cb54 0029c568 0029c930 0029cb14
0x0029c158:  0029c190 00c0abf7 0029c930 0029c17c
Backtrace:
=>0 0x7ff813e1 (0x0029c190)
  1 0x7ff9d06b (0x0029c190)
0x7ff813e1:
        lsl     r7, r4, #3
Modules:
Module  Address                 Debug info      Name (34 modules)
PE        320000-  386000       Deferred        hostpolicy
PE        400000-  439000       Deferred        pwsh
PE        b40000-  f6f000       Deferred        coreclr
PE       1290000- 1ba3000       Deferred        system.private.corelib
PE      10000000-10045000       Deferred        hostfxr
PE      7f8d0000-7f8d5000       Deferred        api-ms-win-crt-multibyte-l1-1-0
PE      7f900000-7f904000       Deferred        api-ms-win-crt-convert-l1-1-0
PE      7f920000-7f923000       Deferred        api-ms-win-crt-locale-l1-1-0
PE      7f940000-7f944000       Deferred        api-ms-win-crt-string-l1-1-0
PE      7f960000-7f964000       Deferred        api-ms-win-crt-stdio-l1-1-0
PE      7f990000-7f993000       Deferred        api-ms-win-crt-heap-l1-1-0
PE      7f9b0000-7f9b5000       Deferred        api-ms-win-crt-math-l1-1-0
PE      7fa10000-7fac1000       Deferred        ucrtbase
PE      7fa10000-7fac1000       Deferred        api-ms-win-crt-runtime-l1-1-0
PE      7faf0000-7faf7000       Deferred        kernelbase
PE      7fba0000-7fd5d000       Deferred        kernel32
PE      7ff50000-7ff54000       Deferred        ntdll
PE      f6e60000-f6e63000       Deferred       
api-ms-win-core-winrt-roparameterizediid-l1-1-0
PE      f6e80000-f6e84000       Deferred        imm32
PE      f6ff0000-f6ff3000       Deferred        api-ms-win-crt-time-l1-1-0
PE      f7010000-f7013000       Deferred        api-ms-win-crt-utility-l1-1-0
PE      f7040000-f7043000       Deferred        shcore
PE      f7070000-f7078000       Deferred        shlwapi
PE      f70e0000-f70e8000       Deferred        oleaut32
PE      f71b0000-f71b3000       Deferred        combase
PE      f7240000-f7247000       Deferred        gdi32
PE      f7360000-f7364000       Deferred        rpcrt4
PE      f73d0000-f73d4000       Deferred        version
PE      f7400000-f740f000       Deferred        setupapi
PE      f74a0000-f7588000       Deferred        user32
PE      f7680000-f76a8000       Deferred        ole32
PE      f7750000-f7753000       Deferred        sechost
PE      f7790000-f7794000       Deferred        advapi32
PE      f78e0000-f78e3000       Deferred       
api-ms-win-crt-filesystem-l1-1-0
Threads:

Exception c000001d
System information:
    Wine build: wine-6.0-111-gf03db0f75e9
    Platform: arm
    Version: Windows 7
    Host system: Linux
    Host version: 4.20.0+
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/a952453888fb5df3c70edf357820bc924b4f3e7f:/dlls/ntdll/ntdll.spec#l1059

--- snip ---
1059 @ stdcall -arch=arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr
ptr ptr)
--- snip ---

$ sha1sum PowerShell-6.2.0-preview.2-win-arm32.zip 
b77b87906514e802c03c84fcb72ce39f925c3b41 
PowerShell-6.2.0-preview.2-win-arm32.zip

$ du -sh PowerShell-6.2.0-preview.2-win-arm32.zip 
40M    PowerShell-6.2.0-preview.2-win-arm32.zip

$ wine --version
wine-6.0-111-gf03db0f75e9

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