Question about leak_search [on|off] in .psrc configuration
We run insure++ for memory leak checking in the following environment:
OS : Linux 2.4.21-4.ELsmp #1 SMP
Compiler : gcc 3.4.6
Insure++ : 7.1.6
We are confused as to what the option leak_search is doing internally. Having looked at this post
we are under the impression that leak_search on prevents false positives from flooding the report.
On the contrary, turning this option off makes all the leaks/problems dissappear.
Specifically with leak_search on, we get lots of leaks detected during execution in the Memory leak summary.
These runtime leaks are marked as bogus in the Problem summary. Besides those we get a lot of LEAK_ASSIGN
type of errors.
Is there some trick related to the use of leak_search i.e. another configuration option to be used on the same time ?
What is the extra internal checks performed as a result of setting leak_search on ? Should these checks report leaks that would
otherwise be missed ?
Thanks in advance