Exercise PN4: Analysis of an application process dump (LINQPadC, 32-bit, CLR 4)

Goal: Learn how to recognize and analyze deadlocks using SOS(EX), execution residue, handled exceptions, dump object references.

Patterns: CLR Thread; Special Thread; Blocked Thread; Annotated Disassembly; Deadlock; Caller-n-Callee; Execution Residue; Handled Exception

Commands: !Threads -special, kL, !syncblk, !DumpObject, ub, dp, !dlk, !DumpStack, !DumpStackObjects, !teb

  1. Launch WinDbg from Debugging Tools for Windows or Debugging Tools for Windows (x86)

  2. Open \ANETMDA-Dumps\32-bit\Processes\CLR4\LINQPadC.DMP

  3. If you are presented with this dialog say No:

  4. We get the ...

Get Accelerated .NET Memory Dump Analysis: Training Course Transcript and WinDbg Practice Exercises with Notes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.