From owner-freebsd-hackers Tue Aug 17 2:25:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from patriot.wipinfo.soft.net (patriot.wipinfo.soft.net [164.164.6.21]) by hub.freebsd.org (Postfix) with ESMTP id 4819514E44 for ; Tue, 17 Aug 1999 02:25:28 -0700 (PDT) (envelope-from bee@wipinfo.soft.net) Received: from barbie.wipinfo.soft.net (root@barbie.wipinfo.soft.net [192.168.200.175]) by patriot.wipinfo.soft.net (8.9.2/8.9.2) with ESMTP id OAA03272 for ; Tue, 17 Aug 1999 14:55:33 -0500 (GMT) Received: from wipro.tcpn.com ([172.31.41.11]) by barbie.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id PAA06330 for ; Tue, 17 Aug 1999 15:13:19 +0530 Received: from keeravani (keeravani.wipro.tcpn.com [172.31.41.136]) by wipro.tcpn.com (8.9.3/8.9.3) with SMTP id OAA01118 for ; Tue, 17 Aug 1999 14:57:11 +0530 (IST) Reply-To: From: "Biju Susmer" Cc: Subject: RE: Probably bug with allocation memory in FreeBSD-3.2-RELEASE Date: Tue, 17 Aug 1999 14:54:41 +0530 Message-ID: <008801bee892$5703f920$88291fac@wipro.tcpn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-reply-to: <199908170826.RAA70438@gizmo.internode.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Disposition-Notification-To: "Biju Susmer" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Well, yeah, that's becuase you're running it out of swap by trying to > allocate a gigabyte of memory. but this is done in steps of 1MB. Once it reaches out of memory, malloc should return NULL. Since there is no checking for NULL in this code, it should hit a signal, isn't it? Why that is not happening? -biju To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message