*** buffer overflow detected ***: qemu-system-x86_64 terminated with nowait enabled

Bug #1077514 reported by Kaare Baastrup
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned

Bug Description

qemu-system-x86_64 -m 1024 -nographic -cpu coreduo -icount auto -hdachs 980,16,32 -kernel asa842-vmlinuz -initrd asa842-initrd.gz -append "ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536 no-hlt" -net nic -serial telnet::3020,server,nowait
failed to initialize KVM: Device or resource busy
Back to tcg accelerator.
QEMU 1.2.0 monitor - type 'help' for more information
(qemu) Warning: vlan 0 is not connected to host network
*** buffer overflow detected ***: qemu-system-x86_64 terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fd9f04b882c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7fd9f04b7700]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a7be)[0x7fd9f04b87be]
qemu-system-x86_64(+0xf1b5d)[0x7fd9f4bb1b5d]
qemu-system-x86_64(+0x18f148)[0x7fd9f4c4f148]
qemu-system-x86_64(main+0xfe3)[0x7fd9f4b35353]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fd9f03cf76d]
qemu-system-x86_64(+0x796e9)[0x7fd9f4b396e9]
======= Memory map: ========
40f54000-50f54000 rwxp 00000000 00:00 0
7fd990000000-7fd990029000 rw-p 00000000 00:00 0
7fd990029000-7fd994000000 ---p 00000000 00:00 0
7fd995907000-7fd995a34000 rw-p 00000000 00:00 0
7fd995a34000-7fd995a76000 rw-p 00000000 00:00 0
7fd995a76000-7fd995c00000 rw-p 00000000 00:00 0
7fd995c00000-7fd996c00000 rw-p 00000000 00:00 0
7fd996c00000-7fd99842c000 rw-p 00000000 00:00 0
7fd99842d000-7fd99842e000 rw-p 00000000 00:00 0
7fd99842e000-7fd99844e000 rw-p 00000000 00:00 0
7fd99844e000-7fd998450000 rw-p 00000000 00:00 0
7fd998450000-7fd998470000 rw-p 00000000 00:00 0
7fd998470000-7fd998472000 rw-p 00000000 00:00 0
7fd998472000-7fd998492000 rw-p 00000000 00:00 0
7fd998492000-7fd998493000 rw-p 00000000 00:00 0
7fd998493000-7fd998494000 ---p 00000000 00:00 0
7fd998494000-7fd998d95000 rw-p 00000000 00:00 0 [stack:4808]
7fd998dd6000-7fd998e00000 rw-p 00000000 00:00 0
7fd998e00000-7fd9d8e00000 rw-p 00000000 00:00 0
7fd9d8e00000-7fd9d8fd7000 rw-p 00000000 00:00 0
7fd9d8fd7000-7fd9d8fd8000 ---p 00000000 00:00 0
7fd9d8fd8000-7fd9e87d9000 rw-p 00000000 00:00 0 [stack:4807]
7fd9e87d9000-7fd9e87e2000 r-xp 00000000 08:05 1577354 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd9e87e2000-7fd9e89e2000 ---p 00009000 08:05 1577354 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd9e89e2000-7fd9e89e3000 r--p 00009000 08:05 1577354 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd9e89e3000-7fd9e89e4000 rw-p 0000a000 08:05 1577354 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd9e89e4000-7fd9e8a12000 rw-p 00000000 00:00 0
7fd9e8a12000-7fd9e8ab7000 r-xp 00000000 08:05 4341908 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fd9e8ab7000-7fd9e8cb7000 ---p 000a5000 08:05 4341908 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fd9e8cb7000-7fd9e8cb9000 r--p 000a5000 08:05 4341908 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fd9e8cb9000-7fd9e8cbb000 rw-p 000a7000 08:05 4341908 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fd9e8cbb000-7fd9e8cbc000 rw-p 00000000 00:00 0
7fd9e8cbc000-7fd9e8d00000 r-xp 00000000 08:05 4341652 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fd9e8d00000-7fd9e8f00000 ---p 00044000 08:05 4341652 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fd9e8f00000-7fd9e8f02000 r--p 00044000 08:05 4341652 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fd9e8f02000-7fd9e8f04000 rw-p 00046000 08:05 4341652 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fd9e8f04000-7fd9e8f11000 r-xp 00000000 08:05 4341646 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fd9e8f11000-7fd9e9110000 ---p 0000d000 08:05 4341646 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fd9e9110000-7fd9e9111000 r--p 0000c000 08:05 4341646 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fd9e9111000-7fd9e9112000 rw-p 0000d000 08:05 4341646 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fd9e9112000-7fd9e913a000 r-xp 00000000 08:05 4341985 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fd9e913a000-7fd9e9339000 ---p 00028000 08:05 4341985 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fd9e9339000-7fd9e933a000 r--p 00027000 08:05 4341985 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fd9e933a000-7fd9e933b000 rw-p 00028000 08:05 4341985 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fd9e933b000-7fd9e933c000 rw-p 00000000 00:00 0
7fd9e933c000-7fd9e9342000 r-xp 00000000 08:05 4341777 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7fd9e9342000-7fd9e9541000 ---p 00006000 08:05 4341777 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7fd9e9541000-7fd9e9542000 r--p 00005000 08:05 4341777 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7fd9e9542000-7fd9e9543000 rw-p 00006000 08:05 4341777 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7fd9e9543000-7fd9e956e000 r-xp 00000000 08:05 4341974 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7fd9e956e000-7fd9e976e000 ---p 0002b000 08:05 4341974 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7fd9e976e000-7fd9e976f000 r--p 0002b000 08:05 4341974 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7fd9e976f000-7fd9e9770000 rw-p 0002c000 08:05 4341974 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7fd9e9770000-7fd9e9a23000 r-xp 00000000 08:05 4341976 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7fd9e9a23000-7fd9e9c22000 ---p 002b3000 08:05 4341976 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7fd9e9c22000-7fd9e9c3e000 r--p 002b2000 08:05 4341976 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7fd9e9c3e000-7fd9e9c3f000 rw-p 002ce000 08:05 4341976 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7fd9e9c3f000-7fd9e9c89000 r-xp 00000000 08:05 4336879 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7fd9e9c89000-7fd9e9e89000 ---p 0004a000 08:05 4336879 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7fd9e9e89000-7fd9e9e8a000 r--p 0004a000 08:05 4336879 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7fd9e9e8a000-7fd9e9e8b000 rw-p 0004b000 08:05 4336879 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7fd9e9e8b000-7fd9e9ea2000 r-xp 00000000 08:05 1577610 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fd9e9ea2000-7fd9ea0a1000 ---p 00017000 08:05 1577610 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fd9ea0a1000-7fd9ea0a2000 r--p 00016000 08:05 1577610 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fd9ea0a2000-7fd9ea0a3000 rw-p 00017000 08:05 1577610 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fd9ea0a3000-7fd9ea0a6000 rw-p 00000000 00:00 0
7fd9ea0a6000-7fd9ea0a8000 r-xp 00000000 08:05 1579638 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7fd9ea0a8000-7fd9ea2a8000 ---p 00002000 08:05 1579638 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7fd9ea2a8000-7fd9ea2a9000 r--p 00002000 08:05 1579638 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7fd9ea2a9000-7fd9ea2aa000 rw-p 00003000 08:05 1579638 /lib/x86_64-linux-gnu/libkeyutils.so.1.4Afbrudt (SIGABRT) (core dumped)

this only happens with "nowait" enabled.

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 1077514] [NEW] *** buffer overflow detected ***: qemu-system-x86_64 terminated with nowait enabled

On Sun, Nov 11, 2012 at 12:24 AM, Kaare Baastrup <email address hidden> wrote:
> Public bug reported:
>
> qemu-system-x86_64 -m 1024 -nographic -cpu coreduo -icount auto -hdachs 980,16,32 -kernel asa842-vmlinuz -initrd asa842-initrd.gz -append "ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536 no-hlt" -net nic -serial telnet::3020,server,nowait
> failed to initialize KVM: Device or resource busy
> Back to tcg accelerator.
> QEMU 1.2.0 monitor - type 'help' for more information
> (qemu) Warning: vlan 0 is not connected to host network
> *** buffer overflow detected ***: qemu-system-x86_64 terminated

I'm unable to reproduce this on Fedora 18 with qemu.git/master.

> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fd9f04b882c]
> /lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7fd9f04b7700]
> /lib/x86_64-linux-gnu/libc.so.6(+0x10a7be)[0x7fd9f04b87be]
> qemu-system-x86_64(+0xf1b5d)[0x7fd9f4bb1b5d]
> qemu-system-x86_64(+0x18f148)[0x7fd9f4c4f148]
> qemu-system-x86_64(main+0xfe3)[0x7fd9f4b35353]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fd9f03cf76d]
> qemu-system-x86_64(+0x796e9)[0x7fd9f4b396e9]

The backtrace is missing symbol information. Please install the
debuginfo packages and repost the backtrace:
https://wiki.ubuntu.com/DebuggingProgramCrash#Debug_Symbol_Packages

Alternatively, please build qemu.git/master from source (it has symbol
information) and try to reproduce the bug.

Stefan

Thomas Huth (th-huth)
Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.