From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2mEg-0002ev-Fr for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:18:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2mEZ-00005Q-85 for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:18:38 -0500 Received: from mail-pz0-f46.google.com ([209.85.210.46]:63827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2mEZ-000056-1q for qemu-devel@nongnu.org; Wed, 29 Feb 2012 11:18:31 -0500 Received: by dajr28 with SMTP id r28so695136daj.33 for ; Wed, 29 Feb 2012 08:18:28 -0800 (PST) Message-ID: <4F4E4FCF.1010601@codemonkey.ws> Date: Wed, 29 Feb 2012 10:18:23 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <20120229161630.GB8661@redhat.com> In-Reply-To: <20120229161630.GB8661@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] port io mem leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: avi@redhat.com, qemu-devel@nongnu.org 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 > > ==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) >