Bugs item #2633594, was opened at 2009-02-24 13:37 Message generated for change (Comment added) made by een4dja You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2633594&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Open Resolution: None Priority: 5 Private: No Submitted By: Django (een4dja) Assigned to: Nobody/Anonymous (nobody) Summary: Segfault after ~24hours online. Initial Comment: linux distro: Debian Lenny 5.0 cpu model: Intel(R) CPU X3220 @ 2.40GHz kvm version: QEMU PC emulator version 0.9.1 (kvm-84) host kernel version: 2.6.26-1-vserver-amd64 host kernel arch x86_64 guest OS type: Windows 32bit qemu command line: qemu-system-x86_64 -no-acpi -cdrom /my/cdrom/images/image.iso -hda /my/disk/images/image.img -m 512 -net nic,model=virtio -net user -redir tcp:3389::3389 -localtime -nographic Here's the back trace: (gdb) bt #0 ide_write_dma_cb (opaque=0x1e91e60, ret=0) at /usr/src/kvm-84/qemu/hw/ide.c:1135 #1 0x0000000000414b9e in dma_bdrv_cb (opaque=0x1fd3b40, ret=0) at /usr/src/kvm-84/qemu/dma-helpers.c:86 #2 0x000000000046b858 in bdrv_aio_rw_vector_cb (opaque=0x1fd37c0, ret=0) at block.c:1276 #3 0x000000000041928f in posix_aio_read (opaque=<value optimized out>) at block-raw-posix.c:507 #4 0x000000000040899a in main_loop_wait (timeout=<value optimized out>) at /usr/src/kvm-84/qemu/vl.c:3752 #5 0x0000000000519b7a in kvm_main_loop () at /usr/src/kvm-84/qemu/qemu-kvm.c:596 #6 0x000000000040cfab in main (argc=<value optimized out>, argv=0x7ffff6eba0c8, envp=<value optimized out>) at /usr/src/kvm-84/qemu/vl.c:3809 The segfault occurs after roughly 20-24hours of the vm instance being on-line. I have experienced multiple occurrences of it happening. I can supply URL's to the core and bin on request. Thank you to the devs involved in this project, for all the hard work you have put in. Cheers, Django ---------------------------------------------------------------------- >Comment By: Django (een4dja) Date: 2009-02-27 08:18 Message: Same issue has occurred again twice in the last 24hours with the attached patch. Here is the latest backtrace: (gdb) bt #0 bdrv_aio_cancel (acb=0x800000000218bcf0) at block.c:1370 #1 0x0000000000432590 in ide_dma_cancel (bm=0x2bc5e60) at /usr/src/kvm-84/qemu/hw/ide.c:2973 #2 0x00000000004325f5 in bmdma_cmd_writeb (opaque=0x2bc5e60, addr=49152, val=0) at /usr/src/kvm-84/qemu/hw/ide.c:2987 #3 0x000000000051993d in kvm_outb (opaque=<value optimized out>, addr=49152, data=0 '\0') at /usr/src/kvm-84/qemu/qemu-kvm.c:684 #4 0x0000000000546032 in handle_io (kvm=0x29252f0, run=0x7f82ba623000, vcpu=0) at libkvm.c:722 #5 0x0000000000546972 in kvm_run (kvm=0x29252f0, vcpu=0, env=0x292b7d0) at libkvm.c:951 #6 0x000000000051a109 in kvm_cpu_exec (env=<value optimized out>) at /usr/src/kvm-84/qemu/qemu-kvm.c:205 #7 0x000000000051a3f8 in ap_main_loop (_env=<value optimized out>) at /usr/src/kvm-84/qemu/qemu-kvm.c:414 #8 0x00007f82b9d61fc7 in start_thread () from /lib/libpthread.so.0 #9 0x00007f82b91d65ad in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Avi, I have sent you links to the core and bin again. Cheers, Django ---------------------------------------------------------------------- Comment By: Django (een4dja) Date: 2009-02-26 01:08 Message: Applied the patch will report back in a few days if the issue has been resolved. ---------------------------------------------------------------------- Comment By: Avi Kivity (avik) Date: 2009-02-25 13:19 Message: Please try the attached patch. ---------------------------------------------------------------------- Comment By: Django (een4dja) Date: 2009-02-24 18:11 Message: Sent as requested. ---------------------------------------------------------------------- Comment By: Avi Kivity (avik) Date: 2009-02-24 13:45 Message: Please mail me pointers to the core and executable. I don't think you can post them publicly. Also, if the image contains private information, try to reproduce on a clean image. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2633594&group_id=180599 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html