Sato
Sato

Reputation: 8582

How to get the error report of valgrind?

First I run like this:

valgrind --leak-check=full --show-leak-kinds=all test_proc

and logs:

==30349== For counts of detected and suppressed errors, rerun with: -v
==30349== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)

so I run with -v

valgrind -v --leak-check=full --show-leak-kinds=all test_proc

and logs:

==8020== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
==8020== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)

I cannot find other error keyword. Where is the error?

Upvotes: 3

Views: 577

Answers (1)

Sato
Sato

Reputation: 8582

I think I have figured it out, 7 stands for the total count of possibly lost and definitely lost records.

Upvotes: 1

Related Questions