VERIFIER STOP 00000900: pid 0x???: A heap allocation was leaked.
来源:互联网 发布:java开发外包骗局 编辑:程序博客网 时间:2024/05/20 11:20
最近调试一应用程序时,当软件退出时(dll unload),突然就不断出现“A heap allocation was leaked”的中断异常,花了许多精力去排除程序代码中所有潜在的、可能的“作案”代码,一无所获。
尝试百度,发现根本没有这方面的资料,只能人工跑代码了,代码注释得面目全非,仍旧未解决。
其实这中断完全可以跳过(Microsoft Application Verifier中取消Leak检测或者VS中忽略该异常),但是作为编程人员,不知道还好,如果发现了瑕疵而不解决的话心里着实过不去。
无奈,回归提示,在VS的内存窗口中查看输出内容中给出的“Address of the owner dll name”(其实我之前一直只注意Address of the leaked allocation, 个人疏忽),出现了关键一幕,QQPingyin.ime, 尝试禁用那个dll,问题解决。
=======================================
0A37011C : Address of the leaked allocation. Run !heap -p -a <address> to get additional information about the allocation.
04023EE4 : Address to the allocation stack trace. Run dps <address> to view the allocation stack.
4E5B0FE0 : Address of the owner dll name. Run du <address> to read the dll name.
706D0000 : 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.
=======================================
This verifier stop is continuable.
After debugging it use `go' to continue.
=======================================
0 0
- VERIFIER STOP 00000900: pid 0x???: A heap allocation was leaked.
- TOMCAT 关闭报错:Tomcat did not stop in time. PID file was not removed
- Stack vs Heap Allocation
- has leaked IntentReceiver ...that was originally registerd here.Are you missing a call to unregister
- A SQLiteConnection object for database '/data/data/.../databases/....db' was leaked!
- Activity has leaked IntentReceiver that was originally registered here. Are you missing a call to un
- Activity has leaked IntentReceiver that was originally registered here. Are you missing a call to u
- Android 8.0 解决OkHttp问题:A connection to xxx was leaked. Did you forget to close a response body?
- Item 34. Restricting Heap Allocation
- Debugging Heap corruption with Application Verifier and Debugdiag
- Debugging Heap corruption with Application Verifier and Debugdiag
- Exploring Heap-Based Buffer Overflows with the Application Verifier
- Stack vs. Heap: Understanding Java Memory Allocation
- Share:A File Checksum Integrity Verifier utility
- Activity has leaked window that was originally added 问题解决
- Activity has leaked window that was originally added
- (Activity) has leaked window that was originally added
- Activity has leaked window that was originally added 问题解决
- POJ:题号 3295------tautology
- 树链剖分学习(HDOJ 3966)
- 外专业考(美国)计算机科学硕士最好学过哪些课程
- LeetCode 124 Divide Two Integers
- POJ2154-Daze polya计数法优化
- VERIFIER STOP 00000900: pid 0x???: A heap allocation was leaked.
- linux 逆向
- c++ ActiveX基础1:使用VS2010创建MFC ActiveX工程项目
- 初学android技巧
- 设计模式
- POJ 3308--Paratroopers
- 接下来的几个目标
- 【Hibernate学习】——级联操作
- 法规和国家火炬和交换机