Web lists-archives.com

Re: Up-to-date Valgrind suppression file for GLib/GTK+ ?


On Mon, 2016-08-01 at 20:10 +0200, Sébastien Wilmet wrote:
> GLib/GTK+ don't seem to provide a Valgrind suppression file upstream.
> At
> the following wiki page:
> https://wiki.gnome.org/Valgrind

That page is fairly outdated. I’ll give it a bit of a spruce up.

> So, is there an up-to-date Valgrind suppression file somewhere? Or is
> GNOME.supp the most up-to-date?

The one I’ve been using is here:


It covers most of the GLib and GIO functionality which I’ve been using
recently. Enough to get the Walbottle tests Valgrind-clean, at least.

I do not claim it’s anything like perfect though.

> I'm aware of:
>   "Make GLib valgrind friendly"
>   https://bugzilla.gnome.org/show_bug.cgi?id=627423
> But in that bug, there is no significant activity since 2013, so if
> there is an up-to-date suppression file, it might make sense to
> include
> it upstream, and install it.

This has been discussed before, and I failed to do anything about it:


Installing a suppression file with GLib won’t fix everything, because
Valgrind only has one default suppression file, which we can’t modify
or add to. So even if GLib installed a suppression file, you’d have to
pass it as a --suppressions argument to Valgrind manually. However,
that is better than having to write your own suppressions file //and//
pass it in.

See here for information about default.supp:


Valgrind has a couple of bugs open about improving its support for
default suppressions. None of them have seen activity recently:

https://bugs.kde.org/show_bug.cgi?id=160905 ;(basically a duplicate)


Attachment: signature.asc
Description: This is a digitally signed message part

gtk-devel-list mailing list