Search code examples
debuggingheap-memorywindbgdumpdebug-symbols

Heap extension command fails: failed to initialize the extention


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?


Solution

  • 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.