comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcNOSPAM@mckae.com>
Subject: Re: STORAGE_ERROR in adainit
Date: Wed, 11 Aug 2004 17:29:01 -0500
Date: 2004-08-11T17:29:01-05:00	[thread overview]
Message-ID: <2nvktgF5530iU1@uni-berlin.de> (raw)
In-Reply-To: b43lh0pqd1o8tlgc0nu05emrrncumkf3du@4ax.com

"James Alan Farrell" <anonymous@anonymous.com> wrote:

> I have a mixed language program with the main function written in C.
> There are several libraries written C and one written in Ada.  The
> first command in main is adainit, and that function is raising the
> following error:
>
> raised STORAGE_ERROR : stack overflow (or erroneous memory access)

Can you write a toy program with a C main that calls into Ada? Like building
one of the example programs. Just to make sure there's no environmental
issue that's causing interference.

Then how about a C main that just calls adainit?

Do you get a storage error on adainit when calling just one of the library
functions? If not, which function triggers the problem and in what library
does it reside?

This is the kind of stuff I'd try to try to starting localizing the
problem...

> Is there anything special I have to do to create C libraries when
> linking to Ada libraries?

No, just plain old compilation of them should work fine.





  reply	other threads:[~2004-08-11 22:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 21:31 STORAGE_ERROR in adainit James Alan Farrell
2004-08-11 22:29 ` Marc A. Criley [this message]
2004-08-12 13:35   ` James Alan Farrell
2004-08-12 14:20     ` Frode Tenneboe
2004-08-12 15:55       ` James Alan Farrell
2004-08-12 21:17         ` Björn Persson
2004-08-12 19:28 ` James Alan Farrell
2004-08-12 19:42   ` Ludovic Brenta
2004-08-12 22:10     ` Stephen Leake
2004-08-12 21:15   ` Björn Persson
2004-08-13 13:36     ` James Alan Farrell
2004-08-17 21:37       ` Björn Persson
2004-08-18 14:00         ` James Alan Farrell
2004-08-18 15:57           ` Björn Persson
2004-08-18 19:44           ` Simon Wright
2004-08-18 21:13             ` James Alan Farrell
replies disabled

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