RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 989306 - qemu-kvm segmentation fault while boot up with qmp port already in use
Summary: qemu-kvm segmentation fault while boot up with qmp port already in use
Keywords:
Status: CLOSED DUPLICATE of bug 984861
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Laszlo Ersek
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-29 03:43 UTC by mazhang
Modified: 2016-09-20 04:39 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 23:34:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mazhang 2013-07-29 03:43:10 UTC
Description of problem:
qemu-kvm segment fault while boot up with qmp port already in use

Version-Release number of selected component (if applicable):
RHEL6.5-20130721.n.0
qemu-kvm-0.12.1.2-2.379.el6.x86_64
kernel-2.6.32-400.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. boot up qemu with
#/usr/libexec/qemu-kvm \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-vnc :0 \

2. try boot up qemu-kvm with the same qmp port.


Actual results:
qemu-kvm quit with segmentation fault.

(gdb) r -monitor stdio -qmp tcp:0:6666,server,nowait -vnc :0
Starting program: /usr/libexec/qemu-kvm -monitor stdio -qmp tcp:0:6666,server,nowait -vnc :0
[Thread debugging using libthread_db enabled]
inet_listen_opts: bind(ipv4,0.0.0.0,6666): Address already in use
inet_listen_opts: FAILED
chardev: opening backend "socket" failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7dd3dde in quit_timers () at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:1858
1858	    alarm_timer->stop(alarm_timer);
Missing separate debuginfos, use: debuginfo-install alsa-lib-1.0.22-3.el6.x86_64 celt051-0.5.1.3-0.el6.x86_64 cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 dbus-libs-1.2.24-7.el6_3.x86_64 flac-1.2.1-6.1.el6.x86_64 glib2-2.26.0-3.el6.x86_64 glibc-2.12-1.107.el6_4.2.x86_64 gnutls-2.8.5-10.el6_4.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.4.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 libX11-1.5.0-4.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXext-1.3.1-2.el6.x86_64 libXi-1.6.1-3.el6.x86_64 libXtst-1.2.1-2.el6.x86_64 libaio-0.3.107-10.el6.x86_64 libasyncns-0.8-1.1.el6.x86_64 libcom_err-1.41.12-14.el6_4.2.x86_64 libgcrypt-1.4.5-9.el6_2.2.x86_64 libgpg-error-1.7-4.el6.x86_64 libjpeg-turbo-1.2.1-1.el6.x86_64 libogg-1.1.4-2.1.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libsndfile-1.0.20-5.el6.x86_64 libtasn1-2.3-3.el6_2.1.x86_64 libuuid-2.17.2-12.9.el6_4.3.x86_64 libvorbis-1.2.3-4.el6_2.1.x86_64 libxcb-1.8.1-1.el6.x86_64 nss-softokn-freebl-3.14.3-4.el6.x86_64 openssl-1.0.1e-5.el6.x86_64 pixman-0.26.2-5.el6_4.x86_64 pulseaudio-libs-0.9.21-14.el6_3.x86_64 spice-server-0.12.4-1.el6.x86_64 tcp_wrappers-libs-7.6-57.el6.x86_64 usbredir-0.5.1-1.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  0x00007ffff7dd3dde in quit_timers () at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:1858
#1  0x00007ffff5712da2 in exit () from /lib64/libc.so.6
#2  0x00007ffff7dd8b91 in select_vgahw (argc=7, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4563
#3  main (argc=7, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:5661


Expected results:
qemu-kvm quit without segmentation fault would be better.

Additional info:

Comment 3 Ademar Reis 2013-08-01 23:34:37 UTC

*** This bug has been marked as a duplicate of bug 984861 ***


Note You need to log in before you can comment on or make changes to this bug.