Re: Up-to-date Valgrind suppression file for GLib/GTK+ ?
- Date: Mon, 02 Jan 2017 16:06:02 +0100
- From: Bastien Nocera <hadess@xxxxxxxxxx>
- Subject: Re: Up-to-date Valgrind suppression file for GLib/GTK+ ?
On Mon, 2017-01-02 at 16:02 +0100, Stefan Sauer wrote:
> On 12/30/2016 12:09 PM, jcupitt@xxxxxxxxx wrote:
> > On 29 December 2016 at 23:55, Emmanuele Bassi <ebassi@xxxxxxxxx>
> > wrote:
> > > As Philip explained earlier in the thread, Valgrind can only
> > > accept a
> > > single suppression file. So, if GTK+ ships a suppression file, it
> > > would need to include suppression rules for all its dependencies,
> > > and
> > > you would still be unable to add your own on top of that. The
> > > only way
> > I realize you're talking about the default suppressions file, but
> > of
> > course valgrind can load many non-default suppression files at
> > once.
> > Up to 100, according to the man page.
> you were quicker than me :) But yep, up to 100 and I think if an app
> more that 100 dependencies they've got worse problems that exceeding
> this count.
Would be nice to be able to pass a directory of suppression files, so
that we don't need to do this manually.
> > $ valgrind --suppressions=/first/file.supp --
> > suppressions=/second/file.supp ...
> > So I think there would be some value in shipping separate, official
> > .supps for glib, gobject, gio, gtk etc etc.
> > We'd need one for each .pc file, so Stefan's suggestion of a
> > pkg-config var sounds very reasonable to me.
> > John
> > _______________________________________________
> > gtk-devel-list mailing list
> > gtk-devel-list@xxxxxxxxx
> > https://mail.gnome.org/mailman/listinfo/gtk-devel-list
> gtk-devel-list mailing list
gtk-devel-list mailing list