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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: storage error: stack overflow Date: Tue, 11 Aug 2015 15:19:56 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 11 Aug 2015 22:18:19 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ee44d3db9c41f5ad88d7e8e8f0268f05"; logging-data="32361"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19o9jUrBPHKiK/x6CKr7W1LBXFBE3eV1JU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: Cancel-Lock: sha1:o7xEW/Qxz455qwyJTwYQRWHHwrY= Xref: news.eternal-september.org comp.lang.ada:27415 Date: 2015-08-11T15:19:56-07:00 List-Id: On 08/11/2015 02:53 PM, hreba wrote: > I am developing a program on 3 computers in parallel (depending on where I am). > On 2 of them the executable works as expected, on one I get: > > raised PROGRAM_ERROR ; adjust/finalize raised STORAGE_ERROR: stack overflow (or > erroneous memory access) > > The computers are: > > a) a 32 bit desktop PC running Windows 7 > b) a 32 bit desktop PC running LinuxMint release 13 > c) a 64 bit Notebook running LinuxMint release 17.1 > > It is machine c) which makes the trouble. > On each machine I compile the program (no warnings) with gnat/GPS. > > How can I find out what is wrong? Are you running 32- or 64-bit Linux Mint on machine C? Have you examined all your overridings of Adjust and Finalize for controlled types for something that might use a lot of stack memory or do an erroneous memory access? -- Jeff Carter "I'm a vicious jungle beast!" Play It Again, Sam 131