How to Enable Special Pool Tagging for a Driver

How to Enable Special Pool Tagging for a Driver

book

Article ID: CTX127239

calendar_today

Updated On:

Description

If the stack of a process is overrun by another process, analysis of the dump is not possible because the crash occurs when the original process writes to the kernel space which is already occupied by the other, misbehaving component.

Enabling Special Pool Tagging causes the driver to crash as soon as it tries to write to the kernel space, before that space is overwritten, thus enabling the debugger to see this kernel space and analyze it.


Instructions

Complete the following steps, to enable Special Pool Tagging for a driver:

  1. Run the driver verifier utility which is built-in to your operating system. Type verifier.exe or open from <windir>\system32.

  2. The management window appears. Select Create custom settings (for code developer).

    User-added image

  3. Enable Select individual settings from a full list.

    User-added image

  4. Select the appropriate setting as advised by the Citrix engineer. For example, Select Special pool for corruption or select Pool tracking for leaks, and so on.

    User-added image

  5. Enable Select driver names from list.

    User-added image

  6. The available drivers load. Select the ones suggested by the Citrix engineer to attach the verifier to that driver.

  7. Click Finish and wait until the driver crashes.

Issue/Introduction

This article describes how to enable Special Pool Tagging for a driver.

Additional Information

Driver Verifier

CTX106970 - How to Enable User Mode Stack Trace Database for IMA Service to Detect Memory Leaks

How to use the special pool feature to isolate pool damage