
There's not much harm in it, I sometimes do it when I can't find the error myself. The next step could be installing Application Verifier to the client's machine.Look for potential buffer overflows and errors with HANDLE's. At this point, you might want to inspect the code between program's main() and StartServiceCtrlDispatcher(), and any global constructors you can have.If it still doesn't crash, you can try other options in Basics\*, but I don't think that will help.Freeing a Service manager HANDLE by mistake can surely lead to your problem. I'm mostly worried about double-freeing a HANDLE or something like that. Anyway, since you're on the hunt, you'd better fix everything you can find. Unlike Basics\Heaps, this can sometimes fire "false positives" - mistakes in code that doesn't hurt much. If it doesn't crash, add Basics\Handles.If it crashes, debug it and the crash will point to your problem.It doesn't matter if you keep application verifier open. Only select Basics\Heaps for the first time.Microsoft Application Verifier is invaluable in finding corruption. Instead, I can suggest some troubleshooting. This new release includes a lot of fixes and enhancements from user feedback, including improved Exchange categories handling, up to date TLS settings to match current requirements, various Caldav enhancements, and a fix for a major bug on IMAP large message handling. You can be sorry to hear this, but I'm not going to have a magic answer to your problems. I believe the problem is in your service, AND it is in code executed from process's start to StartServiceCtrlDispatcher(), AND most likely it takes some form of corrupting system resources, likely heap or HANDLE's. Has anyone seen similar error? If so, what was the cause of the error?Īs you can already see from the absence of answers and anything on google, the problem isn't common.

When this problem happens, StartServiceCtrlDispatcher() stalls for about a second before it returns with fail.


Next time the service usually starts successfully.
