From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GG0gz-0005FV-8o for qemu-devel@nongnu.org; Wed, 23 Aug 2006 17:55:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GG0gx-0005F4-V7 for qemu-devel@nongnu.org; Wed, 23 Aug 2006 17:55:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GG0gx-0005Ez-Jo for qemu-devel@nongnu.org; Wed, 23 Aug 2006 17:55:19 -0400 Received: from [212.227.126.187] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GG0os-0006Pu-AG for qemu-devel@nongnu.org; Wed, 23 Aug 2006 18:03:30 -0400 Received: from localhost ([127.0.0.1]) by localhost.localdomain with esmtp (Exim 4.62) (envelope-from ) id 1GG0gv-0001Zc-2S for qemu-devel@nongnu.org; Wed, 23 Aug 2006 23:55:17 +0200 Message-ID: <44ECCEC4.4000606@mail.berlios.de> Date: Wed, 23 Aug 2006 23:55:16 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] glibc abort if -snapshot is used References: <1156291360.28673.8.camel@r51.oakcourt.dyndns.org> In-Reply-To: <1156291360.28673.8.camel@r51.oakcourt.dyndns.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Andrew Barr schrieb: > glibc is 2.3.6-ds1-2 from Debian sid. QEMU was compiled with GCC 3.4.6 > also from Debian. Hi Andrew, I get the same error message when a raw disk image cannot be accessed: $ ./i386-softmmu/qemu -snapshot -m 256 /dev/hda Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal error, but for better emulation accuracy either use a 2.6 host Linux kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. *** glibc detected *** double free or corruption (fasttop): 0x09b29120 *** Abgebrochen With read access to /dev/hda, everything works fine. My libc is Debian libc6-2.3.6-15, and the abort message is correct: QEMU CVS head frees the same memory (bs->opaque in bdrv_close) 2 times. Older versions of QEMU did not have this bug: $ qemu -snapshot -m 256 /dev/hda qemu: could not open hard disk image '/dev/hda' Regards Stefan