From: Jan Kiszka <jan.kiszka@web.de>
To: Boris Dolgov <boris@dolgov.name>
Cc: kvm@vger.kernel.org, Corentin Chary <corentin.chary@gmail.com>
Subject: Re: qemu-kvm segfault
Date: Mon, 14 Mar 2011 11:54:25 +0100 [thread overview]
Message-ID: <4D7DF3E1.2070208@web.de> (raw)
In-Reply-To: <AANLkTimLDcQbuzc_ccxm26cqWe8tiZ4R6LgZZVZdwrF1@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2451 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
next prev parent reply other threads:[~2011-03-14 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 10:33 qemu-kvm segfault Boris Dolgov
2011-03-14 10:54 ` Jan Kiszka [this message]
2011-03-14 15:51 ` Boris Dolgov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D7DF3E1.2070208@web.de \
--to=jan.kiszka@web.de \
--cc=boris@dolgov.name \
--cc=corentin.chary@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox