Answer the question
In order to leave comments, you need to log in
Why are all threads from the ThreadPool hanging?
Good day everyone.
I have a WPF application that makes frequent use of the thread pool. At one of the launches of the application, the thread pool ended and it hung. The dump shows that 931 threads have a stack trace:
[email protected]()
KERNELBASE.dll!WaitForSingleObjectEx()
[email protected]@12()
ntdll.dll!__RtlUserThreadStart()
[email protected]()
[email protected]()
, [email protected]()
, [email protected]()
and [email protected]()
. Judging by the logs, the streams were not clogged immediately, but gradually - it took more than 20 minutes. The bug is single, but I would really like to figure it out. What could it be and how can I get more information about the problem? Answer the question
In order to leave comments, you need to log in
Karnah ,
the project is large, threads are used frequently, the bug is single, there is no stack trace in managed code. Looking for a bug in code is like looking for a needle in a haystack. Therefore, I would like to know if there are tools that will allow you to learn more about the problem.as if it were more delicate..
remember, mourn (s)but since you ask a question in the C# tag - there is one move:
Хотелось бы комментарий по стектрейсу - он вообще не затрагивает код проекта. В какой ситуации это возможно?повторюсь - что у вас происходит, остается только телепатировать
В дампе видноу вас BSOD что ли?
То есть ожидался ответы вида: "стектрейс выглядит странно,ни чего странного для
таймеры .. и бесконечные циклы..абсолютно ожидаемые стеки на уровне неуправляемого кода. который система. просто у системы просят потоки, пока она не захлебнется
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question