0

我正在使用 Application Verifier 和 WinDbg 调试可执行文件。我在“基本”下打开了“泄漏”测试。我的问题是,当 Application Verifier 发现泄漏时,它似乎进入了某种抛出异常的无限循环。我收到这样的错误:

=======================================
VERIFIER STOP 0000000000000900: pid 0x1FE0: A heap allocation was leaked. 

    00000000155A6FF0 : Address of the leaked allocation. Run !heap -p -a <address> to get additional information about the allocation.
    0000000000571BE0 : Address to the allocation stack trace. Run dps <address> to view the allocation stack.
    0000000012314FD8 : Address of the owner dll name. Run du <address> to read the dll name.
    000007FEF8460000 : Base of the owner dll. Run .reload <dll_name> = <address> to reload the owner dll. Use 'lm' to get more information about the loaded and unloaded modules.


=======================================

但是当我按下F5继续调试时,我再次(一次又一次地)收到完全相同的消息,只是地址信息略有不同。

为什么会这样?有没有办法在不完全关闭泄漏检查的情况下忽略此泄漏?就目前而言,我无法完成我的程序以测试其他问题,因为应用程序验证程序在此泄漏上“挂起”。

4

0 回答 0