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 1099339 - qemu-kvm core dumps when expire password to vnc protocol while boot with spice
Summary: qemu-kvm core dumps when expire password to vnc protocol while boot with spice
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-20 05:46 UTC by mazhang
Modified: 2014-05-20 08:27 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 804066
Environment:
Last Closed: 2014-05-20 08:08:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 mazhang 2014-05-20 05:50:57 UTC
Hit this problem on qemu-kvm-0.12.1.2-2.425.el6.x86_64.

Steps:
1. Boot vm with spice.

-vga qxl \
-spice port=5900,disable-ticketing \

2. expire password to vnc protocol

(qemu) expire_password vnc +32

Result:
Qemu-kvm core dumped.

(gdb) bt full
#0  vnc_display_pw_expire (ds=0x0, expires=1400564488) at /usr/src/debug/qemu-kvm-0.12.1.2/vnc.c:2693
        vs = 0x0
#1  0x00007ffff7dc4fae in expire_password (mon=<value optimized out>, qdict=<value optimized out>, 
    ret_data=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:1398
        protocol = <value optimized out>
        whenstr = <value optimized out>
        when = <value optimized out>
        rc = <value optimized out>
        __func__ = "expire_password"
#2  0x00007ffff7dc5f70 in monitor_call_handler (mon=0x7ffff88e7640, cmd=0x7ffff82c0328, 
    params=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4375
        ret = <value optimized out>
        data = 0x0
#3  0x00007ffff7dcb3ff in handle_user_command (mon=0x7ffff88e7640, cmdline=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4412
        qdict = 0x7ffffc7133d0
        cmd = 0x7ffff82c0328
#4  0x00007ffff7dcb537 in monitor_command_cb (mon=0x7ffff88e7640, cmdline=<value optimized out>, 
    opaque=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:5050
No locals.
#5  0x00007ffff7e32abd in readline_handle_byte (rs=0x7ffff92da920, ch=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/readline.c:369
No locals.
#6  0x00007ffff7dcb765 in monitor_read (opaque=<value optimized out>, buf=0x7fffffffb980 "\r", size=1)
    at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:5036
        old_mon = 0x0
        i = <value optimized out>
#7  0x00007ffff7e493cf in qemu_chr_be_write (chan=<value optimized out>, cond=<value optimized out>, opaque=
    0x7ffff86e5880) at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-char.c:192
No locals.
#8  fd_chr_read (chan=<value optimized out>, cond=<value optimized out>, opaque=0x7ffff86e5880)
    at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-char.c:793
        chr = 0x7ffff86e5880
        s = <value optimized out>
        len = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        buf = 
    "\r\000\020\000\000\000\000\000\060\001\000\000\000\000\000\000\377\017\000\000\000\000\000\000\000\360\377\377\377\377\377\377\000\b\000\000\000\000\000\000\060\000\020\000\000\000\000\000\004\000\000\000\000\000\000\000\265\372\220\364\377\177\000\000\200\356\273\364\377\177\000\000\300\203\370\376\377\177\000\000\330\356\273\364\377\177\000\000IÊŠ\364\377\177\000\000\001\000\000\000\000\000\000\000\252\220\212\364\377\177\000\000\021\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\020\000\000\000\000\000i\267o\367\377\177\000\000\000\000\000\000\000\000\000\000\225\016\336\367\377\177\000\000\001\000\000\000\000\000\000\000\060\000\020\000\000\000\000\000\004\000\000\000\000\000\000\000 \000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\001\000\001\000\060@\000\000[\b\000\000\200\000\000\000\227\000\000\000n\001\000\000\001\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\030\000\000\000\000\000\000\000"...
        status = <value optimized out>
#9  0x00007ffff7224eb2 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
No symbol table info available.
#10 0x00007ffff7dbe33a in glib_select_poll (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4001
        context = 0x7ffff86e6090
#11 main_loop_wait (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4074
        ioh = <value optimized out>
        rfds = {fds_bits = {1, 0 <repeats 15 times>}}
        wfds = {fds_bits = {0 <repeats 16 times>}}
        xfds = {fds_bits = {0 <repeats 16 times>}}
        ret = <value optimized out>
        nfds = 30
        tv = {tv_sec = 0, tv_usec = 999275}
#12 0x00007ffff7de143a in kvm_main_loop () at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2258
        fds = {27, 28}
        mask = {__val = {268443712, 0 <repeats 15 times>}}
        sigfd = 29
#13 0x00007ffff7dc10c0 in main_loop (argc=43, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4268
        r = <value optimized out>
#14 main (argc=43, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6706
        gdbstub_dev = 0x0
        i = <value optimized out>
        snapshot = 0
---Type <return> to continue, or q <return> to quit---
        linux_boot = 0
        initrd_filename = 0x0
        kernel_filename = 0x0
        kernel_cmdline = 0x7ffff7f8d94f ""
        boot_devices = "cad", '\000' <repeats 29 times>
        ds = <value optimized out>
        dcl = <value optimized out>
        cyls = 0
        heads = 0
        secs = 0
        translation = 0
        hda_opts = 0x7ffff82f0910
        opts = <value optimized out>
        olist = <value optimized out>
        optind = 43
        optarg = 0x7fffffffe6f2 "port=5900,disable-ticketing"
        loadvm = 0x0
        machine = 0x7ffff82e9ec0
        cpu_model = 0x7fffffffe3d2 "SandyBridge"
        fds = {9674912, 49030163}
        tb_size = 0
        pid_file = 0x0
        incoming = 0x0
        fd = 0
        pwd = 0x0
        chroot_dir = 0x0
        run_as = 0x0
        env = <value optimized out>
        show_vnc_port = 0
        defconfig = <value optimized out>
        defconfig_verbose = <value optimized out>

Comment 3 Gerd Hoffmann 2014-05-20 08:08:31 UTC
Fixed in upstream and rhel-7.
IMO this is so minor that we we can ignore it for rhel-6


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