https://bugs.winehq.org/show_bug.cgi?id=44746
Bug ID: 44746 Summary: Running any command in MS PowerShell 6+ (.NET app) results in advapi:EventActivityIdControl console spam Product: Wine Version: 3.3 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
follow-up of bug 41911
--- snip --- $ winetricks win8 $ wine msiexec -i PowerShell-6.0.0-beta.5-win7-x86.msi --- snip ---
Run:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/PowerShell/6.0.0-beta.5
$ wine ./powershell.exe ... PowerShell v6.0.0-beta.5 Copyright (C) Microsoft Corporation. All rights reserved. ... PS C:\Program Files\PowerShell\6.0.0-beta.5> ps ... 00b2:fixme:advapi:EventActivityIdControl 0x3, 0x5e1e994: stub 00b2:fixme:advapi:EventActivityIdControl 0x1, 0x5e1e994: stub 00b2:fixme:advapi:EventActivityIdControl 0x3, 0x5e1e65c: stub 00b2:fixme:advapi:EventActivityIdControl 0x1, 0x5e1e65c: stub 00b2:fixme:advapi:EventActivityIdControl 0x1, 0x5e1e66c: stub .. 00b3:fixme:advapi:EventActivityIdControl 0x1, 0x456f450: stub 00b3:fixme:advapi:EventActivityIdControl 0x3, 0x456f350: stub 00b3:fixme:advapi:EventActivityIdControl 0x1, 0x456f350: stub
NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName ------ ----- ----- ------ -- -- ----------- 0 0.00 0.00 1.08 26 0 plugplay 0 0.00 0.00 1.08 134 0 powershell 0 0.00 0.00 1.08 14 0 services 0 0.00 0.00 1.08 17 0 winedevice 0 0.00 0.00 1.09 32 0 winedevice 00b3:fixme:advapi:EventActivityIdControl 0x1, 0x456f66c: stub 00b3:fixme:advapi:EventActivityIdControl 0x1, 0x456f9a4: stub 00b3:fixme:advapi:EventActivityIdControl 0x1, 0x456f6e8: stub ... --- snip --
This stub should be silenced (print once).
Source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/advapi32/eventlog.c#l...
--- snip --- 827 /****************************************************************************** 828 * EventActivityIdControl [ADVAPI32.@] 829 * 830 */ 831 ULONG WINAPI EventActivityIdControl(ULONG code, GUID *guid) 832 { 833 FIXME("0x%x, %p: stub\n", code, guid); 834 return ERROR_SUCCESS; 835 } --- snip ---
$ sha1sum PowerShell-6.0.0-beta.5-win7-x86.msi b2ae36abf66f49544d999faea3c66cc2c8c5bbd0 PowerShell-6.0.0-beta.5-win7-x86.msi
$ du -sh PowerShell-6.0.0-beta.5-win7-x86.msi 48M PowerShell-6.0.0-beta.5-win7-x86.msi
$ wine --version wine-3.3-263-gbf7b21ec7b
Regards