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,33475212a243333c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-07 06:05:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BE93FA1.79B7695F@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Stack overflow (or erroneous memory access) References: <9ff447f2.0111070339.17ae1674@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 07 Nov 2001 14:05:07 GMT NNTP-Posting-Host: 12.86.34.175 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1005141907 12.86.34.175 (Wed, 07 Nov 2001 14:05:07 GMT) NNTP-Posting-Date: Wed, 07 Nov 2001 14:05:07 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:15992 Date: 2001-11-07T14:05:07+00:00 List-Id: Adrian Hoe wrote: > > I got an exception raised PROGRAM_ERROR : stack overflow (or erroneous > memory access) when I compiled the following code and executed it: > [ code snipped ] > The exception was raised at line 16: "while not End_Of_File (Output) > loop". I could not figure out the cause of this runtime error. Could > someone help? > > I am using gnat-3.13p-7 (downloaded from gnuada.org for RH5.x) on > Caldera OpenLinux 2.3. > I ran your code using gnat-3.13p on Win98 with no exceptions. There must be some diference in the compiler ports. Jim Rogers Colorado Springs, Colorado USA