Search code examples
c#.netwindows-services64-bitwindows-server-2012

Windows Service keep crashing with Faulting Module SHLWAPI.dll


I have a Windows Service running in "Local System account" context.

I can start the service successfully, but after a few minutes it crashes. I get following error in the event log

What could be the possible reason, and how to fix this issue?

Faulting application name: MyWindowsService.exe, version: 1.0.0.2993, time stamp: 0x554085eb
Faulting module name: SHLWAPI.dll, version: 6.3.9600.16384, time stamp: 0x521574db
Exception code: 0xc00000fd
Fault offset: 0x00005d66
Faulting process id: 0x14d4
Faulting application start time: 0x01d0830a94202cb3
Faulting application path: C:\Program Files\MyProject\Etswap Workflow Polling Service\MyWindowsService.exe
Faulting module path: C:\Windows\SYSTEM32\SHLWAPI.dll
Report Id: ff232358-eefe-11e4-94ea-08002787efe4
Faulting package full name: 
Faulting package-relative application ID: 

Solution

  • yes, it was a bug in the application only. it was a rare scenario which was going into a deadlock situation.

    Fixed