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,57ca86d2263c2ca9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 11:47:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Gnat: system__finalization_implementation__finalize_list Date: 29 Jan 2003 14:45:44 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3e379038$0$350$bed64819@news.gradwell.net> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1043870342 26876 128.183.235.92 (29 Jan 2003 19:59:02 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 29 Jan 2003 19:59:02 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:33575 Date: 2003-01-29T19:59:02+00:00 List-Id: porton@ex-code.com (Victor Porton) writes: > Ideas what this means, how to find the error? > (All checks are turned on!) > > Program received signal SIGSEGV, Segmentation fault. > 0x40164c96 in system__finalization_implementation__finalize_list () > from /usr/lib/libgnat-3.14p.so.1 Run under the debugger and trace up the stack. > This error appears after exiting my main rountine (well, the main > rountine is not a procedure but a begin...end block of a package > body.) That's _not_ a main routine; in Ada, the main routine must be a library level procedure. Hmm, can't find that in the LRM, maybe that's a GNAT distinction. The sequence of statements in a package body is executed at elaboration time, before the main program's sequence of statements. -- -- Stephe