6
1
I'm running into an issue on Windows 10 where processes remain stuck in the "Suspended" state (visible through the task manager by displaying the "Status" column). Those processes cannot be killed, even with SYSTEM user rights, as Taskkill returns an "Access Denied" error.
When a process is suspended, the locks it has on the Dlls it references are not freed. This becomes problematic if another application attempts to update those Dlls.
Another problematic scenario: if an application is in charge of ensuring that another application is always running, doing API calls to detect running processes returns an exception (for suspended processes).
Here's a 100% repro: create a small .net console application that throws an exception and run it through the command line. The process will become suspended and cannot be terminated.
class Program
{
static void Main(string[] args)
{
if (string.IsNullOrEmpty(args[0]))
{
}
}
}
Anyone else encountered a similar issue ? I know that suspending processes is normal under Windows 8 / 10, the issue here is that they do not resume and cannot be terminated.
I can reproduce this behavior on my system as well, I have no explanation. The suspended process ends up in a zombie state and cannot be killed, you must reboot to clear it. – Benoit Miller – 2016-03-24T18:05:45.343
If you look in the Resource Monitor > Overview Tab > CPU section the suspended processes will be at the top in blue. You can right-click on them and try the Resume option. Don't know if it'll work, though. – simon at rcl – 2016-03-24T18:14:03.733
It doesn't work. The process is stuck in the suspended state forever. – Benoit Miller – 2016-03-24T18:15:39.543
Which exact version/build of Windows 10 are you using? I can't reproduce this on 1511 (build 10586.164). The process just terminates as expected (after throwing the error). It continues to show in resource Monitor for a while, with a "Terminated" status, but eventually gets dumped from the list. – Ƭᴇcʜιᴇ007 – 2016-03-24T20:07:29.803
Windows 10 Enterprise - Version 1511 - OS Build 10586.164. Quite strange that we have the same build, yet different results... I wonder if it's an access right problem. – Hussein Khalil – 2016-03-24T20:38:44.987
This is an Antivirus suite issue. Stop you Av tool and the process will stop fine – magicandre1981 – 2016-03-25T07:56:04.160
any news? Does stopping your Av suite fixes it? – magicandre1981 – 2016-04-02T08:15:23.477
Thanks for the comment Andre. I added an answer, the problem was the SN-DBS service (see: http://www.snsystems.com/tech-blog/2014/01/06/building-with-the-network/).
– Hussein Khalil – 2016-04-04T04:44:17.493