From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ab4f67f984ef04f9 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Duncan Sands Newsgroups: comp.lang.ada Subject: Re: Is the Ada run-time required to detect out-of-memory Date: Tue, 25 May 2004 22:58:05 +0200 Organization: Cuivre, Argent, Or Message-ID: References: <878yfmiuak.fsf@insalien.org> <87n041l9mv.fsf@insalien.org> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1085518706 67779 212.85.156.195 (25 May 2004 20:58:26 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Tue, 25 May 2004 20:58:26 +0000 (UTC) To: "Robert I. Eachus" , comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.5.4 In-Reply-To: Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: controlnews3.google.com comp.lang.ada:826 Date: 2004-05-25T22:58:05+02:00 > Did you refile the bug against the kernel? As I understand it now, the > problem is not that the kernel raises SIGKILL if physical RAM is > exhausted, but that malloc doesn't check that the allocation can succeed > before making it. I don't believe that malloc can check before making the allocation (on a system that overcommits memory). Maybe it can check after making the allocation though. Duncan.