comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Compiler Bug or what I'm doing wrong?
Date: Fri, 23 Jun 2006 15:14:12 +0200
Date: 2006-06-23T15:14:12+02:00	[thread overview]
Message-ID: <4g27m6F1k6iegU1@individual.net> (raw)
In-Reply-To: 6bbqsmhcc2.fsf@hod.lan.m-e-leypold.de

M E Leypold wrote:

> "Alex R. Mosteo" <devnull@mailinator.com> 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.



  parent reply	other threads:[~2006-06-23 13:14 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-20 16:56 Compiler Bug or what I'm doing wrong? M E Leypold
2006-06-21  7:44 ` Ludovic Brenta
2006-06-21 12:29   ` M E Leypold
2006-06-21 12:46     ` Alex R. Mosteo
2006-06-21 13:23       ` M E Leypold
2006-06-22 19:10         ` Simon Wright
2006-06-23  8:24         ` Ludovic Brenta
2006-06-23 13:14         ` Alex R. Mosteo [this message]
2006-06-23 13:24           ` Alex R. Mosteo
2006-06-24 20:33             ` Simon Wright
2006-06-24 20:56               ` M E Leypold
2006-06-26  7:32                 ` Ludovic Brenta
2006-06-26 11:16                   ` M E Leypold
2006-06-26 12:13                     ` [Ada in Debian] GtkAda and GNAT versions Ludovic Brenta
2006-06-26 12:25                       ` M E Leypold
2006-06-27 20:55                   ` Compiler Bug or what I'm doing wrong? Simon Wright
2006-06-27 22:26                     ` Ludovic Brenta
2006-06-22  2:07       ` James Dennett
2006-06-22  6:37         ` Duncan Sands
2006-06-22 16:53           ` M E Leypold
2006-06-22 19:01             ` Pascal Obry
2006-06-23  8:37               ` M E Leypold
2006-06-22 19:05             ` Dmitry A. Kazakov
2006-06-23  4:47               ` Jeffrey R. Carter
2006-06-23 12:26               ` Stephen Leake
2006-06-23 13:11                 ` Dmitry A. Kazakov
2006-06-23 13:15                 ` Alex R. Mosteo
2006-06-23  9:55 ` A smaller self contained test case. Was: " M E Leypold
2006-06-23 10:03   ` M E Leypold
2006-06-23 11:04   ` And a Workaround: Was: A smaller test case / Compiler Bug M E Leypold
2006-06-23 11:12     ` Possible memory leaks when reading/writing variant records M E Leypold
2006-06-24 11:46   ` A smaller self contained test case. Was: Compiler Bug or what I'm doing wrong? Dmitry A. Kazakov
2006-06-24 12:27     ` M E Leypold
2006-06-24 12:52       ` Dmitry A. Kazakov
2006-06-24 13:53         ` M E Leypold
2006-06-24 19:58           ` Dmitry A. Kazakov
2006-06-24 20:22             ` M E Leypold
2006-06-25  7:59               ` Dmitry A. Kazakov
2006-06-25 10:51                 ` M E Leypold
2006-06-26  6:22                   ` Martin Dowie
2006-06-24 21:21             ` M E Leypold
2006-06-25 21:36   ` M E Leypold
2006-06-26 21:53   ` Possibly fixed in gcc 4.1.1, but bug box -- Was: Re: A smaller self contained test case M E Leypold
2006-06-27 18:24     ` Alex R. Mosteo
2006-06-27 22:58       ` M E Leypold
2006-06-28 10:32         ` Alex R. Mosteo
2006-07-03  1:38         ` Steve Whalen
2006-07-03 10:36           ` M E Leypold
2006-06-28  8:41       ` Ludovic Brenta
2006-06-28  8:51         ` Georg Bauhaus
2006-06-28 10:43         ` Alex R. Mosteo
2006-06-23 10:00 ` Compiler Bug or what I'm doing wrong? M E Leypold
  -- strict thread matches above, loose matches on Subject: below --
2006-06-23 17:42 Anh Vo
2006-06-26  6:59 ` Alex R. Mosteo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox