On Mon, Jan 16, 2023 at 2:21 PM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
Also want to mention that your valgrind command line is ... a little
naive. Many other options are useful. Here's what we use in nbdkit:
https://gitlab.com/nbdkit/nbdkit/-/blob/a5f804180240aea7031470cb8ed294f904268f0a/wrapper.c#L206-216
(Best to check each of these options in the manual before using)
Also make use of suppressions:
https://gitlab.com/nbdkit/nbdkit/-/tree/master/valgrind
Also, to add to this, glib2 has a suppressions file you can use to cut down on the false positives: /usr/share/glib-2.0/valgrind/glib.supp
--
Kalev
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue