https://bugs.winehq.org/show_bug.cgi?id=49938
Bug ID: 49938 Summary: Repeating "00fc:err:service:validate_context_handle Handle is of an invalid type (1, 2)" at startup Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: b7.10110111@gmail.com Distribution: ---
After Wine upgrade to current master (cce4f36e214125173a8df84d27ba5b33df8d1434) I now have to wait for about half a minute to launch any program in Wine — even winecfg. Here's what I see in the console (TICK prints are to show 0.5s delays):
``` $ while sleep 0.5; do echo TICK; done & winecfg [1] 15278 0050:err:service:validate_context_handle Handle is of an invalid type (1, 2) TICK 0050:err:service:validate_context_handle Handle is of an invalid type (1, 2) 0060:err:ole:start_rpcss Failed to start RpcSs service 0060:err:ole:NDRCContextBinding invalid handle 00856188 TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK 0074:err:service:validate_context_handle Handle is of an invalid type (1, 2) 0060:err:ole:start_rpcss Failed to start RpcSs service 0060:err:ole:NDRCContextBinding invalid handle 00854A10 TICK TICK 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 1053 0074:err:service:validate_context_handle Handle is of an invalid type (1, 2) TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053 009c:err:service:validate_context_handle Handle is of an invalid type (1, 2) TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 1053 00b4:err:service:validate_context_handle Handle is of an invalid type (1, 2) TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1053 00cc:err:service:validate_context_handle Handle is of an invalid type (1, 2) TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK TICK 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 1053 TICK 00ec:err:service:validate_context_handle Handle is of an invalid type (1, 2) 00dc:err:ole:start_rpcss Failed to start RpcSs service 00dc:err:ole:NDRCContextBinding invalid handle 008566A0 ```
At the end of this log the winecfg window finally appears.
This is a regression, to which git-bisect gave the following output:
e9090e1c903578b30118ce9559c1824361abc6da is the first bad commit commit e9090e1c903578b30118ce9559c1824361abc6da Author: Hans Leidekker hans@codeweavers.com Date: Mon Sep 7 14:10:13 2020 +0200
advapi32: Reimplement SystemFunction036 using system interrupt information.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 c6d1fe863cec8623d492795bb4c55031ba8bdd1f a1213f0b61b72768e15e37c6dc60f98cc7565566 M dlls