From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvWAd-0006C9-Sh for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvWAc-0001hn-I6 for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:12:11 -0400 Received: from verein.lst.de ([213.95.11.211]:55430 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvWAc-0001hW-9n for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:12:10 -0400 Date: Mon, 22 Aug 2011 17:12:09 +0200 From: Christoph Hellwig Message-ID: <20110822151208.GB4130@lst.de> References: <20110821222547.GA22046@lst.de> <20110822145916.GS5792@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110822145916.GS5792@us.ibm.com> Subject: Re: [Qemu-devel] [PATCH 0/3] better I/O accounting V2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ryan Harper Cc: Christoph Hellwig , qemu-devel@nongnu.org On Mon, Aug 22, 2011 at 09:59:16AM -0500, Ryan Harper wrote: > * Christoph Hellwig [2011-08-21 17:27]: > > changes since V1: > > - rebase to apply against the current qemu.git tree > > > Testing on tip + this series with: > > ./configure --enable-debug --enable-kvm --enable-io-thread --target-list=x86_64-softmmu That is about the same config that I run. > [New Thread 0x7ffff4f27700 (LWP 18033)] > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000004200c1 in bdrv_acct_done (bs=0x12310b0, cookie=0x1c69f50) at /root/git/qemu/block_int.h:239 > 239 bs->nr_bytes[cookie->type] += cookie->bytes; I can't see how this can result in a segfault, unless we get a corrupted cookie. Can you print what cookie->type is from gdb?