From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2mGR-0004wi-4W for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:20:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2mG2-0000ab-8a for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:20:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2mG2-0000ZW-0b for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:20:02 -0500 Date: Wed, 29 Feb 2012 18:20:04 +0200 From: "Michael S. Tsirkin" Message-ID: <20120229162002.GD8661@redhat.com> References: <20120229161630.GB8661@redhat.com> <4F4E4FCF.1010601@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F4E4FCF.1010601@codemonkey.ws> Subject: Re: [Qemu-devel] port io mem leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: avi@redhat.com, qemu-devel@nongnu.org On Wed, Feb 29, 2012 at 10:18:23AM -0600, Anthony Liguori wrote: > On 02/29/2012 10:16 AM, Michael S. Tsirkin wrote: > >Valgrind shows a memory leak below: > > Is this with Avi's latest branch or is this in qemu.git? > > Regards, > > Anthony Liguori Avi's latest branch. > > > >==21745== 208 (112 direct, 96 indirect) bytes in 2 blocks are definitely > >lost in loss record 588 of 856 > >==21745== at 0x4A05FDE: malloc (vg_replace_malloc.c:236) > >==21745== by 0x24D4C5: malloc_and_trace (vl.c:2156) > >==21745== by 0x50637D2: g_malloc (in /lib64/libglib-2.0.so.0.2200.5) > >==21745== by 0x21A519: isa_register_portio_list (isa-bus.c:102) > >==21745== by 0x210DF7: ide_init_ioport (core.c:1993) > >==21745== by 0x2169EF: pci_piix_ide_initfn (piix.c:137) > >==21745== by 0x2269DD: pci_qdev_init (pci.c:1492) > >==21745== by 0x274839: qdev_init (qdev.c:150) > >==21745== by 0x27491C: qdev_init_nofail (qdev.c:243) > >==21745== by 0x225DD7: pci_create_simple_multifunction (pci.c:1552) > >==21745== by 0x216C7E: pci_piix3_ide_init (piix.c:224) > >==21745== by 0x3380A6: pc_init1 (pc_piix.c:257) > >