Thanks for the replies.

I mean there should be a line "--10440-- supp: 20 glib type registry", just
like "--10440-- supp: 17 dl-hack3-1" gave in the report. In order to notify
user that "glib type registry" had been used in this case.

As Nicholas's reply, in my opinion, there is not such a function for
leak-check. If so, I think it's never mind, as user should have a good
understanding of the effect of every suppressions will be used, and read
default suppression file first. But, perhaps, manual should tell users that
leak-check will not report which suppression has been used, which may cause
confusion.

Thanks,

Hexyl

2009/3/21 Dan Kegel <[email protected]>

> On Thu, Mar 19, 2009 at 11:18 PM, 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?
>
> dl-hack3-1 is a built-in suppression for your glibc, see
>
> http://www.mail-archive.com/[email protected]/msg00611.html
> - Dan
>
------------------------------------------------------------------------------
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

Reply via email to