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,FREEMAIL_FROM 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-03 02:11:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: karlran@hotmail.com (Karl Ran) Newsgroups: comp.lang.ada Subject: Re: Howto debug seg-faulting Ada 95 code? Date: 3 Sep 2002 02:11:22 -0700 Organization: http://groups.google.com/ Message-ID: <1f358d66.0209030111.50610667@posting.google.com> References: <1f358d66.0208302358.6f1c6a39@posting.google.com> <87y9an5tt2.fsf@deneb.enyo.de> <1f358d66.0209020705.6769d948@posting.google.com> <87y9akulbv.fsf@deneb.enyo.de> NNTP-Posting-Host: 217.227.72.159 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031044282 1197 127.0.0.1 (3 Sep 2002 09:11:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Sep 2002 09:11:22 GMT Xref: archiver1.google.com comp.lang.ada:28688 Date: 2002-09-03T09:11:22+00:00 List-Id: Florian Weimer wrote in message > > 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.) Thanks for your explanation. You mentioned a 2 MB stack barrier in 87y9an5tt2.fsf@deneb.enyo.de. Would you please give me a hint where this limit comes from? Is it related to GNAT_STACK_LIMIT? Thanks, Karl