All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: kvm-devel <kvm@vger.kernel.org>
Subject: segfault in ide_read_dma_cb when resetting guest
Date: Sun, 15 Mar 2009 20:51:25 +0100	[thread overview]
Message-ID: <49BD5C3D.4070103@web.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]

Hi,

maybe someone has an immediate idea or can reproduce, I'm currently
lacking time to debug this: With latest kvm-userspace I'm seeing
sporadic qemu crashes when hard-resetting a guest that currently does
some I/O (qcow2 disk in snapshot mode). Below is the backtrace, s is
null.

So far the issue does not show up with -no-kvm or with upstream qemu
(also without kvm as upstream's reset in kvm mode is not working yet).

Jan

---

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fd5e75406f0 (LWP 13554)]
ide_read_dma_cb (opaque=0xef2e60, ret=0) at /data/kvm-userspace/qemu/hw/ide.c:1010
1010        n = s->io_buffer_size >> 9;
(gdb) bt
#0  ide_read_dma_cb (opaque=0xef2e60, ret=0) at /data/kvm-userspace/qemu/hw/ide.c:1010
#1  0x000000000041668e in dma_bdrv_cb (opaque=0xdd0250, ret=0) at /data/kvm-userspace/qemu/dma-helpers.c:86
#2  0x000000000046e4a8 in bdrv_aio_rw_vector_cb (opaque=0xdd00b0, ret=0) at block.c:1280
#3  0x00000000004b49fb in qcow_aio_read_cb (opaque=0xc81150, ret=0) at block-qcow2.c:1239
#4  0x00000000004b49fb in qcow_aio_read_cb (opaque=0x10f6010, ret=0) at block-qcow2.c:1239
#5  0x000000000041b4df in posix_aio_read (opaque=<value optimized out>) at block-raw-posix.c:533
#6  0x000000000040969a in main_loop_wait (timeout=<value optimized out>) at /data/kvm-userspace/qemu/vl.c:3814
#7  0x000000000052029a in kvm_main_loop () at /data/kvm-userspace/qemu/qemu-kvm.c:597
#8  0x000000000040e038 in main (argc=<value optimized out>, argv=0x7fffef57b448, envp=<value optimized out>) at /data/kvm-userspace/qemu/vl.c:3871



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

             reply	other threads:[~2009-03-15 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15 19:51 Jan Kiszka [this message]
2009-03-16 11:12 ` segfault in ide_read_dma_cb when resetting guest Avi Kivity
2009-03-16 11:12   ` [Qemu-devel] " Avi Kivity
2009-03-16 13:15   ` Avi Kivity
2009-03-16 13:15     ` [Qemu-devel] " Avi Kivity

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=49BD5C3D.4070103@web.de \
    --to=jan.kiszka@web.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.