Hey,

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:

https://github.com/pwithnall/walbottle/blob/master/libwalbottle/tests/w
albottle.supp

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:

https://bugzilla.gnome.org/show_bug.cgi?id=666114#c28

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:

https://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto#Valgrind_and
_suppression_files

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=93376
https://bugs.kde.org/show_bug.cgi?id=160905 (basically a duplicate)

Philip

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

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to