qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] glibc abort if -snapshot is used
Date: Wed, 23 Aug 2006 23:55:16 +0200	[thread overview]
Message-ID: <44ECCEC4.4000606@mail.berlios.de> (raw)
In-Reply-To: <1156291360.28673.8.camel@r51.oakcourt.dyndns.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

  parent reply	other threads:[~2006-08-23 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23  0:02 [Qemu-devel] glibc abort if -snapshot is used Andrew Barr
2006-08-23  3:40 ` Rene Horn
2006-08-23 16:14   ` Andrew Barr
2006-08-23 16:48     ` Leonardo E. Reiter
2006-08-23 21:55 ` Stefan Weil [this message]
2006-08-23 22:00   ` Stefan Weil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44ECCEC4.4000606@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).