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-Thread: 103376,fb264cdd67c2f20f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Compiler Bug or what I'm doing wrong? References: <05lkrrojfd.fsf@hod.lan.m-e-leypold.de> <1150875880.103859.95200@p79g2000cwp.googlegroups.com> <4fstb4F1kgmekU1@individual.net> From: M E Leypold Date: 21 Jun 2006 15:23:25 +0200 Message-ID: <6bbqsmhcc2.fsf@hod.lan.m-e-leypold.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.203.42 X-Trace: news.arcor-ip.de 1150895854 88.72.203.42 (21 Jun 2006 15:17:34 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:4903 Date: 2006-06-21T15:23:25+02:00 List-Id: "Alex R. Mosteo" writes: > I'm now, for example, facing a spurious exception case when switching from > GNAT GPL'05 to GPL'06, only when certain compiler switches are used. I have Have you tried to run that with a debugger? In my case I had exceptions first and only when running that with the debugger, I found that it was a SIGSEGV which got translated into a PROGRAM_ERROR by the signal handler and the run time since this happened in a finalizer. > already found a workaround, and I even know that the problem is related > with interfaces, but I fear that the effort to isolate it will be a waste > of time. So the temptation to move on is big... In my case: I think I have found a workaround (if my guess on the nature of the error is correct) and I'll post it here as a reference for the next users if it actually works. In my opinion, documentation of "known bugs" and "proved workarounds" are almost as valuable as fixes. At least they'll spare other users the time (a) to form suspicions themselves and (b) to think about workarounds themselves. It's a pity that GNAT (at least 3.15p? I'm repeating myself ...), doesn't have some kind of community support side where things as these could be collected. Or is there such a site? For now I'm "misusing" c.l.a. for that but I wonder wether that was right. > This post is really just to show my "condolences" and support. Best luck, Hey, thanks :-)). And good luck with your problem too. Regards -- Markus