From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: segfault in ide_read_dma_cb when resetting guest Date: Mon, 16 Mar 2009 13:12:28 +0200 Message-ID: <49BE341C.9060900@redhat.com> References: <49BD5C3D.4070103@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-devel , qemu-devel To: Jan Kiszka Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36668 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752894AbZCPLMc (ORCPT ); Mon, 16 Mar 2009 07:12:32 -0400 In-Reply-To: <49BD5C3D.4070103@web.de> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > 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). > > I think I broke it -- cancellation assumes aiocbs were generated by the block format driver, but there are now aiocbs that are generated by the generic code. The problem is in upstream as well, don't know why you don't see it there (maybe you're seeing a different problem). I'll come up with a patch. -- error compiling committee.c: too many arguments to function