From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LieRY-0000ye-4T for qemu-devel@nongnu.org; Sat, 14 Mar 2009 20:43:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LieRT-0000yS-IM for qemu-devel@nongnu.org; Sat, 14 Mar 2009 20:43:07 -0400 Received: from [199.232.76.173] (port=41555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LieRT-0000yP-C9 for qemu-devel@nongnu.org; Sat, 14 Mar 2009 20:43:03 -0400 Received: from mx20.gnu.org ([199.232.41.8]:39791) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LieRT-0000oU-2K for qemu-devel@nongnu.org; Sat, 14 Mar 2009 20:43:03 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LieRR-0007Do-7l for qemu-devel@nongnu.org; Sat, 14 Mar 2009 20:43:01 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: SIGSEGV on Windows with KQEMU enabled Date: Sun, 15 Mar 2009 00:42:57 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903150042.58341.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Consul > > But really funny think is the change that triggers the bug is precisely > > this: -Monitor *cur_mon; > > +Monitor *cur_mon = NULL; > > > > Obviously, kqemu is happier having garbage in the cur_mon than NULL > > I rather expect that to _hide_ the bug. The "garbage" might be a > left-over from the heap. This change does precisely nothing. In C all global and static variables are implicitly zero initialized. Paul