qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] glibc abort if -snapshot is used


From: Andrew Barr
Subject: Re: [Qemu-devel] glibc abort if -snapshot is used
Date: Wed, 23 Aug 2006 12:14:02 -0400

On Tue, 2006-08-22 at 22:40 -0500, Rene Horn wrote:
> Why not just build it right from the source instead of using
> debhelper?  With that, just have install into /usr/local.

Well, apparently QEMU's build system strips the binaries on it's own so
debhelper is irrelevant to this particular problem. Anyway, after
moving /usr/bin/strip out of the way and symlinking that to /bin/true, I
have a backtrace I hope will be of use to Fabrice or someone else:

(gdb) run
Starting program: /usr/local/bin/qemu -hda .disk/win2k.dsk -m 256
-kernel-kqemu -usb -usbdevice tablet -localtime -smb /home/andrew
-snapshot
[Thread debugging using libthread_db enabled]
[New Thread -1480591680 (LWP 28161)]
*** glibc detected *** double free or corruption (fasttop): 0x09b53760
***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1480591680 (LWP 28161)]
0xa7fe5792 in ?? () from /lib/ld-linux.so.2
(gdb) where
#0  0xa7fe5792 in ?? () from /lib/ld-linux.so.2
#1  0xa7dcd821 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xa7dcefb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xa7e02c4a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4  0xa7e0a4df in mallopt () from /lib/tls/i686/cmov/libc.so.6
#5  0xa7e0a582 in free () from /lib/tls/i686/cmov/libc.so.6
#6  0x0805b37c in bdrv_close (bs=0xa7ed1ff4)
at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:406
#7  0x0805b3d2 in bdrv_delete (bs=0x9b52ce8)
at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:425
#8  0x0805be8a in bdrv_file_open (pbs=0x0, filename=0x0, flags=-2)
    at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:288
#9  0x0805bd4a in bdrv_open2 (bs=0x9b52270, filename=0xafb4cee0
"/tmp/.disk/win2k.dsk", flags=0, drv=0x0)
    at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:256
#10 0x0805be25 in bdrv_open (bs=0x0, filename=0x0, flags=0)
at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:297
#11 0x0805bc55 in bdrv_open2 (bs=0x9b287d0, filename=0xafb4d2e0
"/tmp/vl.xxJfqK", flags=8, drv=0x81327c0)
    at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:388
#12 0x0805be25 in bdrv_open (bs=0x0, filename=0x0, flags=0)
at /home/andrew/packages/src/qemu-0.8.2.20060819/block.c:297
#13 0x08052e6e in main (argc=13, argv=0xafb50294)
at /home/andrew/packages/src/qemu-0.8.2.20060819/vl.c:6784

-- 
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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]