On Fri, Mar 20, 2009 at 1:18 AM, Imhexyl Imhexyl <[email protected]> wrote: > > I was checking the simplest glib program continually. Now, I found the > leak-check could not give a summary of used suppression specifically. In my > default.supp file, there is a rule named "glib type registry", which is used > to suppress 20 blocks leak report. As I commented this rule, the 20 blocks > suppressed report will turn into 20 blocks possibly lost report. At the end > of execution, Valgrind only prints out one line for a rule named dl-hack3-1, > which is also used to suppress some errors, but Valgrind does not prints any > more information about "glib type registry" used by leak checking as manual > says. > > I wander that if I missed any trick to get exact information about > suppression used by leak-check?
Hmm, not sure about that... there might not be a trick, there might not be a good way to do that. > There is another thing I wander to know. While I commented the "glib type > registry" rule in the suppression file, Valgrind described the error > beginning with "800 bytes in 20 blocks are possibly lost in loss record 1 of > 5". In my opinion, "1 of 5" means there were five leak errors, and this is > one of these, but Valgrind did not give out other four error further. where > are these four errors? There are loss records also for "still reachable" and "indirectly lost" blocks, but these are not shown unless you specify --show-reachable=yes. It's a bit confusing. Nick ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
