Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
spice-server tried to use migration information even when it was not provided or required. This resulted in a segmentation fault in the client machine (the source of the migration operation). A check now determines whether the client has provided or is required to provide migration information. (BZ#674451)
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
spice-server tried to use migration information even when it was not provided or required. This resulted in a segmentation fault in the client machine (the source of the migration operation). A check now determines whether the client has provided or is required to provide migration information. (BZ#674451)
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0705.html
Description of problem: After migration, migration source qemu-kvm segfaults: Program received signal SIGSEGV, Segmentation fault. reds_mig_switch (s=<value optimized out>) at reds.c:3379 3379 migrate.port = s->port; (gdb) bt #0 reds_mig_switch (s=<value optimized out>) at reds.c:3379 #1 spice_server_migrate_switch (s=<value optimized out>) at reds.c:4184 #2 0x00000000004dc5a9 in notifier_list_notify (list=<value optimized out>) at notify.c:37 #3 0x000000000040b7d8 in qemu_run_timers (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:1203 #4 main_loop_wait (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4296 #5 0x000000000042a15a in kvm_main_loop () at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2165 #6 0x000000000040e9fb in main_loop (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4472 #7 main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6644 (gdb) p s $1 = (RedsMigSpice *) 0x0 Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.134.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. migrate w/ -vga qxl 2. 3. Actual results: migration finishes, but source VM seg faults Expected results: no segfault Additional info: source cmdline: /usr/libexec/qemu-kvm -enable-kvm -m 4G -smp 2 -name rhel6vm -uuid 1e3f234d-338f-e438-1d43-14393856409c -nodefconfig -nodefaults -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/VMs/rhel6vm.img,if=ide,cache=off,id=drive-virtio-disk0,format=raw -usb -netdev tap,script=/home/alwillia/bin/br0-ifup,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:5f:78:73,bus=pci.0,addr=0x3 -mem-path /hugepages/ -vga qxl -monitor tcp::5678,server,nowait -vnc :0 -spice port=8000,disable-ticketing target cmdline: /usr/libexec/qemu-kvm -enable-kvm -m 4G -smp 2 -name rhel6vm -uuid 1e3f234d-338f-e438-1d43-14393856409c -nodefconfig -nodefaults -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/VMs/rhel6vm.img,if=ide,cache=off,id=drive-virtio-disk0,format=raw -usb -netdev tap,script=/home/alwillia/bin/br0-ifup,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:5f:78:73,bus=pci.0,addr=0x3 -mem-path /hugepages/ -vga qxl -monitor tcp::5679,server,nowait -vnc :1 -spice port=8001,disable-ticketing -incoming tcp::4444 migrated with: migrate tcp::4444 only connected via vnc