From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: reasons for segmentation faults on linux
Date: Wed, 28 Nov 2001 15:59:45 +0000 (UTC)
Date: 2001-11-28T15:59:45+00:00 [thread overview]
Message-ID: <slrna0a2ch.3dp.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3C04CF6F.C42B1DFC@earthlink.net
On Wed, 28 Nov 2001 12:49:54 GMT, Marc A. Criley wrote:
> Tony wrote:
>>
>> I'm getting a segmentation fault in linux,
>>
>> I 've wapped up the storage size and this has no effect,
>>
>> I'm using three AVL trees in a task if thats any help
>>
>> Does anyone know the common reasons for segmentation faults in
>> Gnat on Linux ?
>
> Misaligned data... Dereferencing dangling pointers... Stack overflows
> (if stack checking is disabled)...
Infinite recursion:
procedure A is
begin
A;
end A;
% gnatmake a.adb
gnatgcc -c a.adb
a.adb:3:04: warning: possible infinite aursion
a.adb:3:04: warning: Storage_Error may be raised at run time
gnatbind -x a.ali
gnatlink a.ali
% ./a
Segmentation fault
Why isn't Storage_Error raised? GNAT 3.13p on GNU/Debian Linux.
Preben
--
() Join the worldwide campaign to protect fundamental human rights.
'||}
{||' http://www.amnesty.org/
next prev parent reply other threads:[~2001-11-28 15:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-28 12:03 reasons for segmentation faults on linux Tony
2001-11-28 12:49 ` Marc A. Criley
2001-11-28 15:59 ` Preben Randhol [this message]
2001-11-28 18:04 ` Mark Johnson
2001-11-28 22:31 ` David Starner
2001-11-29 3:39 ` Robert Dewar
2001-11-29 18:42 ` David Starner
2001-11-29 3:36 ` Robert Dewar
2001-11-29 10:36 ` Preben Randhol
2001-11-29 11:01 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox