Posted on 2013-06-28
I have a windows service (running on XP) which has run for years until recently, whereby the service crashes on a particualr machine when calling
DWORD waitErr = WaitForSingleObject(hClient,INFINITE);
where I can confirm at time of calling that hClient is not null.
hClient = CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ClientThread, 0, 0, &clientThreadID);
I cannot even wrap a try/catch around it, as it blows as soon as WaitForSingleObject is called.
The only error I can find is in the Windows Event logs:
Faulting application myservice.exe, version 126.96.36.199, faulting module swi_ifslsp.dll, version 188.8.131.52, fault address 0x0000349a.
swi_ifslsp.dll is reported as part of sophos AV products, however I have disabled all services relating to sophos and the error still occurs.
How can I resolve this implosion?.