我跑Valgrind的下列参数:
--leak-check=full --show-reachable=yes --leak-resolution=high --num-callers=100 --trace-children=yes
在内存泄漏日志,我看到完整的堆栈的一些错误消息跟踪多达为主,但一些消息看起来像以下:
==3956== 1,999,140 (68,796 direct, 1,930,344 indirect) bytes in 5,733 blocks are definitely lost in loss record 8,842 of 8,845
==3956== at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==3956==
我怎样才能获得这些错误的完整堆栈跟踪?