[Libguestfs] [PATCH nbdkit 3/4] valgrind: Enable valgrinding of Python plugin.
Eric Blake
eblake at redhat.com
Mon Dec 3 18:58:21 UTC 2018
On 12/2/18 10:39 AM, Richard W.M. Jones wrote:
> I had to add several suppressions because Python leaks memory by
> design, and also increase the max depth of valgrind stack traces
> because Python stack traces are very deep.
>
> Note that to do proper valgrinding of Python itself we would need to
> specially recompile Python:
> https://svn.python.org/projects/python/trunk/Misc/README.valgrind
Odd - the site asks for username/password, but still shows the content
even when I cancel the dialog box.
> ---
> tests/test-lang-plugins.c | 3 +-
> valgrind/python.suppressions | 75 ++++++++++++++++++++++++++++++++++++
> wrapper.c | 2 +-
> 3 files changed, 77 insertions(+), 3 deletions(-)
ACK.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
More information about the Libguestfs
mailing list