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 19:12:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: byhoe@greenlime.com (Adrian Hoe) Newsgroups: comp.lang.ada Subject: Re: Stack overflow (or erroneous memory access) Date: 7 Nov 2001 19:12:45 -0800 Organization: http://groups.google.com/ Message-ID: <9ff447f2.0111071912.5c5b46b9@posting.google.com> References: <9ff447f2.0111070339.17ae1674@posting.google.com> <3BE93FA1.79B7695F@worldnet.att.net> NNTP-Posting-Host: 203.106.196.164 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1005189166 19798 127.0.0.1 (8 Nov 2001 03:12:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 Nov 2001 03:12:46 GMT Xref: archiver1.google.com comp.lang.ada:16033 Date: 2001-11-08T03:12:46+00:00 List-Id: James Rogers wrote in message news:<3BE93FA1.79B7695F@worldnet.att.net>... > 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 I downloaded gnat-3.13p from ftp://cs.nyu.edu/pub/gnat/ and no exceptions raised this time. Something must be wrong with the gnat-3.13p rpm I downloaded from www.gnuada.org. or I had an error in my download. The rpm is for glibc2.0 or (RH5.x). Does anybody have the same problem with the rpm? I have also sent an e-mail to the packager, Jeurgen Pfeifer and hope to identify the source of the problems and have it fixed. Thanks.