comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.A.Leake@nasa.gov>
Subject: Re: Gnat: system__finalization_implementation__finalize_list
Date: 29 Jan 2003 14:45:44 -0500
Date: 2003-01-29T19:59:02+00:00	[thread overview]
Message-ID: <uhebrvixj.fsf@nasa.gov> (raw)
In-Reply-To: 3e379038$0$350$bed64819@news.gradwell.net

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



  parent reply	other threads:[~2003-01-29 19:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  8:23 Gnat: system__finalization_implementation__finalize_list Victor Porton
2003-01-29  9:02 ` Victor Porton
2003-01-29 19:45 ` Stephen Leake [this message]
2003-01-29 23:35 ` Victor Porton
2003-01-30  0:28   ` Bill Findlay
2003-01-30  7:50   ` Wojtek Narczynski
2003-01-30 17:07   ` Stephen Leake
2003-01-30  4:28 ` Victor Porton
2003-01-30 17:08   ` Stephen Leake
2003-01-30 20:09     ` Robert A Duff
2003-01-31 10:17       ` Alexander Boucke
2003-01-31 22:11         ` Simon Wright
2003-01-30 20:38 ` Simon Wright
2003-01-31  3:19 ` Victor Porton
replies disabled

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