c++11 - Using the valgrind massif tool, Result file not created -
i have been following tutorial reference: http://valgrind.org/docs/manual/ms-manual.html
when using profile application using command: valgrind --tool=massif --time-unit=b ./run.o finishes not produce output file. here log while running using mentioned command.
https://www.dropbox.com/s/yae78rm9wmdbph1/valgring_massif_log?dl=0
kindly suggest why won't produce massif.out.xxxxx file ?
if in log file see valgrind has crashed, , explains why, , should fix it.
valgrind: m_mallocfree.c:304 (get_bszb_as_is): assertion 'bszb_lo == bszb_hi' failed. valgrind: heap block lo/hi size mismatch: lo = 91849568, hi = 1425748016. caused program erroneously writing past end of heap block , corrupting heap metadata. if fix invalid writes reported memcheck, assertion failure go away. please try before reporting bug.
use valgrind's memcheck
fix program , try again.
Comments
Post a Comment