Project

General

Profile

Bug #1778 » gdb.sess.log

Oliver Francke, 12/06/2011 02:14 AM

 
root@cephnode2:/usr/src/qemu-1.0# ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -enable-kvm -pidfile /var/run/qemu-server/905.pid -usbdevice tablet -smp sockets=1,cores=1 -vga std -drive format=rbd,file=
=rbd:data/vm-905-disk-1.qcow2,if=virtio,media=disk -boot c -m 512 -vnc :905 -k de -monitor unix:/var/run/qemu-server/905.mon,server,nowait -netdev type=tap,id=vlan0d0,ifname=tap905i0d0,script=/etc/fcms/add
d_if.sh,downscript=/etc/fcms/del_if.sh -device virtio-net-pci,mac=00:0F:17:00:38:90,netdev=vlan0d0
*** glibc detected *** ./x86_64-softmmu/qemu-system-x86_64: double free or corruption (out): 0x00007fff26523020 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ad6)[0x7fc7231c3ad6]
/lib/libc.so.6(cfree+0x6c)[0x7fc7231c884c]
./x86_64-softmmu/qemu-system-x86_64[0x5009a2]
./x86_64-softmmu/qemu-system-x86_64[0x5451cf]
./x86_64-softmmu/qemu-system-x86_64[0x5454f5]
./x86_64-softmmu/qemu-system-x86_64[0x60c784]
./x86_64-softmmu/qemu-system-x86_64[0x60e133]
./x86_64-softmmu/qemu-system-x86_64[0x53feab]
./x86_64-softmmu/qemu-system-x86_64[0x60e077]
./x86_64-softmmu/qemu-system-x86_64[0x52c2fa]
./x86_64-softmmu/qemu-system-x86_64[0x52fe4d]
./x86_64-softmmu/qemu-system-x86_64[0x471602]
./x86_64-softmmu/qemu-system-x86_64[0x509b6b]
./x86_64-softmmu/qemu-system-x86_64[0x4ff152]
./x86_64-softmmu/qemu-system-x86_64[0x503b1d]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fc723170c4d]
./x86_64-softmmu/qemu-system-x86_64[0x409859]
======= Memory map: ========
00400000-007ea000 r-xp 00000000 08:03 2139642 /usr/src/qemu-1.0/x86_64-softmmu/qemu-system-x86_64
009ea000-00a39000 rw-p 003ea000 08:03 2139642 /usr/src/qemu-1.0/x86_64-softmmu/qemu-system-x86_64
00a39000-01247000 rw-p 00000000 00:00 0
02e07000-02e4d000 rw-p 00000000 00:00 0 [heap]
7fc6f6afc000-7fc6f6afd000 ---p 00000000 00:00 0
7fc6f6afd000-7fc6f6bfd000 rw-p 00000000 00:00 0
7fc6f6bfd000-7fc6f6bfe000 ---p 00000000 00:00 0
7fc6f6bfe000-7fc6f7400000 rw-p 00000000 00:00 0
7fc6f7400000-7fc6f7c00000 rw-p 00000000 00:00 0
7fc6f7c00000-7fc6f7e00000 rw-p 00000000 00:00 0
7fc6f7e00000-7fc717e00000 rw-p 00000000 00:00 0
7fc717e00000-7fc718000000 rw-p 00000000 00:00 0
7fc718000000-7fc718242000 rw-p 00000000 00:00 0
7fc718242000-7fc718252000 rw-p 00000000 00:00 0
7fc718252000-7fc718281000 rw-p 00000000 00:00 0
7fc718281000-7fc718291000 rw-p 00000000 00:00 0
7fc718291000-7fc7182b4000 rw-p 00000000 00:00 0
7fc7182b4000-7fc71c000000 ---p 00000000 00:00 0
7fc71c0cd000-7fc71c0ce000 ---p 00000000 00:00 0
7fc71c0ce000-7fc71c5b1000 rw-p 00000000 00:00 0
7fc71c5b1000-7fc71c5b2000 ---p 00000000 00:00 0
7fc71c5b2000-7fc71cdb2000 rw-p 00000000 00:00 0
7fc71cdb2000-7fc71cdb3000 ---p 00000000 00:00 0
7fc71cdb3000-7fc71ceb3000 rw-p 00000000 00:00 0
7fc71ceb3000-7fc71ceb4000 ---p 00000000 00:00 0
7fc71ceb4000-7fc71cfb4000 rw-p 00000000 00:00 0
7fc71cfb4000-7fc71cfb5000 ---p 00000000 00:00 0
7fc71cfb5000-7fc71d7b5000 rw-p 00000000 00:00 0
7fc71d7b5000-7fc71d7b6000 ---p 00000000 00:00 0
7fc71d7b6000-7fc71d8b6000 rw-p 00000000 00:00 0
7fc71d8b6000-7fc71d8b7000 ---p 00000000 00:00 0
7fc71d8b7000-7fc71e0b7000 rw-p 00000000 00:00 0
7fc71e0b7000-7fc71e0b8000 ---p 00000000 00:00 0
7fc71e0b8000-7fc71e8b8000 rw-p 00000000 00:00 0
7fc71e8b8000-7fc71e8b9000 ---p 00000000 00:00 0
7fc71e8b9000-7fc71f0b9000 rw-p 00000000 00:00 0
7fc71f0b9000-7fc71f0ba000 ---p 00000000 00:00 0
7fc71f0ba000-7fc71f8ba000 rw-p 00000000 00:00 0
7fc71f8ba000-7fc71f8bb000 ---p 00000000 00:00 0
7fc71f8bb000-7fc7200bb000 rw-p 00000000 00:00 0
7fc7200bb000-7fc7200be000 r-xp 00000000 08:03 2220211 /usr/lib/libgpg-error.so.0.4.0
7fc7200be000-7fc7202bd000 ---p 00003000 08:03 2220211 /usr/lib/libgpg-error.so.0.4.0
7fc7202bd000-7fc7202be000 rw-p 00002000 08:03 2220211 /usr/lib/libgpg-error.so.0.4.0
7fc7202be000-7fc7202c0000 r-xp 00000000 08:03 5718366 /lib/libkeyutils.so.1.3
7fc7202c0000-7fc7204bf000 ---p 00002000 08:03 5718366 /lib/libkeyutils.so.1.3
7fc7204bf000-7fc7204c0000 rw-p 00001000 08:03 5718366 /lib/libkeyutils.so.1.3
7fc7204c0000-7fc7204c7000 r-xp 00000000 08:03 2220127 /usr/lib/libkrb5support.so.0.1
7fc7204c7000-7fc7206c7000 ---p 00007000 08:03 2220127 /usr/lib/libkrb5support.so.0.1
7fc7206c7000-7fc7206c8000 rw-p 00007000 08:03 2220127 /usr/lib/libkrb5support.so.0.1
7fc7206c8000-7fc7206cb000 r-xp 00000000 08:03 5718533 /lib/libcom_err.so.2.1
7fc7206cb000-7fc7208ca000 ---p 00003000 08:03 5718533 /lib/libcom_err.so.2.1
7fc7208ca000-7fc7208cb000 rw-p 00002000 08:03 5718533 /lib/libcom_err.so.2.1
7fc7208cb000-7fc7208f0000 r-xp 00000000 08:03 2220462 /usr/lib/libk5crypto.so.3.1
7fc7208f0000-7fc720aef000 ---p 00025000 08:03 2220462 /usr/lib/libk5crypto.so.3.1
7fc720aef000-7fc720af1000 rw-p 00024000 08:03 2220462 /usr/lib/libk5crypto.so.3.1
7fc720af1000-7fc720baf000 r-xp 00000000 08:03 2220161 /usr/lib/libkrb5.so.3.3
7fc720baf000-7fc720dae000 ---p 000be000 08:03 2220161 /usr/lib/libkrb5.so.3.3
7fc720dae000-7fc720db9000 rw-p 000bd000 08:03 2220161 /usr/lib/libkrb5.so.3.3
7fc720db9000-7fc720dd2000 r-xp 00000000 08:03 2220381 /usr/lib/libsasl2.so.2.0.23
7fc720dd2000-7fc720fd1000 ---p 00019000 08:03 2220381 /usr/lib/libsasl2.so.2.0.23
7fc720fd1000-7fc720fd2000 rw-p 00018000 08:03 2220381 /usr/lib/libsasl2.so.2.0.23
7fc720fd2000-7fc720fe5000 r-xp 00000000 08:03 5718610 /lib/libresolv-2.11.2.so
7fc720fe5000-7fc7211e4000 ---p 00013000 08:03 5718610 /lib/libresolv-2.11.2.so
7fc7211e4000-7fc7211e5000 r--p 00012000 08:03 5718610 /lib/libresolv-2.11.2.so
7fc7211e5000-7fc7211e6000 rw-p 00013000 08:03 5718610 /lib/libresolv-2.11.2.so
7fc7211e6000-7fc7211e8000 rw-p 00000000 00:00 0
7fc7211e8000-7fc7211f8000 r-xp 00000000 08:03 2220227 /usr/lib/libtasn1.so.3.1.9
7fc7211f8000-7fc7213f7000 ---p 00010000 08:03 2220227 /usr/lib/libtasn1.so.3.1.9
7fc7213f7000-7fc7213f8000 rw-p 0000f000 08:03 2220227 /usr/lib/libtasn1.so.3.1.9
7fc7213f8000-7fc7213fa000 r-xp 00000000 08:03 5718506 /lib/libdl-2.11.2.so
7fc7213fa000-7fc7215fa000 ---p 00002000 08:03 5718506 /lib/libdl-2.11.2.so
7fc7215fa000-7fc7215fb000 r--p 00002000 08:03 5718506 /lib/libdl-2.11.2.so
7fc7215fb000-7fc7215fc000 rw-p 00003000 08:03 5718506 /lib/libdl-2.11.2.so
7fc7215fc000-7fc721670000 r-xp 00000000 08:03 2220221 /usr/lib/libgcrypt.so.11.5.3Aborted (core dumped)

root@cephnode2:/usr/src/qemu-1.0# gdb -c core x86_64-softmmu/qemu-system-x86_64
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/src/qemu-1.0/x86_64-softmmu/qemu-system-x86_64...done.

warning: core file may not match specified executable file.
[New Thread 27064]
[New Thread 27065]
[New Thread 27071]
[New Thread 27067]
[New Thread 27066]
[New Thread 27072]
[New Thread 27073]
[New Thread 27068]
[New Thread 27075]
[New Thread 27069]
[New Thread 27074]
[New Thread 27070]
[New Thread 27076]
[New Thread 27079]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /usr/lib/librbd.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librbd.so.1
Reading symbols from /usr/lib/librados.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librados.so.2
Reading symbols from /usr/lib/libcurl-gnutls.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcurl-gnutls.so.4
Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/libaio.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libaio.so.1
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libcrypto++.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto++.so.8
Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Core was generated by `./x86_64-softmmu/qemu-system-x86_64 -nodefaults -enable-kvm -pidfile /var/run/q'.
Program terminated with signal 6, Aborted.
#0 0x00007fc723184165 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007fc723184165 in raise () from /lib/libc.so.6
#1 0x00007fc723186f70 in abort () from /lib/libc.so.6
#2 0x00007fc7231ba27b in ?? () from /lib/libc.so.6
#3 0x00007fc7231c3ad6 in ?? () from /lib/libc.so.6
#4 0x00007fc7231c884c in free () from /lib/libc.so.6
#5 0x00000000005009a2 in free_and_trace (mem=0x7fff26523020) at /usr/src/qemu-1.0/vl.c:2149
#6 0x00000000005451cf in bdrv_snapshot_find (bs=0x2e22c70, sn_info=0x7fff265230e0, name=0x7fc718293d30 "test1") at savevm.c:1916
#7 0x00000000005454f5 in do_savevm (mon=0x7fc718003220, qdict=0x7fc7182952e0) at savevm.c:2003
#8 0x000000000060c784 in handle_user_command (mon=0x7fc718003220, cmdline=0x7fc7180036a0 "savevm test1") at /usr/src/qemu-1.0/monitor.c:4130
#9 0x000000000060e133 in monitor_command_cb (mon=0x7fc718003220, cmdline=0x7fc7180036a0 "savevm test1", opaque=0x0) at /usr/src/qemu-1.0/monitor.c:4746
#10 0x000000000053feab in readline_handle_byte (rs=0x7fc7180036a0, ch=10) at readline.c:370
#11 0x000000000060e077 in monitor_read (opaque=0x7fc718003220, buf=0x7fff265235e0 "\n", size=1) at /usr/src/qemu-1.0/monitor.c:4732
#12 0x000000000052c2fa in qemu_chr_be_write (s=0x2e107f0, buf=0x7fff265235e0 "\n", len=1) at qemu-char.c:163
#13 0x000000000052fe4d in tcp_chr_read (opaque=0x2e107f0) at qemu-char.c:2329
#14 0x0000000000471602 in qemu_iohandler_poll (readfds=0x7fff265247c0, writefds=0x7fff26524740, xfds=0x7fff265246c0, ret=1) at iohandler.c:121
#15 0x0000000000509b6b in main_loop_wait (nonblocking=0) at main-loop.c:463
#16 0x00000000004ff152 in main_loop () at /usr/src/qemu-1.0/vl.c:1481
#17 0x0000000000503b1d in main (argc=27, argv=0x7fff26524c98, envp=0x7fff26524d78) at /usr/src/qemu-1.0/vl.c:3485
(gdb) quit
(2-2/2)