From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFjbo-00015t-1l for qemu-devel@nongnu.org; Tue, 22 Aug 2006 23:40:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFjbn-00015F-H8 for qemu-devel@nongnu.org; Tue, 22 Aug 2006 23:40:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFjbm-00014y-LL for qemu-devel@nongnu.org; Tue, 22 Aug 2006 23:40:50 -0400 Received: from [64.233.166.176] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFjjW-0003hH-Ve for qemu-devel@nongnu.org; Tue, 22 Aug 2006 23:48:51 -0400 Received: by py-out-1112.google.com with SMTP id x31so3012415pye for ; Tue, 22 Aug 2006 20:40:47 -0700 (PDT) Message-ID: Date: Tue, 22 Aug 2006 22:40:47 -0500 From: "Rene Horn" Subject: Re: [Qemu-devel] glibc abort if -snapshot is used In-Reply-To: <1156291360.28673.8.camel@r51.oakcourt.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_121862_16174328.1156304447483" References: <1156291360.28673.8.camel@r51.oakcourt.dyndns.org> 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 ------=_Part_121862_16174328.1156304447483 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Why not just build it right from the source instead of using debhelper? With that, just have install into /usr/local. Rene On 8/22/06, Andrew Barr wrote: > > Hi, > > I am installing some software (iTunes) in my Windows 2000 SP4 virtual > machine. I don't know what it is going to /do/, specifically, to my VM > so I would like to run QEMU in snapshot mode so that I can commit system > changes only if desired. However, when I run qemu like this, I get into > trouble: > > andrew@r51:~$ qemu -hda .disk/win2k.dsk -m 256 -snapshot -kernel-kqemu > -usb -usbdevice tablet -localtime -smb /home/andrew > *** glibc detected *** double free or corruption (fasttop): 0xAborted > > Sometimes it finishes printing the address: 0x09b2c738 > > The SDL window never comes up, the abort is instanenous. I did a > backtrace but because I built Debian packages debhelper strips the debug > information out, so it doesn't say much. I can rebuild QEMU with debug > information and obtain a proper backtrace if it would be useful to > someone. > > This is a QEMU 0.8.2 CVS snapshot of 2006/08/19. I did a 'cvs up' on my > source tree, only the documentation has been updated since then. > Normally I run this VM exactly the same except without the '-snapshot' > parameter. If I remove that, it starts up as expected. > > The disk image is QCOW2 and kqemu is 1.3.0pre9 (BTW, '-no-kqemu' without > '-kernel-kqemu' makes no difference) > > glibc is 2.3.6-ds1-2 from Debian sid. QEMU was compiled with GCC 3.4.6 > also from Debian. > > -- > Andrew Barr | http://www.oakcourt.dyndns.org/~andrew/ > > All parts should go together without forcing. You must remember that > the parts you are reassembling were disassembled by you. Therefore, if > you can't get them together again, there must be a reason. By all > means, do not use a hammer. > -- IBM maintenance manual (1925) > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- the.rhorn@gmail.com, rhorn@sdf.lonestar.org, hornr18@uwosh.edu (UW-Oshkosh email address), http://rhorn.unixcab.org - a bunch of experimental stuff SDF Public Access UNIX System - http://sdf.lonestar.org Jay Leno in response to Colin Powell's deadline for an Iraqi constitution: "They can take ours. After all, we aren't using it..." ------=_Part_121862_16174328.1156304447483 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Why not just build it right from the source instead of using debhelper?  With that, just have install into /usr/local.

Rene

On 8/22/06, Andrew Barr <andrew.james.barr@gmail.com> wrote:
Hi,

I am installing some software (iTunes) in my Windows 2000 SP4 virtual
machine. I don't know what it is going to /do/, specifically, to my VM
so I would like to run QEMU in snapshot mode so that I can commit system
changes only if desired. However, when I run qemu like this, I get into
trouble:

andrew@r51:~$ qemu -hda .disk/win2k.dsk -m 256 -snapshot -kernel-kqemu
-usb -usbdevice tablet -localtime -smb /home/andrew
*** glibc detected *** double free or corruption (fasttop): 0xAborted

Sometimes it finishes printing the address: 0x09b2c738

The SDL window never comes up, the abort is instanenous. I did a
backtrace but because I built Debian packages debhelper strips the debug
information out, so it doesn't say much. I can rebuild QEMU with debug
information and obtain a proper backtrace if it would be useful to
someone.

This is a QEMU 0.8.2 CVS snapshot of 2006/08/19. I did a 'cvs up' on my
source tree, only the documentation has been updated since then.
Normally I run this VM exactly the same except without the '-snapshot'
parameter. If I remove that, it starts up as expected.

The disk image is QCOW2 and kqemu is 1.3.0pre9 (BTW, '-no-kqemu' without
'-kernel-kqemu' makes no difference)

glibc is 2.3.6-ds1-2 from Debian sid. QEMU was compiled with GCC 3.4.6
also from Debian.

--
Andrew Barr | http://www.oakcourt.dyndns.org/~andrew/

All parts should go together without forcing. You must remember that
the parts you are reassembling were disassembled by you. Therefore, if
you can't get them together again, there must be a reason. By all
means, do not use a hammer.
  -- IBM maintenance manual (1925)


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel



--
the.rhorn@gmail.com , rhorn@sdf.lonestar.org,
hornr18@uwosh.edu (UW-Oshkosh email address),
http://rhorn.unixcab.org - a bunch of experimental stuff
SDF Public Access UNIX System - http://sdf.lonestar.org

Jay Leno in response to Colin Powell's deadline for an Iraqi
constitution:
"They can take ours.  After all, we aren't using it..." ------=_Part_121862_16174328.1156304447483--