Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


!heap -p command is not work in windbg version 22621

Stephen_WangStephen_Wang Member Posts: 1

!heap -p -a command is not working after I upgrade to windows SDK 22621, windbg version is 10.0.22621.755 AMD64.

0:030> !exts.heap -p -a 00000291B5D8CFB0 
**********************************************

the `!heap -p' commands in exts.dll have been replaced
with equivalent commands in ext.dll.
If your are in a KD session, use `!ext.heap -p`
**********************************************
0:030> !ext.heap -p -a 00000291B5D8CFB0 

I have turned on Page Heap and user mode stack trace database,but !ext.heap -p -a output nothing, and even !ext.heap -s has not output, !exts.heap -s is working.

0:030> !ext.heap -s
0:030> !exts.heap -s


************************************************************************************************************************
                                              NT HEAP STATS BELOW
************************************************************************************************************************
LFH Key                   : 0xdcf92705ae9c34cb
Termination on corruption : ENABLED
          Heap     Flags   Reserv  Commit  Virt   Free  List   UCR  Virt  Lock  Fast 
                            (k)     (k)    (k)     (k) length      blocks cont. heap 
-------------------------------------------------------------------------------------
00000291abdb0000 00000002    1020      8   1020      5     1     1    0      0      
00000291abd60000 00001002      60      8     60      5     1     1    0      0      
00000291abd10000 00001002      60      8     60      5     1     1    0      0      
00000291abca0000 00008000      64      8     64      6     1     1    0      0      
00000291b4df0000 00001002      60      8     60      5     1     1    0      0      
00000291bef00000 00001002      60      8     60      5     1     1    0      0      
-------------------------------------------------------------------------------------

0:030> .extmatch /e ext* heap
!ext.heap
!exts.heap

Which of these two !heap command should I use? How to make !ext.heap works?
Thanks.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 16-20 October 2023 Live, Online
Developing Minifilters 13-17 November 2023 Live, Online
Internals & Software Drivers 4-8 Dec 2023 Live, Online
Writing WDF Drivers 10-14 July 2023 Live, Online