From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42558 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8oL1-0004xM-ET for qemu-devel@nongnu.org; Sun, 10 Apr 2011 02:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8oKy-0004EX-UK for qemu-devel@nongnu.org; Sun, 10 Apr 2011 02:41:35 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:50390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8oKy-0004EO-Rq for qemu-devel@nongnu.org; Sun, 10 Apr 2011 02:41:32 -0400 Received: by ywl41 with SMTP id 41so2314195ywl.4 for ; Sat, 09 Apr 2011 23:41:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <201104101208.55243.bradh@frogmouth.net> References: <201104101208.55243.bradh@frogmouth.net> Date: Sun, 10 Apr 2011 07:41:32 +0100 Message-ID: Subject: Re: [Qemu-devel] qemu_malloc failing From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Hards Cc: qemu-devel@nongnu.org On Sun, Apr 10, 2011 at 3:08 AM, Brad Hards wrote: > #3 =A00x000000000042b3d6 in qemu_malloc (size=3D2128) at qemu-malloc.c:49 It's only slightly more than 2 KB. When malloc(3) fails it returns NULL, it doesn't crash. As Mulyadi suggested, this looks like heap corruption. If you have no idea where the problem is coming from, you might like to try valgrind(1). Stefan