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-Thread: 103376,e44790cdcea9da82 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Problem with -gnatt Date: 09 Oct 2004 10:16:49 -0400 Organization: Cuivre, Argent, Or Message-ID: References: <41651D37.4030805@mailinator.com> <2skt9qF1ljjdtU1@uni-berlin.de> <4165472D.2030704@mailinator.com> <416573FA.4010003@mailinator.com> <87k6u2mj08.fsf@insalien.org> <4166538E.6090907@mailinator.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1097331422 2796 212.85.156.195 (9 Oct 2004 14:17:02 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Sat, 9 Oct 2004 14:17:02 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <4166538E.6090907@mailinator.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:4955 Date: 2004-10-09T10:16:49-04:00 "Alex R. Mosteo" writes: > Ludovic Brenta wrote: > > "Alex R. Mosteo" writes: > > > >>I'm trying now AdaBrowse with a fairly big project of mine and: > >> > >>When I add the -gnatt switch to get the tree, gnat bails out with a > >>"gnat bug detected". Compiling normally it goes ok... > >> > >>Pretty bad luck. > > Is this the same as Debian bug #267788? See here: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267788 > > I don't think so. It bails out in a storage error in the instance of > one of the new AI.302 containers which I'm using in place of Charles. > See: > > +===========================GNAT BUG DETECTED==============================+ > | 3.15p (20020523) (i686-pc-linux-gnu) Storage_Error stack overflow > (or erroneous memory access)| > | Error detected at ../../containers/a-cohama.adb:508:4 > [../download/adagio-download-slot.ads:78:4]| > > Should I report the bug? I'm not customer of ACT so I don't have > customer number, for example. Perhaps you simply have a stack overflow, and you need to give it more stack space. That's not a bug in ASIS. > Maybe the use of the Ada.Containers is a practice of risk? ;) There may be something about this implementation of Ada.Containers that is more complex for ASIS to handle then other code you have, causing it to use more stack space. At first, always assume the compiler error message is correct, and you are doing something wrong. With GNAT, that's usually true! -- -- Stephe