Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuVat-0002Ly-5O for qemu-devel@nongnu.org; Thu, 16 Apr 2009 13:41:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuVao-0002Kn-1m for qemu-devel@nongnu.org; Thu, 16 Apr 2009 13:41:46 -0400 Received: from [199.232.76.173] (port=38635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuVan-0002Kj-Tv for qemu-devel@nongnu.org; Thu, 16 Apr 2009 13:41:41 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:62467) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LuVan-00056t-61 for qemu-devel@nongnu.org; Thu, 16 Apr 2009 13:41:41 -0400 Received: by fxm17 with SMTP id 17so499947fxm.34 for ; Thu, 16 Apr 2009 10:41:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 16 Apr 2009 20:41:40 +0300 Message-ID: Subject: Re: [Qemu-devel] [PATCH] [RFC] qemu_malloc dynamic checking From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 4/15/09, malc wrote: > On Wed, 15 Apr 2009, Blue Swirl wrote: > > > Hi, > > > > This patch adds simple checks for qemu_malloc/free/realloc. With the > > check enabled, i386-softmmu crashes. Sparc32, Sparc64, PPC32 and PPC64 > > system emulators are fine. > > > kvm_has_msr_star plain free is used on qemu_malloczed region. Perhaps > something similar is done in one of the devices that are only enabled > on i386. Actually the crash was caused by a bug in the checker.