使用valgrind工具扫描内存泄漏,几乎所有的结果都有完整的栈信息,但有几条结果没有完整的栈信息,如下:
==24643== 1,311,495 (108,732 direct, 1,202,763 indirect) bytes in 1,327 blocks are definitely lost in loss record 6,193 of 6,212
==24643== at 0x4C3242A: operator new(unsigned long) (vg_replace_malloc.c:334)
==24643==
valgrind工具扫描结果有些没有完整的栈信息,请高手指点如何获取完整的栈信息。
最新推荐文章于 2023-06-22 01:39:56 发布