[Bug 38733] New: appcertui helper tool from Windows SDK 8.1 App Certification Kit crashes on unimplemented function api-ms-win-core-processthreads-l1-1-1.dll.OpenProcessToken

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 9 15:53:05 CDT 2015


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

            Bug ID: 38733
           Summary: appcertui helper tool from Windows SDK 8.1 App
                    Certification Kit crashes on unimplemented function
                    api-ms-win-core-processthreads-l1-1-1.dll.OpenProcessT
                    oken
           Product: Wine
           Version: 1.7.44
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as the summary says.

Prerequisite for Windows SDK 8.1 install:

* new 32-bit WINEPREFIX
* 'winetricks -q dotnet40 corefonts'
* change WinVer to 'Vista'
* install .NET Framework 4.5 from 'winetricks' cache or download (to avoid .NET
Framework 2.x, 3.x install which is not needed here)

Run the SDK installer with WinVer set to 'Windows 8.1' and 'dwrite' component
disabled to get all Windows 8+ components installed

--- snip ---
$ WINEDLLOVERRIDES=dwrite=d wine ./sdksetup.exe
--- snip ---

Run the tool:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Windows Kits/8.1/App Certification Kit

$ WINEDEBUG=+tid,+seh,+loaddll,+process wine ./appcertui.exe
...
0047:trace:process:create_process_impl starting L"C:\\Program Files\\Windows
Kits\\8.1\\Testing\\Runtimes\\TAEF\\TE.exe" as Win32 binary (0x400000-0x43c000,
arch 014c)
000d:trace:loaddll:load_builtin_dll Loaded L"KERNEL32.dll" at 0x7b820000:
builtin
000d:trace:process:init_current_directory starting in L"C:\\Program
Files\\Windows Kits\\8.1\\App Certification Kit\\" 0x1c
000d:trace:process:__wine_kernel_init starting process name=L"C:\\Program
Files\\Windows Kits\\8.1\\Testing\\Runtimes\\TAEF\\Te.exe"
argv[0]=L"C:\\Program Files\\Windows
Kits\\8.1\\Testing\\Runtimes\\TAEF\\TE.exe"
000d:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Windows
Kits\\8.1\\Testing\\Runtimes\\TAEF\\Te.exe" at 0x400000: native
0047:trace:process:create_process_impl started process pid 000b tid 000d
...
000d:trace:loaddll:load_builtin_dll Loaded
L"C:\\windows\\system32\\api-ms-win-core-processthreads-l1-1-1.dll" at
0x7eff0000: builtin
000d:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b845511
ip=7b845511 tid=000d
000d:trace:seh:raise_exception  info[0]=7effcbec
000d:trace:seh:raise_exception  info[1]=7effcced
wine: Call from 0x7b845511 to unimplemented function
api-ms-win-core-processthreads-l1-1-1.dll.OpenProcessToken, aborting
--- snip ---

Windows 8+ API sets:

https://msdn.microsoft.com/en-us/library/windows/desktop/dn505783%28v=vs.85%29.aspx

Wine is missing the forward in the API set dll.

$ sha1sum sdksetup.exe 
4540251f0ca62da5fd8e68cd4e3129930e7c5ae9  sdksetup.exe

$ du -sh sdksetup.exe 
976K    sdksetup.exe

$ wine --version
wine-1.7.44-173-g42cbc05

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