[Bug 44923] Failing kernel driver services can stall WINEPREFIX bootstrapping/ startup for a considerable time when configured as autostart

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 9 18:37:11 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |dd2624a24fba400bf59b9396e49
                   |                            |6d16c43d399d9
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

fixed by
https://source.winehq.org/git/wine.git/commitdiff/dd2624a24fba400bf59b9396e496d16c43d399d9

Thanks Alistair

No noticeable delay on failing services, see timestamps on prefix "warmup".

--- snip ---
$ WINEDEBUG=+timestamp,+service notepad
...
11413.621:000f:trace:service:scmdatabase_load_services Loading service
L"sfdrv01"
11413.621:000f:trace:service:load_service_config Image path           =
L"System32\\drivers\\sfdrv01.sys"
11413.621:000f:trace:service:load_service_config Group                = (null)
11413.621:000f:trace:service:load_service_config Service account name =
L"LocalSystem"
11413.621:000f:trace:service:load_service_config Display name         =
L"StarForce Protection Environment Driver (version 1.x)"
11413.621:000f:trace:service:load_service_config Service dependencies : (none)
11413.621:000f:trace:service:load_service_config Group dependencies   : (none)
11413.621:000f:trace:service:scmdatabase_load_services Loading service
L"sfhlp02"
11413.621:000f:trace:service:load_service_config Image path           =
L"System32\\drivers\\sfhlp02.sys"
11413.621:000f:trace:service:load_service_config Group                = (null)
11413.621:000f:trace:service:load_service_config Service account name =
L"LocalSystem"
11413.621:000f:trace:service:load_service_config Display name         =
L"StarForce Protection Helper Driver (version 2.x)"
11413.621:000f:trace:service:load_service_config Service dependencies : (none)
11413.621:000f:trace:service:load_service_config Group dependencies   : (none)
...
11413.652:000f:trace:service:process_send_start_message 0x113d90 L"sfdrv01"
(nil) 0
11413.652:0023:trace:service:service_handle_control L"winedevice" control
2147483648 data 0x11115a data_size 16
11413.652:0023:trace:service:SERV_OpenServiceW 0x111098 L"sfdrv01" 0x00008000
11413.652:0015:trace:service:svcctl_OpenServiceW (L"sfdrv01", 0x8000)
11413.652:0023:trace:service:SERV_OpenServiceW returning 0x1111b0
11413.652:0023:trace:service:SetServiceStatus 0x1111b0 30 2 0 0 0 0 2710
11413.653:0014:trace:service:svcctl_SetServiceStatus (0x114198, 0x114204)
wine: Unhandled page fault on write access to 0x00789000 at address 0x7bc6a32a
(thread 0025), starting debugger...
11413.941:000f:err:service:process_send_command service protocol error - failed
to read pipe r = 0  count = 0!
11413.941:000f:trace:service:service_start returning 1053
11413.941:000f:fixme:service:scmdatabase_autostart_services Auto-start service
L"sfdrv01" failed to start: 1053
11413.945:000f:trace:service:process_send_start_message 0x114888 L"Winedevice3"
0x33fd08 0
...
11413.949:000f:trace:service:service_start returning 0
11413.949:000f:trace:service:process_send_start_message 0x114888 L"sfhlp02"
(nil) 0
11413.949:0031:trace:service:service_handle_control L"winedevice" control
2147483648 data 0x11115a data_size 16
11413.949:0031:trace:service:SERV_OpenServiceW 0x111098 L"sfhlp02" 0x00008000
11413.949:0014:trace:service:svcctl_OpenServiceW (L"sfhlp02", 0x8000)
11413.950:0031:trace:service:SERV_OpenServiceW returning 0x1111b0
11413.950:0031:trace:service:SetServiceStatus 0x1111b0 30 2 0 0 0 0 2710
11413.950:0015:trace:service:svcctl_SetServiceStatus (0x114ea8, 0x1140b4)
11413.952:0033:fixme:ntoskrnl:IoCreateSynchronizationEvent (0x65fcb0 0x65fcbc)
stub
11413.952:0033:fixme:ntoskrnl:KeEnterCriticalRegion : stub
11413.952:0033:fixme:ntoskrnl:KeWaitForSingleObject stub: 0xdeadbeaf, 0, 0, 0,
(nil)
11413.952:0033:fixme:ntoskrnl:ExCreateCallback (0x65fcb8, 0x65fc90, 0, 1): stub
11413.952:0033:fixme:ntoskrnl:KeLeaveCriticalRegion : stub
11413.952:0033:fixme:ntoskrnl:IoAllocateErrorLogEntry stub: 0x112450, 48
11413.952:0033:err:winedevice:async_create_driver failed to create driver
L"sfhlp02": c0000002
11413.952:0033:trace:service:SetServiceStatus 0x1111b0 30 1 0 0 0 0 0
11413.953:000f:trace:service:service_start returning 31
11413.953:000f:fixme:service:scmdatabase_autostart_services Auto-start service
L"sfhlp02" failed to start: 31
11413.953:0014:trace:service:svcctl_SetServiceStatus (0x114ea8, 0x114fec)
11413.953:0033:trace:service:CloseServiceHandle 0x1111b0
11413.953:0015:trace:service:svcctl_CloseServiceHandle (&0x114ea8)
...
--- snip ---

$ wine --version
wine-3.5-130-gdd2624a24f

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