Description of problem:
==12033== at 0x4C2745D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==12033== by 0x60C960F: __vasprintf_chk (in /usr/lib64/libc-2.18.so)
==12033== by 0x541AF45: virVasprintfInternal (stdio2.h:210)
==12033== by 0x541B03A: virAsprintfInternal (virstring.c:358)
==12033== by 0x54DA65C: testDomainGenerateIfnames (test_driver.c:409)
==12033== by 0x54DC133: testConnectOpen (test_driver.c:915)
==12033== by 0x549D216: do_open (libvirt.c:1239)
==12033== by 0x549FA98: virConnectOpenAuth (libvirt.c:1481)
==12033== by 0x5267F3: v2v_dumpxml (domainxml-c.c:88)
==12033== by 0x46A8DE: camlInput_libvirt__fun_1089 (utils.ml:29)
==12033== by 0x4576E5: camlV2v__main_1021 (v2v.ml:43)
==12033== by 0x4589B0: camlV2v__entry (v2v.ml:359)
Version-Release number of selected component (if applicable):
Unfortunately I was not able to test this with upstream
libvirt since it seems the ./run script is broken. My program
is unable to connect to the session libvirtd socket.
With 220.127.116.11-2, 100% reproducible.
Steps to Reproduce:
1. Run virt-v2v under valgrind.
2. Supply the libvirt test XML from here:
3. Something about the bridges & networks in this XML causes a
memory leak in the test driver, as shown above.
Fixed upstream by:
Author: Ján Tomko <firstname.lastname@example.org>
CommitDate: 2014-09-02 11:57:39 +0200
Free ifname in testDomainGenerateIfnames
git describe: v1.2.8-2-g628c225
Backported to v1.1.3-maint as: v18.104.22.168-8-ga36e39c
libvirt-22.214.171.124-1.fc20 has been submitted as an update for Fedora 20.
libvirt-126.96.36.199-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.