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,8e02b78316c4c09e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-22 11:13:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!uunet!dca.uu.net!ash.uu.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: STACK_OVERFLOW_EXCEPTION Date: 22 Feb 2003 14:13:19 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1045941199 2662 199.172.62.241 (22 Feb 2003 19:13:19 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 22 Feb 2003 19:13:19 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:34436 Date: 2003-02-22T14:13:19-05:00 List-Id: "Carsten Schnedler" writes: > Programming a simple E-Mail-System I recognized the following problem. > I am using gant3.14p on a WIN98-system and during programm-execution the > exception STORAGE-ERROR: EXCEPTION_STACK_OVERFLOW is raised. The debugger > gdb ends in the follwoing message: > > Program received signal SIGSEGV, Segmentation fault. > > 0x4041f6 in standard_types."=" (l=0x26b0758, r=(null)) > > at E:/projekte/bibliothek/src/standard_types.adb:10 > According to GNAT-Users's-Guide I tried to increase stack-size by > implementing > the variable GNAT_STACK_LIMIT in autoexec.bat which showed no result. > Checking the > recursion-depth showed a depth of 7. > Does anybody know, how to solve this problem? GNAT sometimes says "storage error" when an erroneous program get a seg fault for some reason that has nothing to do with stack overflow. Look for dangling pointers, and other things like that. - Bob