7

While trying to use the !heap extension in Windbg for investigating a dump, I get following error:

0:000> !heap -s -v -a
SEGMENT HEAP ERROR: failed to initialize the extention

This happens for every usage of the !heap extension.
Google is not very helpful on this matter. Does anybody have an idea how to solve this?

trincot
  • 317,000
  • 35
  • 244
  • 286
Dominique
  • 16,450
  • 15
  • 56
  • 112
  • Several participants of a debugging workshop have the same issue. However, the usual output followed that error message. Do you get additional lines of output or just this one line and nothing else? – Thomas Weller Dec 05 '17 at 21:01
  • This issue might be version specific. Which version of WinDbg do you use and on which OS? – Thomas Weller Dec 05 '17 at 21:02
  • 1
    I'm using Windbg "10.0.15063.468 x86" on Windows-10. My Windows-10 is 64-bit but I'm using 32-bit Windbg because the applications I'm debugging are 32-bit. – Dominique Dec 06 '17 at 08:04

1 Answers1

1

I have encountered this one once. Basically, the problem is caused by not having windows symbol. After I add SRV*http://msdl.microsoft.com/download/symbols; In my windbg sympath. the !heap extension works correctly.

gang2k
  • 26
  • 3