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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a59c0afeb6808e51 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-02 14:35:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!mango.news.easynet.net!easynet.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Howto debug seg-faulting Ada 95 code? Date: Mon, 02 Sep 2002 23:35:00 +0200 Organization: Enyo -- not your organization Message-ID: <87y9akulbv.fsf@deneb.enyo.de> References: <1f358d66.0208302358.6f1c6a39@posting.google.com> <87y9an5tt2.fsf@deneb.enyo.de> <1f358d66.0209020705.6769d948@posting.google.com> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1031002495 2321 212.9.189.171 (2 Sep 2002 21:34:55 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 2 Sep 2002 21:34:55 GMT Cancel-Lock: sha1:tc7EmJ6b/FUNxdwmajoJ4ImqBPU= Xref: archiver1.google.com comp.lang.ada:28663 Date: 2002-09-02T21:34:55+00:00 List-Id: karlran@hotmail.com (Karl Ran) writes: > Florian Weimer wrote in message >> Your code causes a stack overflow; "-fstack-check" should catch these >> problems, but it doesn't. Looks like a bug to me. > > Is there a work-around for this software defect, other than using > 'new'? Which defect? The stack overflow? Well, you'd have to use an architecture which offers 64 bit pointers. ("new" does not raise Storage_Errore reliably either because physical memory is usually allocated not as soon a logical memory region is allocated, but only if the memory region is written to.) I don't know any workarounds for the bug in "-fstack-check" which your code triggers. > Where can I find a list of known software defects of gnat 3.14p? No such list is publicly available, I guess.