Bug 609892

Summary: [abrt] crash in qemu-system-x86-2:0.12.3-8.fc13: inet_listen_opts: Process /usr/bin/qemu-kvm was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: johnandtina
Component: qemuAssignee: Justin M. Forbes <jforbes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: amit.shah, berrange, dwmw2, ehabkost, gcosta, itamar, jaswinder, jforbes, knoel, markmc, ondrejj, scottt.tw, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:c05c1040b198a06bb79ae23e71b02c52d4b26ac0
Fixed In Version: seabios-0.6.0-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-24 21:08:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description johnandtina 2010-07-01 10:55:39 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: qemu-kvm -m 512 -drive file=/dev/mapper/VolGroup-lv_virt_golden,if=virtio -kernel boot-virt/vmlinuz-2.6.33.3-85.fc13.x86_64 -initrd boot-virt/initramfs-2.6.33.3-85.fc13.x86_64.img -append 'ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us 3' -curses -curses -chardev socket,id=console,port=4444,server,telnet -mon chardev=console
component: qemu
crash_function: inet_listen_opts
executable: /usr/bin/qemu-kvm
global_uuid: c05c1040b198a06bb79ae23e71b02c52d4b26ac0
kernel: 2.6.33.5-124.fc13.x86_64
package: qemu-system-x86-2:0.12.3-8.fc13
rating: 4
reason: Process /usr/bin/qemu-kvm was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)

comment
-----
Program received signal SIGSEGV, Segmentation fault.
0x00000000004b19c8 in inet_listen_opts (opts=0x23bfd90, port_offset=0)
    at qemu-sockets.c:149
149         rc = getaddrinfo(strlen(addr) ? addr : NULL, port, &ai, &res);

(gdb) p addr
$1 = 0x0

Docs say 'host=' is optional, should default to '0.0.0.0' for server.

How to reproduce
-----
1. use -chardev socket,...,server  without host=

Comment 1 johnandtina 2010-07-01 10:55:47 UTC
Created attachment 428276 [details]
File: backtrace

Comment 2 Amit Shah 2010-07-01 11:23:45 UTC
Fixed in commit e1f0c1d05d3f96c7471cca1a6991b63574e00b52 upstream

Comment 3 Fedora Update System 2010-08-18 14:02:42 UTC
seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13

Comment 4 Fedora Update System 2010-08-20 02:16:43 UTC
seabios-0.6.0-1.fc13, gpxe-1.0.1-1.fc13, qemu-0.12.5-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update seabios gpxe qemu'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/seabios-0.6.0-1.fc13,gpxe-1.0.1-1.fc13,qemu-0.12.5-1.fc13

Comment 5 Fedora Update System 2010-08-24 21:07:46 UTC
seabios-0.6.0-1.fc13, gpxe-1.0.1-1.fc13, qemu-0.12.5-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.