https://bugs.winehq.org/show_bug.cgi?id=46088
Bug ID: 46088 Summary: BETest tool from Windows 10 SDK (10.0.17763.x) crashes on unimplemented function vssapi.dll.CreateVssBackupComponentsInternal Product: Wine Version: 3.19 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: vssapi Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says.
Encountered while playing with some 64-bit ARM apps from Win10 SDK (running in qemuarm64 machine). Most likely present with x86_64 Wine too.
--- snip --- $ WINEDEBUG=+seh,+loaddll,+process wine64 ./betest.exe ... wine: Call from 0x7bccff04 to unimplemented function vssapi.dll.CreateVssBackupComponentsInternal, aborting 0009:trace:seh:call_stack_handlers calling handler at 0x7b4d6330 code=80000100 flags=1 wine: Unimplemented function vssapi.dll.CreateVssBackupComponentsInternal called at address 0x7bccff04 (thread 0009), starting debugger... 0009:trace:seh:start_debugger Starting debugger "winedbg --auto 8 80" ... 0009:trace:seh:call_stack_handlers handler at 0x7b4d6330 returned 1 Unhandled exception: unimplemented function vssapi.dll.CreateVssBackupComponentsInternal called in 64-bit code (0x000000007bccff04). Register dump: ARM64 EL0t Mode Pc:000000007bccff04 Sp:000000000022def0 Lr:000000007bcd20e8 Cpsr:20000000(--C-) x0: 000000000022df18 x1: 000000000022e390 x2: 0000000000000001 x3: 000000000022e2d0 x4: 000000000022e3a0 x5: 000000000022e300 x6: 0000007fa6e1e148 x7: 0000007fa6e1eeab x8: 000000000022df18 x9: 000000000022df18 x10:0000000000000008 x11:0000000000000002 x12:0000000140044000 x13:0000000000000001 x14:000000007bd0c4bd x15:0000000000000147 ip0:000000007b674000 ip1:0000007fa7f4b250 x18:000000007ffd8000 x19:0000000000000000 x20:0000000000000000 x21:00000001400345c8 x22:000000000022f8c0 x23:000000000022f8b8 x24:0000000000000000 x25:0000000140051000 x26:000000000022e3c0 x27:000000007b4ee926 x28:000000007b4a2b60 Fp:000000000022e2c0 Stack dump: ... Backtrace: =>0 0x000000007bccff04 RtlCaptureContext+0xa4() in ntdll (0x000000000022e2c0) 1 0x000000007bcd20e8 RtlRaiseException+0x33(rec=0x22e2d0) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:976] in ntdll (0x000000000022e2c0) 2 0x000000007bcd20e8 RtlRaiseException+0x33(rec=0x22e390) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:976] in ntdll (0x000000000022e380) 3 0x000000007b466b68 RaiseException+0xc7(code=0x7f, flags=0xa6e1e148, nbargs=0x7f, args=0x7fa6e1eeab) [/home/focht/projects/wine/mainline-src/dlls/kernel32/except.c:85] in kernel32 (0x000000000022e3b0) 4 0x0000007fa6e1e134 __wine_spec_unimplemented_stub+0x43(module=*** invalid address 0xffffbf53d43c4dde ***, function=0x0(nil)) [/home/focht/projects/wine/mainline-src/dlls/winecrt0/stub.c:34] in vssapi (0x000000000022f840) 5 0x0000007fa6e1d918 __wine_stub_CreateVssBackupComponentsInternal+0x1b() in vssapi (0x000000000022f8a0) 6 0x000000014000a78c in betest (+0xa78b) (0x000000000022f8a0) 0x000000007bccff04 RtlCaptureContext+0xa4 in ntdll: be_arm64_disasm_one_insn: not done
Modules: Module Address Debug info Name (51 modules) ELF 7b400000- 7b826000 Dwarf kernel32<elf> -PE 7b420000- 7b826000 \ kernel32 ELF 7bc00000- 7bd45000 Dwarf ntdll<elf> -PE 7bc20000- 7bd45000 \ ntdll ELF 7c000000- 7c004000 Deferred <wine-loader> PE 140000000- 140056000 Export betest ELF 7fa6bc5000- 7fa6bfb000 Deferred imm32<elf> -PE 7fa6bd0000- 7fa6bfb000 \ imm32 ... ELF 7fa8216000- 7fa8245000 Deferred ld-linux-aarch64.so.1 ELF 7fa8246000- 7fa8247000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\focht\Downloads\win10sdk_arm64\arm64\betest.exe 00000009 0 <== ... System information: Wine build: wine-3.19-117-g4852130c82 Platform: arm64 Version: Windows 8.1 Host system: Linux Host version: 4.14.67-yocto-standard --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/vssapi/vssapi.spec#l7...
--- snip --- 73 @ stub CreateVssBackupComponentsInternal --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/vsbackup/nf-vsbackup-cr...
$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 815M 17763.1.180914-1434.rs5_release_WindowsSDK.iso
Regards
https://bugs.winehq.org/show_bug.cgi?id=46088
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://software-download.m | |icrosoft.com/download/pr/17 | |763.1.180914-1434.rs5_relea | |se_WindowsSDK.iso Keywords| |download
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
filling fields.
The tool is described here:
https://docs.microsoft.com/en-us/windows/desktop/vss/betest-tool
Regards
https://bugs.winehq.org/show_bug.cgi?id=46088
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=46088
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/vssapi-CreateVss | |BackupComponents CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=46088
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |ce9b5a7e1782828f0a84d31eff7 | |3cf643ea4fe85 Resolution|--- |FIXED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=ce9b5a7e1782828f0a84d31ef...
https://bugs.winehq.org/show_bug.cgi?id=46088
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.2.
https://bugs.winehq.org/show_bug.cgi?id=46088
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://software-download.m |https://web.archive.org/web |icrosoft.com/download/pr/17 |/20190317015617/https://sof |763.1.180914-1434.rs5_relea |tware-download.microsoft.co |se_WindowsSDK.iso |m/download/pr/17763.1.18091 | |4-1434.rs5_release_WindowsS | |DK.iso