https://bugs.winehq.org/show_bug.cgi?id=49938
--- Comment #2 from Ruslan Kabatsayev b7.10110111@gmail.com --- (In reply to Hans Leidekker from comment #1)
Is this a fresh prefix? Can you revert that patch and see if it restores the old behavior?
No, this is an old prefix. And, I've already tried resetting to the commit before the "bad" one, and the problem doesn't reproduce there.
Trying with a fresh prefix in /tmp/wine gives the following result (in short, no delays, although the "Handle is of an invalid type (1, 2)" is still repeated):
``` ruslan@IntegralH(17:41) [ /tmp ]$ mkdir wine ruslan@IntegralH(17:41) [ /tmp ]$ export WINEPREFIX=/tmp/wine ruslan@IntegralH(17:41) [ /tmp ]$ winecfg 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002 0050:err:ole:start_rpcss Failed to open RpcSs service 0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"BrotherHL-5250DN" fails 0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"EPSON_AL-C1100" fails 0040:fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"EPSON_Epson_Stylus_Office_B42WD" fails 0064:fixme:file:NtLockFile I/O completion on lock not implemented yet 0064:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0064:err:mscoree:LoadLibraryShim error reading registry key for installroot 0064:err:mscoree:LoadLibraryShim error reading registry key for installroot 0064:err:mscoree:LoadLibraryShim error reading registry key for installroot 0064:err:mscoree:LoadLibraryShim error reading registry key for installroot 006c:fixme:file:NtLockFile I/O completion on lock not implemented yet 006c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 006c:err:mscoree:LoadLibraryShim error reading registry key for installroot 006c:err:mscoree:LoadLibraryShim error reading registry key for installroot 006c:err:mscoree:LoadLibraryShim error reading registry key for installroot 006c:err:mscoree:LoadLibraryShim error reading registry key for installroot 006c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 006c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0064:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 007c:fixme:file:NtLockFile I/O completion on lock not implemented yet 007c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 007c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 007c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0040:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0084:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0df537, context 0xd19048, init_notify 0, handle 0x155fccc): stub 0040:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00d8:err:service:validate_context_handle Handle is of an invalid type (1, 2) 0040:err:ole:NDRCContextBinding invalid handle 001BDBA8 0040:err:ole:NDRCContextBinding invalid handle 001BDBA8 00d8:err:service:validate_context_handle Handle is of an invalid type (1, 2) 002c:err:ole:NDRCContextBinding invalid handle 001B6DE0 00d8:err:service:validate_context_handle Handle is of an invalid type (1, 2) 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebus" for device L"ROOT\WINE\WINEBUS", error 6. 002c:err:ole:NDRCContextBinding invalid handle 001BAB40 00d8:err:service:validate_context_handle Handle is of an invalid type (1, 2) 002c:err:ole:NDRCContextBinding invalid handle 001BA3D0 00d8:err:service:validate_context_handle Handle is of an invalid type (1, 2) 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\WINE\WINEUSB", error 6. 002c:err:ole:NDRCContextBinding invalid handle 001B6D78 wine: configuration in L"/tmp/wine" has been updated. ruslan@IntegralH(17:41) [ /tmp ]$ winecfg 0048:err:ole:start_rpcss Failed to open RpcSs service 010c:err:ole:start_rpcss Failed to open RpcSs service ```