On Wed, Jul 12, 2023 at 03:19:59PM +0000, Tage Johansson wrote:
While writing some tests for the Rust bindings, I discovered a
memory leak with Valgrind due to a completion callback not being
freed.
A note about the valgrind tests:
They are quite sensitive to versions of software installed. Basically
they work on my machine, they may work on other Fedora developer's
machines. They probably won't work in general.
Another thing is they are known to fail if you don't have full debug
symbols installed (and probably frame pointers enabled), since the
stack traces won't be accurate and won't be comparable to the symbol
names in valgrind/suppressions.
As Eric said, if you see another valgrind failure please post the
complete error on the mailing list so we can take a look at it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html