WinDbg !locks command broken

It seems that the extremely useful !locks command is broken in 6.11.1.40x, the current and previous release of WinDbg from the debugging tools for Windows.

You’ll get errors like:

0:007> !locks
NTSDEXTS: Unable to resolve ntdll!RTL_CRITICAL_SECTION_DEBUG type
NTSDEXTS: Please check your symbols

The suggested solution seems to be to roll-back to version 6.10.3.233, available from here, or you can just replace the version of ntsdexts.dll in the c:\program files\debugging tools for windows (x86)\winxp directory with the one from the earlier release.

Judging by the error message, I’m guessing that the new version may work if you happen to be using a debug (checked) build of the Windows kernel, but I don’t have one around to try it with.

This entry was posted in Debugging, WinDbg and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. ian
    Posted March 11, 2010 at 6:33 pm | Permalink

    Yay! The new version of WinDbg: 6.12.2.633 fixes the problem.

    The bad news? It’s only available as part of the Windows Driver development kit (the WDK). You can download it from here: http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx. You need to download the ~600mb ISO, mount it and install WinDbg from the \debuggers directory.

  2. Vishwanath
    Posted August 12, 2010 at 8:01 am | Permalink

    Thanks IAN by installing older version (6.10) i am able to see deadlocks. where as with 6.11 i couldn’t.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">