Page 1 of 1

How to find frozen threads

Posted: Thu Sep 03, 2020 1:19 pm
by nmos
Hello,
I am newbie madexcept.
I have a Windows service application running on windows 7/10 and compiled with delphi 2007.
there are too many threads in the application. Sometimes when I stop the service, some threads keep running, some threads remain in a standby state. (I see it with ProcessExplorer (processHacker) and they don't disappear from the program manager.
How can I find this threads using madexcept.
regards,

Re: How to find frozen threads

Posted: Fri Sep 04, 2020 7:48 am
by madshi
There's a tool called "madTraceProcess32/64.exe" (see madExcept\Tools folder) which you can run to analyze your service. It doesn't always work, depending on whether the process is stuck in a DllMain entry point or not, but there is a chance it might work, so it's definitely worth a try. Of course you'd have to compile your service with madExcept activated first.

Re: How to find frozen threads

Posted: Mon Sep 07, 2020 2:22 pm
by nmos
Thanks for your help...