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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5a7187422c2042a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-28 19:36:56 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: reasons for segmentation faults on linux Date: 28 Nov 2001 19:36:56 -0800 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0111281936.734ce031@posting.google.com> References: <9eb165bd.0111280403.3f6bc3ea@posting.google.com> <3C04CF6F.C42B1DFC@earthlink.net> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1007005016 19686 127.0.0.1 (29 Nov 2001 03:36:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Nov 2001 03:36:56 GMT Xref: archiver1.google.com comp.lang.ada:17144 Date: 2001-11-29T03:36:56+00:00 List-Id: Preben Randhol wrote in message news:... > % 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. Because you chose to run with stack checking disabled, and GNAT followed your directions!