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,FREEMAIL_FROM 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 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Compiler Bug or what I'm doing wrong? Date: Fri, 23 Jun 2006 15:14:12 +0200 Message-ID: <4g27m6F1k6iegU1@individual.net> References: <05lkrrojfd.fsf@hod.lan.m-e-leypold.de> <1150875880.103859.95200@p79g2000cwp.googlegroups.com> <4fstb4F1kgmekU1@individual.net> <6bbqsmhcc2.fsf@hod.lan.m-e-leypold.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net y6P9QZqIV0Dq8Nj0Hr3qoA1XdsKqLpokdDoHaorNrgtGfljjY= User-Agent: KNode/0.10.2 Xref: g2news2.google.com comp.lang.ada:4926 Date: 2006-06-23T15:14:12+02:00 List-Id: M E Leypold wrote: > "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. I rarely use the debugger, I've got really used not to depend on it, though certainly it's another tool not to be despised. >> 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. Completely agree. When one has suffered from obscure bugs, it's inevitable not to think that way. One would desire that they were listed in the compiler documentation. > 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? Well, as pointed there's the debian tracker. Though it's no use if you don't know about it, and even then I wonder how much it can help for other platforms like windows. My worst experience was when I got hit by the "sleeping tasks" bug which only affected windows 3.15p version. After many hours of hunting with the help of the Gnat list users (it existed by then), it turned out that it was a real bug (I doubted it for some time) and that several people here knew about it (but none in the gnat list!). I had been hesitant to ask in c.l.a. for a gnat-specific question. After the experience I wouldn't be so timid. Certainly, the http://gnuada.sf.net site seems a good place to centralize reports (apart, of course, of reporting them to debian for the linux branches). I guess I'll start to send there too my reports. > For now I'm "misusing" c.l.a. for that but I wonder wether that was > right. It's right in my oppinion to discuss it here, maybe others disagree. Although, for history, I'd prefer if everyone used the site mentioned above, for example. >> This post is really just to show my "condolences" and support. Best luck, > > Hey, thanks :-)). And good luck with your problem too. Thanks, it's already solved.