comp.lang.ada
 help / color / mirror / Atom feed
From: Vadim Godunko <vgodunko@gmail.com>
Subject: Re: Tasking, AWS and segmentation faults
Date: Wed, 4 Apr 2012 12:09:27 -0700 (PDT)
Date: 2012-04-04T12:09:27-07:00	[thread overview]
Message-ID: <51608dc0-4ef9-47ed-89ab-44239f06cbb9@t16g2000yqt.googlegroups.com> (raw)
In-Reply-To: 12873826.360.1333555697441.JavaMail.geo-discussion-forums@vbhc14

On Apr 4, 8:08 pm, tonyg <tonytheg...@gmail.com> wrote:
> I have a function which is an aws response. In that function I have an array of 86400 records which are processed. I was sort of expecting an error and I got one which is
>
> Exception name: STORAGE_ERROR
> Message: s-intman.adb:139 explicit raise
>
> I think I need to reserve some space using the storage pragma but I am wondering if anyone experienced in using AWS  have any advice

I guess that you allocate this array on stack, isn't it? You need to
allocate it using 'new' and deallocate it after use by instantiation
of Ada.Unchecked_Deallocation.



  reply	other threads:[~2012-04-04 19:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 16:08 Tasking, AWS and segmentation faults tonyg
2012-04-04 19:09 ` Vadim Godunko [this message]
2012-04-04 20:27 ` Georg Bauhaus
2012-04-04 21:21   ` Jeffrey Carter
2012-04-05 10:38     ` tonyg
2012-04-05 11:03       ` Georg Bauhaus
2012-04-05 15:20         ` tonyg
2012-04-05 16:22           ` Simon Wright
2012-04-05 17:09             ` J-P. Rosen
2012-04-05 16:58     ` Pascal Obry
2012-04-05 17:14       ` Jeffrey Carter
2012-04-05 17:18         ` Pascal Obry
2012-04-05 18:30           ` Jeffrey Carter
2012-04-08  8:09             ` tonyg
replies disabled

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