08 2013 档案
摘要:有个程序总是在windows 2003 server 异常退出. 并且, 查看调用栈也肯奇怪, 应该是很正常的调用. 怀疑是堆溢出.开启heap trace :C:\Program Files\Debugging Tools for Windows (x86)>gflags -i app.exe +ust+hpa发现在Font.ToLogFont函数遇到: {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."}如
阅读全文