From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbZcV-0002IQ-IO for qemu-devel@nongnu.org; Thu, 13 Aug 2009 08:41:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbZcU-0002Ht-CG for qemu-devel@nongnu.org; Thu, 13 Aug 2009 08:41:26 -0400 Received: from [199.232.76.173] (port=44269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbZcU-0002Hh-15 for qemu-devel@nongnu.org; Thu, 13 Aug 2009 08:41:26 -0400 Received: from alpha.arachsys.com ([91.203.57.7]:56295) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbZcT-00047J-0j for qemu-devel@nongnu.org; Thu, 13 Aug 2009 08:41:25 -0400 Date: Thu, 13 Aug 2009 13:41:20 +0100 From: Chris Webb Message-ID: <20090813124120.GM2539@arachsys.com> References: <20090812150159.GW5348@arachsys.com> <4A82E200.3040107@redhat.com> <20090812162401.GB8115@arachsys.com> <20090813122333.GA2863@arachsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090813122333.GA2863@arachsys.com> Subject: [Qemu-devel] Re: qemu-kvm segfaults in qemu_del_timer (0.10.5 and 0.10.6) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org Chris Webb writes: > The segfault appears to be a null pointer dereference. ts->clock is NULL > and line 1161 uses ts->clock->type: > > (gdb) p ts > $4 = (QEMUTimer *) 0x30d1f30 > (gdb) p ts->clock > $5 = (QEMUClock *) 0x0 Sorry, meant to paste this too: (gdb) p *ts $1 = {clock = 0x0, expire_time = 49, cb = 0x2b63630, opaque = 0x30fe000, next = 0x495b40} Cheers, Chris.