From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 11:13:27 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAD0437B401 for ; Thu, 24 Jul 2003 11:13:27 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFD1943F75 for ; Thu, 24 Jul 2003 11:13:26 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h6OIDQn8041790 for ; Thu, 24 Jul 2003 14:13:26 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h6OIDQID041789 for freebsd-stable@freebsd.org; Thu, 24 Jul 2003 14:13:26 -0400 (EDT) (envelope-from barney) Date: Thu, 24 Jul 2003 14:13:26 -0400 From: Barney Wolff To: freebsd-stable@freebsd.org Message-ID: <20030724181326.GA41709@pit.databus.com> References: <20030723221336.GA26555@pit.databus.com> <200307232222.PAA26360@mina.soco.agilent.com> <20030724180106.GA86680@vmunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030724180106.GA86680@vmunix.com> User-Agent: Mutt/1.4.1i Subject: Re: malloc does not return null when out of memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 18:13:28 -0000 On Thu, Jul 24, 2003 at 02:01:06PM -0400, Gabor wrote: > ... > Here is another test. This box has swap and I get a null pointer even > though ulimit -a says memory unlimited. > ... > 5242 0x2801d000 > 5243 0x0 > No more mem > # ulimit -a > data(kbytes) 524288 <<<<<<<<<<<<<<<<<<<<<<< -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.