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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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-13 18:22:17 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!news.mailgate.org!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: STACK_OVERFLOW_EXCEPTION Date: Thu, 13 Feb 2003 20:21:57 -0600 Organization: ENST, France Message-ID: References: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1045189336 82063 137.194.161.2 (14 Feb 2003 02:22:16 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 14 Feb 2003 02:22:16 +0000 (UTC) Cc: cschnedler@web.de To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34082 Date: 2003-02-13T20:21:57-06:00 ----- Original Message ----- From: "Carsten Schnedler" Newsgroups: comp.lang.ada To: Sent: February 13, 2003 6:28 PM Subject: STACK_OVERFLOW_EXCEPTION > 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? If the stack which overflowed is in an Ada task -- not the environment {main) task -- then the problem is likely that you did not increase the task's stack size by using the pragma Storage_Size in the task declaration. See the Ada Reference manual about the language-defined pragma and attribute Storage_Size (for tasks). > > Regards > Carsten Schnedler > CSchnedler@WEB.DE > > > > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >