From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMNxD-0006vM-2z for qemu-devel@nongnu.org; Mon, 12 Jan 2009 09:39:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMNxA-0006vA-Gg for qemu-devel@nongnu.org; Mon, 12 Jan 2009 09:39:45 -0500 Received: from [199.232.76.173] (port=40693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMNxA-0006v7-CU for qemu-devel@nongnu.org; Mon, 12 Jan 2009 09:39:44 -0500 Received: from mx2.redhat.com ([66.187.237.31]:54056) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMNx9-0004jf-SS for qemu-devel@nongnu.org; Mon, 12 Jan 2009 09:39:44 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n0CEdbmh025690 for ; Mon, 12 Jan 2009 09:39:37 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n0CEdbBj020824 for ; Mon, 12 Jan 2009 09:39:37 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n0CEdaxZ006332 for ; Mon, 12 Jan 2009 09:39:36 -0500 Date: Mon, 12 Jan 2009 16:40:51 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH] fix 64 bit issue in slirp Message-ID: <20090112144051.GO3267@redhat.com> References: <20090112142807.GN3267@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090112142807.GN3267@redhat.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 BTW to reproduce the problem on x86_64 do: $ export MALLOC_MMAP_THRESHOLD_=10 before starting qemu. This will instruct malloc to use mmap instead of heap for small allocation and qemu will crash in slirp code since mmap returns addresses higher than 4G. -- Gleb.