On 2011-03-14 11:33, Boris Dolgov wrote: > Hello! > > I am facing an often qemu-kvm segfault when using vnc session. > > Program terminated with signal 11, Segmentation fault. > #0 0x00000000004195fb in main_loop_wait (nonblocking=<value optimized > out>) at /usr/src/debug/qemu-kvm-0.13.0/vl.c:1274 > 1274 FD_SET(ioh->fd, &rfds); > (gdb) bt > #0 0x00000000004195fb in main_loop_wait (nonblocking=<value optimized > out>) at /usr/src/debug/qemu-kvm-0.13.0/vl.c:1274 > #1 0x000000000042b067 in kvm_main_loop () at > /usr/src/debug/qemu-kvm-0.13.0/qemu-kvm.c:1710 > #2 0x000000000041a51e in main_loop (argc=<value optimized out>, > argv=<value optimized out>, envp=<value optimized out>) at > /usr/src/debug/qemu-kvm-0.13.0/vl.c:1343 > #3 main (argc=<value optimized out>, argv=<value optimized out>, > envp=<value optimized out>) at > /usr/src/debug/qemu-kvm-0.13.0/vl.c:3097 > (gdb) p ioh > $1 = (IOHandlerRecord *) 0x2d16b60 > (gdb) p *ioh > $3 = {fd = 56568928, fd_read_poll = 0, fd_read = 0x49c620 > <vnc_client_read>, fd_write = 0, deleted = 0, opaque = 0x3507e70, ufd > = 0x0, next = {le_next = 0x2d16dc0, le_prev = 0x87d8e0}} > (gdb) p rfds > $4 = {fds_bits = {0 <repeats 16 times>}} > (gdb) p *(ioh->next->le_next) > $5 = {fd = 20, fd_read_poll = 0, fd_read = 0x49c620 <vnc_client_read>, > fd_write = 0, deleted = 0, opaque = 0x365d6d0, ufd = 0x0, next = > {le_next = 0x2d16b10, le_prev = 0x2d16b98}} > (gdb) p *io_handlers.lh_first > $11 = {fd = 56568928, fd_read_poll = 0, fd_read = 0x49c620 > <vnc_client_read>, fd_write = 0, deleted = 0, opaque = 0x3507e70, ufd > = 0x0, next = {le_next = 0x2d16dc0, le_prev = 0x87d8e0}} > > Looks like fd is getting corrupted somewhere. > > I am using qemu-kvm from standart Fedora 14 repo: > [root@serv qemu-kvm-0.13.0]# qemu-kvm --version > QEMU emulator version 0.13.0 (qemu-kvm-0.13.0), Copyright (c) > 2003-2008 Fabrice Bellard > > startup command is: > qemu-kvm -name freebsd8.1 -m 1500 -smp 4 -cdrom > /home/iso/FreeBSD-8.1-RELEASE-amd64-disc1.iso -boot d -vga std -drive > index=0,media=disk,if=ide,file=/dev/mapper/vg0-freebsd8.1,boot=on,cache=none > -vnc 0.0.0.0:2 -net nic,macaddr=FE:E1:DE:AD:00:00,vlan=0 -net > tap,script=/root/qemu-ifup-br0,vlan=0 -monitor stdio -usb -usbdevice > tablet -enable-kvm > Does [1] fix the issue for you? Jan [1] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/69071
Attachment:
signature.asc
Description: OpenPGP digital signature