comp.lang.ada
 help / color / mirror / Atom feed
From: karlran@hotmail.com (Karl Ran)
Subject: Re: Howto debug seg-faulting Ada 95 code?
Date: 3 Sep 2002 02:38:55 -0700
Date: 2002-09-03T09:38:55+00:00	[thread overview]
Message-ID: <1f358d66.0209030138.45302a4@posting.google.com> (raw)
In-Reply-To: mailman.1031020083.19482.comp.lang.ada@ada.eu.org

"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote in message > This code runs perfectly well on my RedHat 7.2
> GNAT 3.14 system under my normal shell environment

Thanks for your report.

> I can make it segfault if I set the stacksize
> limit to 6171 kbytes.  With 6172 kbytes it runs OK.

Would you please recompile my test code with '-fstack-check'?

> So, there is no "software defect" as has been
> suggested, but merely a case of failure to provide
> an execution environment in which the program is to
> execute, having adequate resources to accommodate
> the program's design.

Well, in Forian`s and in my case the compiled code fails to raise
STORAGE_ERROR when compiled with '-fstack-check'!

The result is a segmentation fault - but it can be worse, right? 
 

Another point is that neither Florina nor myself is using a
ACT-certified
Linux distribution :-/

Karl



  reply	other threads:[~2002-09-03  9:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31  7:58 Howto debug seg-faulting Ada 95 code? Karl Ran
2002-08-31  8:14 ` Florian Weimer
2002-09-02 15:05   ` Karl Ran
2002-09-02 16:25     ` Jeffrey Creem
2002-09-02 16:47       ` Pat Rogers
2002-09-02 22:40         ` Jeffrey Creem
2002-09-02 23:25           ` Pat Rogers
2002-09-03 11:20             ` Jeffrey Creem
2002-09-04 14:57               ` Pat Rogers
2002-09-03  8:51       ` Sergey Koshcheyev
2002-09-03 11:42         ` Samuel Tardieu
2002-09-07 18:50           ` Steven Deller
2002-09-02 21:35     ` Florian Weimer
2002-09-03  9:11       ` Karl Ran
2002-09-03  2:27 ` David C. Hoos, Sr.
2002-09-03  9:38   ` Karl Ran [this message]
2002-09-03 12:15     ` David C. Hoos, Sr.
replies disabled

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