From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvWRG-0003M5-14 for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:29:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvWRE-0005Br-PR for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:29:21 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:57046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvWRE-0005BT-JS for qemu-devel@nongnu.org; Mon, 22 Aug 2011 11:29:20 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e8.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p7MFFckq028555 for ; Mon, 22 Aug 2011 11:15:38 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p7MFTHoA1056936 for ; Mon, 22 Aug 2011 11:29:17 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p7MFTGES027501 for ; Mon, 22 Aug 2011 11:29:16 -0400 Date: Mon, 22 Aug 2011 10:29:11 -0500 From: Ryan Harper Message-ID: <20110822152911.GT5792@us.ibm.com> References: <20110821222547.GA22046@lst.de> <20110822145916.GS5792@us.ibm.com> <20110822151208.GB4130@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110822151208.GB4130@lst.de> 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: Christoph Hellwig Cc: Ryan Harper , qemu-devel@nongnu.org * Christoph Hellwig [2011-08-22 10:16]: > 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? (gdb) frame 0 #0 0x00000000004200c1 in bdrv_acct_done (bs=0x12310b0, cookie=0x1c68810) at /root/git/qemu/block_int.h:239 239 bs->nr_bytes[cookie->type] += cookie->bytes; (gdb) p *cookie $3 = {bytes = 72057589759737855, start_time_ns = 72057589759737855, type = 16777215} -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com