https://bugs.winehq.org/show_bug.cgi?id=47286
Bug ID: 47286 Summary: VSS Test Writer Tool 'vswriter.exe' from Windows 10 SDK (10.0.17763.x) crashes on unimplemented function api-ms-win-security-lsalookup-l1-1-0.dll.LookupAccount SidLocalW Product: Wine Version: 4.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: api-ms-win-* Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says. Early Windows 7 API set stub dll.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64
$ wine ./vswriter.exe test ... wine: Call from 0x7b45323c to unimplemented function api-ms-win-security-lsalookup-l1-1-0.dll.LookupAccountSidLocalW, aborting wine: Unimplemented function api-ms-win-security-lsalookup-l1-1-0.dll.LookupAccountSidLocalW called at address 0x7b45323c (thread 0037), starting debugger... Unhandled exception: unimplemented function api-ms-win-security-lsalookup-l.LookupAccountSidLocalW called in 64-bit code (0x000000007b45323c). Register dump: rip:000000007b45323c rsp:000000000024d210 rbp:000000000024d2e0 eflags:00000202 ( - -- I - - - ) rax:000000000024d230 rbx:0000000080000100 rcx:000000000024d230 rdx:000000000024d250 rsi:000000000024d320 rdi:000000000024d260 r8:0000000000000002 r9:000000000024d310 r10:0000000000000008 r11:0000000000000246 r12:0000000000000000 r13:000000000024f650 r14:0000000000066058 r15:0000000000000000 ... Backtrace: =>0 0x000000007b45323c RaiseException+0x6c(code=<is not available>, flags=<is not available>, nbargs=<is not available>, args=<is not available>) [/home/focht/projects/wine/mainline-src/dlls/kernel32/except.c:86] in kernel32 (0x000000000024d2e0) 1 0x00000000643415a5 __wine_spec_unimplemented_stub+0x34(module=<is not available>, function=<is not available>) [/home/focht/projects/wine/mainline-src/dlls/winecrt0/stub.c:32] in api-ms-win-security-lsalookup-l (0x000000000024d470) 2 0x000000006434148f args+0x6434148e() in api-ms-win-security-lsalookup-l (0x000000000024d470) 0x000000007b45323c RaiseException+0x6c [/home/focht/projects/wine/mainline-src/dlls/kernel32/except.c:86] in kernel32: leaq 0xfffffffffffffff0(%rbp),%rsp 86 } Modules: Module Address Debug info Name (79 modules) PE 64340000- 6435f000 Dwarf api-ms-win-security-lsalookup-l1-1-0 PE 6d700000- 6d7a5000 Deferred atl ELF 7b400000- 7b86c000 Dwarf kernel32<elf> -PE 7b420000- 7b86c000 \ kernel32 ELF 7bc00000- 7bd55000 Deferred ntdll<elf> -PE 7bc20000- 7bd55000 \ ntdll ELF 7c000000- 7c004000 Deferred <wine-loader> PE 140000000- 140072000 Deferred vswriter ... ELF 7f7ed7f59000- 7f7ed82fe000 Dwarf libwine.so.1 ELF 7f7ed8300000- 7f7ed8529000 Deferred ld-linux-x86-64.so.2 ELF 7fffedc8e000- 7fffedc8f000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) ... 00000036 (D) C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\vswriter.exe 00000037 0 <== --- snip ---
--- snip --- $ winedump -j import ./vswriter.exe | sed -n '/api-ms-win/,/^$/p' offset 000584d4 api-ms-win-security-lsalookup-l1-1-0.dll Hint/Name Table: 00059880 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 00041380 Thunk Ordn Name 00041380 3 LookupAccountSidLocalW --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/api-ms-win-security-l...
--- snip --- 1 @ stub LookupAccountNameLocalA 2 @ stub LookupAccountNameLocalW 3 @ stub LookupAccountSidLocalA 4 @ stub LookupAccountSidLocalW 5 @ stub LsaLookupClose 6 @ stub LsaLookupFreeMemory 7 @ stub LsaLookupGetDomainInfo 8 @ stub LsaLookupManageSidNameMapping 9 @ stub LsaLookupOpenLocalPolicy 10 @ stub LsaLookupTranslateNames 11 @ stub LsaLookupTranslateSids --- snip ---
https://www.win7dll.info/api-ms-win-security-lsalookup-l1-1-0_dll.html
-> 6.1.7100.0 (winmain_win7rc.090421-1700)
$ 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
$ wine --version wine-4.9-95-g6d05fae6f7
Regards