WinDbg Preview's "!heap -p -a UserPtr" fails to display user mode stack trace from memory dump file

Kevin Coulombe 26 Reputation points
2022-11-04T19:27:09.43+00:00

I'm using gflags +ust to collect a process' memory dump with user mode allocation stack traces.

I pretty much follow this procedure : https://www.debugthings.com/2015/01/09/debugging-heap-leaks/

Except the command !heap -p -a UserPtr doesn't work anymore...

I'm using these extensions (but same happens with the latest exts.dll loaded from WinDbg Preview's install folder) :

257250-image.png

From exts, it says to try ext and from ext, it just returns with no output.

257356-image.png

It works when installing the previous Windows SDK version from the archive (Windows SDK for Windows 11 (10.0.22000.194)) :

257330-image.png

257381-image.png

So something changed and broke this workflow between 10.0.22000.832 and 10.0.22621.755.win

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,577 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Fei Wang 0 Reputation points
    2023-06-27T00:08:57.8266667+00:00

    using this command for many years, unfortunately in the latest Windbg, it does NOT work any more.

    It seems to be the only way to switch to the previous windbg

    0 comments No comments