Index: base/system/services/rpcserver.c =================================================================== --- base/system/services/rpcserver.c (révision 58393) +++ base/system/services/rpcserver.c (copie de travail) @@ -2940,13 +2940,19 @@ if (lpService->bDeleted) return ERROR_SERVICE_MARKED_FOR_DELETE; + DPRINT1("Trying to start service %S\n", lpService->lpServiceName); + /* Acquire the service start lock until the service has been started */ dwError = ScmAcquireServiceStartLock(TRUE, &Lock); if (dwError != ERROR_SUCCESS) + { + DPRINT1("Starting service %S, error %lu\n", lpService->lpServiceName, dwError); return dwError; + } /* Start the service */ dwError = ScmStartService(lpService, argc, (LPWSTR*)argv); + DPRINT1("Starting service %S, error %lu\n", lpService->lpServiceName, dwError); /* Release the service start lock */ ScmReleaseServiceStartLock(&Lock);