https://bugs.winehq.org/show_bug.cgi?id=46156
Bug ID: 46156 Summary: Multiple applications from Windows 7-10 crash on unimplemented function slc.dll.SLOpen Product: Wine Version: 3.20 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: slc Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 46143
Likely also present on x86_64 arch.
--- snip --- $ WINEDEBUG=+seh,+loaddll,+process,+relay,+ntdll wine64 ./gatherosstate.exe
log.txt 2>&1
... 002b:Call KERNEL32.LoadLibraryExW(14000aaa0 L"SLC.DLL",00000000,00000000) ret=140044618 ... 002b:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\slc.dll" at 0x7f87a70000: builtin 002b:Call PE DLL (proc=0x7f87a8c5a4,module=0x7f87a70000 L"slc.dll",reason=PROCESS_ATTACH,res=(nil)) 002b:Call KERNEL32.DisableThreadLibraryCalls(7f87a70000) ret=7f87a8c58c 002b:Ret KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=7f87a8c58c 002b:Ret PE DLL (proc=0x7f87a8c5a4,module=0x7f87a70000 L"slc.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 002b:Ret KERNEL32.LoadLibraryExW() retval=7f87a70000 ret=140044618 002b:Call KERNEL32.GetLastError() ret=140032274 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140032274 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,00356840,00000080) ret=14003229c 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=14003229c 002b:Call KERNEL32.GetLastError() ret=140031de0 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140031de0 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,0035de40,00000040) ret=140031e08 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=140031e08 002b:Call KERNEL32.GetProcAddress(7f87a70000,14000aab0 "SLOpen") ret=1400446c0 002b:Ret KERNEL32.GetProcAddress() retval=7f87a8c090 ret=1400446c0 002b:Call KERNEL32.GetLastError() ret=140031de0 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140031de0 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,00358200,00000040) ret=140031e08 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=140031e08 002b:Call KERNEL32.GetProcAddress(7f87a70000,14000aab8 "SLClose") ret=140044760 002b:Ret KERNEL32.GetProcAddress() retval=7f87a8be28 ret=140044760 002b:Call KERNEL32.GetLastError() ret=140031de0 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140031de0 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,00355d40,00000040) ret=140031e08 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=140031e08 002b:Call KERNEL32.GetProcAddress(7f87a70000,14000aac0 "SLGetLicensingStatusInformation") ret=1400447a0 002b:Ret KERNEL32.GetProcAddress() retval=7f87a8bf40 ret=1400447a0 002b:Call KERNEL32.GetLastError() ret=140031de0 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140031de0 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,00350b40,00000040) ret=140031e08 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=140031e08 002b:Call KERNEL32.GetProcAddress(7f87a70000,14000aae0 "SLGetProductSkuInformation") ret=1400447e0 002b:Ret KERNEL32.GetProcAddress() retval=7f87a8bfcc ret=1400447e0 002b:Call KERNEL32.GetLastError() ret=140031de0 002b:Ret KERNEL32.GetLastError() retval=0000007e ret=140031de0 002b:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,0035dac0,00000040) ret=140031e08 002b:Ret KERNEL32.FlushInstructionCache() retval=00000001 ret=140031e08 002b:Call KERNEL32.GetProcAddress(7f87a70000,14000ab00 "SLGetSLIDList") ret=140044820 002b:Ret KERNEL32.GetProcAddress() retval=7f87a8c004 ret=140044820 002b:Call KERNEL32.RaiseException(80000100,00000001,00000002,0022f720) ret=7f87a8c744 002b:trace:seh:raise_exception info[0]=0000007f87a8c758 002b:trace:seh:raise_exception info[1]=0000007f87a8c9fb wine: Call from 0x7bcd0224 to unimplemented function slc.dll.SLOpen, aborting 002b:trace:seh:call_stack_handlers calling handler at 0x7b4d6494 code=80000100 flags=1 wine: Unimplemented function slc.dll.SLOpen called at address 0x7bcd0224 (thread 002b), starting debugger... ...Register dump: ARM64 EL0t Mode Pc:000000007bcd0224 Sp:000000000022f1e0 Lr:000000007bcd2530 Cpsr:20000000(--C-) x0: 000000000022f208 x1: 000000000022f720 x2: 0000000000000001 x3: 000000000022f5c0 x4: 000000000022f730 x5: 000000000022f5f0 x6: 0000007f87a8c758 x7: 0000007f87a8c9fb x8: 000000000022f208 x9: 000000000022f208 x10:0000000000000008 x11:0000000000000002 x12:0000000000000004 x13:0000000000000000 x14:ffffffffffffffaa x15:000000007bd25a60 ip0:000000007b674000 ip1:0000007f881d0dd0 x18:000000007ffd8000 x19:000000000022f700 x20:0000007f87a70000 x21:0000007f87a8c090 x22:0000007f87a8bf40 x23:000000000022f848 x24:0000007f87a8be28 x25:0000000000000000 x26:0000000140094000 x27:000000014000f000 x28:000000007b4a2cc4 Fp:000000000022f5b0 ... Backtrace: =>0 0x000000007bcd0224 RtlCaptureContext+0xa4() in ntdll (0x000000000022f5b0) 1 0x000000007bcd2530 RtlRaiseException+0x33(rec=0x22f5c0) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:995] in ntdll (0x000000000022f5b0) 2 0x000000007bcd2530 RtlRaiseException+0x33(rec=0x22f720) [/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm64.c:995] in ntdll (0x000000000022f670) 3 0x000000007b466ccc RaiseException+0xc7(code=0, flags=0x7bcb25a0, nbargs=0, args=0x8000010000000001) [/home/focht/projects/wine/mainline-src/dlls/kernel32/except.c:85] in kernel32 (0x000000000022f680) 4 0x000000007bcb25a0 call_entry_point+0x8f() in ntdll (0x000000000035dae8) 5 0x0000007f87a70000 in slc<elf> (+0x4fff) (0x000000000035dae8) 0x000000007bcd0224 RtlCaptureContext+0xa4 in ntdll: be_arm64_disasm_one_insn: not done
Modules: Module Address Debug info Name (20 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- 140099000 Deferred gatherosstate ELF 7f87a6b000- 7f87a90000 Dwarf slc<elf> -PE 7f87a70000- 7f87a90000 \ slc ... ELF 7f884b7000- 7f884e9000 Deferred ld-linux-aarch64.so.1 ELF 7f884ea000- 7f884eb000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) ... 0000002a (D) Z:\home\focht\projects\woa-winrt\win10apps\arm64\gatherosstate.exe 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 ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/slc/slc.spec#l33
--- snip --- 33 @ stub SLOpen --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/slpublic/nf-slpublic-sl...
Regards