Description of problem: I was running a migrate.with_reboot.tcp virt test, which migrates a guest during guest reboot. Command line: 18:59:28 INFO | Running qemu command (reformatted): 18:59:28 INFO | /usr/bin/qemu-kvm 18:59:28 INFO | -S 18:59:28 INFO | -name 'vm1' 18:59:28 INFO | -nodefaults 18:59:28 INFO | -chardev socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20121129-185926-qVBG0vep,server,nowait 18:59:28 INFO | -mon chardev=hmp_id_hmp1,mode=readline 18:59:28 INFO | -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20121129-185926-qVBG0vep,server,nowait 18:59:28 INFO | -device isa-serial,chardev=serial_id_serial1 18:59:28 INFO | -chardev socket,id=seabioslog_id_20121129-185926-qVBG0vep,path=/tmp/seabios-20121129-185926-qVBG0vep,server,nowait 18:59:28 INFO | -device isa-debugcon,chardev=seabioslog_id_20121129-185926-qVBG0vep,iobase=0x402 18:59:28 INFO | -device ich9-usb-uhci1,id=usb1 18:59:28 INFO | -drive file='/home/lmr/Code/virt-test.git/shared/data/images/jeos-17-64.qcow2',if=none,cache=none,id=virtio0 18:59:28 INFO | -device virtio-blk-pci,drive=virtio0 18:59:28 INFO | -device virtio-net-pci,netdev=idCA7g0t,mac='9a:9e:9f:a0:a1:a2',id='idXtpH3d' 18:59:28 INFO | -netdev user,id=idCA7g0t,hostfwd=tcp::5001-:22 18:59:28 INFO | -m 512 18:59:28 INFO | -smp 2,cores=1,threads=1,sockets=2 18:59:28 INFO | -cpu 'Penryn' 18:59:28 INFO | -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 18:59:28 INFO | -vnc :1 18:59:28 INFO | -vga std 18:59:28 INFO | -rtc base=utc,clock=host,driftfix=none 18:59:28 INFO | -boot order=cdn,once=c,menu=off 18:59:28 INFO | -enable-kvm 18:59:28 INFO | -incoming tcp:0:5200 After one migration completed successfully, we had a qemu segmentation fault. Version-Release number of selected component: qemu-system-x86-1.2.0-23.fc18 Additional info: backtrace_rating: 4 cmdline: /usr/bin/qemu-kvm -S -name vm1 -nodefaults -chardev socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20121129-185926-qVBG0vep,server,nowait -mon chardev=hmp_id_hmp1,mode=readline -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20121129-185926-qVBG0vep,server,nowait -device isa-serial,chardev=serial_id_serial1 -chardev socket,id=seabioslog_id_20121129-185926-qVBG0vep,path=/tmp/seabios-20121129-185926-qVBG0vep,server,nowait -device isa-debugcon,chardev=seabioslog_id_20121129-185926-qVBG0vep,iobase=0x402 -device ich9-usb-uhci1,id=usb1 -drive file=/home/lmr/Code/virt-test.git/shared/data/images/jeos-17-64.qcow2,if=none,cache=none,id=virtio0 -device virtio-blk-pci,drive=virtio0 -device virtio-net-pci,netdev=idCA7g0t,mac=9a:9e:9f:a0:a1:a2,id=idXtpH3d -netdev user,id=idCA7g0t,hostfwd=tcp::5001-:22 -m 512 -smp 2,cores=1,threads=1,sockets=2 -cpu Penryn -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -vnc :1 -vga std -rtc base=utc,clock=host,driftfix=none -boot order=cdn,once=c,menu=off -enable-kvm -incoming tcp:0:5200 crash_function: __memcmp_sse4_1 executable: /usr/bin/qemu-kvm kernel: 3.6.7-5.fc18.x86_64 remote_result: NOTFOUND uid: 1000 xsession_errors: Truncated backtrace: Thread no. 1 (10 frames) #0 __memcmp_sse4_1 at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:1015 #1 patch_hypercalls at /usr/src/debug/qemu-kvm-1.2.0/hw/kvmvapic.c:532 #2 vapic_prepare at /usr/src/debug/qemu-kvm-1.2.0/hw/kvmvapic.c:597 #3 vapic_post_load at /usr/src/debug/qemu-kvm-1.2.0/hw/kvmvapic.c:714 #4 vmstate_load_state at /usr/src/debug/qemu-kvm-1.2.0/savevm.c:1458 #5 vmstate_load at /usr/src/debug/qemu-kvm-1.2.0/savevm.c:1521 #6 qemu_loadvm_state at /usr/src/debug/qemu-kvm-1.2.0/savevm.c:1965 #7 process_incoming_migration at migration.c:91 #8 tcp_accept_incoming_migration at migration-tcp.c:113 #9 qemu_iohandler_poll at iohandler.c:159
Created attachment 654618 [details] File: backtrace
Created attachment 654619 [details] File: cgroup
Created attachment 654620 [details] File: core_backtrace
Created attachment 654621 [details] File: dso_list
Created attachment 654622 [details] File: environ
Created attachment 654623 [details] File: limits
Created attachment 654624 [details] File: maps
Created attachment 654625 [details] File: open_fds
Created attachment 654626 [details] File: proc_pid_status
Created attachment 654627 [details] File: smolt_data
Created attachment 654628 [details] File: var_log_messages
I was running the virt test case migrate.with_reboot.exec, the problem happened right after the migration: 01:18:38 INFO | Migration completed successfully 01:18:41 INFO | [qemu output] /bin/sh: line 1: 5652 Segmentation fault (core dumped) /bin/qemu-kvm -S -name 'vm1' -nodefaults -chardev socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20121212-011834-kk4NObHt,server,nowait -mon chardev=hmp_id_hmp1,mode=readline -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20121212-011834-kk4NObHt,server,nowait -device isa-serial,chardev=serial_id_serial1 -chardev socket,id=seabioslog_id_20121212-011834-kk4NObHt,path=/tmp/seabios-20121212-011834-kk4NObHt,server,nowait -device isa-debugcon,chardev=seabioslog_id_20121212-011834-kk4NObHt,iobase=0x402 -device ich9-usb-uhci1,id=usb1 -drive file='/home/lmr/Code/virt-test.git/shared/data/images/jeos-17-64.qcow2',if=none,id=virtio0 -device virtio-blk-pci,drive=virtio0,bootindex=1 -device virtio-net-pci,netdev=idnrNhyE,mac='9a:65:66:67:68:69',id='id76AwKp' -netdev user,id=idnrNhyE,hostfwd=tcp::5000-:22 -m 512 -smp 2,cores=1,threads=1,sockets=2 -cpu 'SandyBridge' -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -vnc :1 -vga std -rtc base=utc,clock=host,driftfix=none -boot order=cdn,once=c,menu=off -enable-kvm -incoming "exec:nc -l 5200" 01:18:41 INFO | [qemu output] (Process terminated with status 139) backtrace_rating: 4 Package: qemu-system-x86-1.2.0-24.fc18 OS Release: Fedora release 18 (Spherical Cow)
Juan, Paolo, any thoughts?
Lucas, have you seen this since the update to qemu 1.2.2 in F18?
I've just tried the test again and it did not crash with qemu-kvm-1.2.2-1.fc18.x86_64. The problem is solved with this new version.
Thanks Lucas, closing.