O'Reilly logo

Memory Dump Analysis Anthology, Volume 7 by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Blocked Thread (Timeout)

This is a special variant of Blocked Thread pattern (Volume 2, page 184) where we have a timeout value: a thread is temporarily blocked. For example, this main thread (Volume 1, page 437) is blocked while waiting for beep sound to finish after a minute:

0:000> kvL
ChildEBP RetAddr Args to Child
0291f354 7c90d21a 7c8023f1 00000001 0291f388 ntdll!KiFastSystemCallRet
0291f358 7c8023f1 00000001 0291f388 7c90d27e ntdll!NtDelayExecution+0xc
0291f3b0 7c837beb 0000ea60 00000001 00000004 kernel32!SleepEx+0×61
0291f404 004952a2 00000370 0000ea60 004d6ae2 kernel32!Beep+0×1b3 0291f410 004d6ae2 00000370 0000ea60 004d6ed4 Application!DoBeep+0×16 [...] 0291ffec 00000000 0045aad0 00e470a0 00000000 kernel32!BaseThreadStart+0×37 0:000> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required