comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Re: Help needed - "Storage_Error stack overflow or erroneous memory access"
Date: Sun, 18 Jun 2017 08:44:57 -0700 (PDT)
Date: 2017-06-18T08:44:57-07:00	[thread overview]
Message-ID: <7132e1a3-6c36-4f53-94d5-f51b18373e20@googlegroups.com> (raw)
In-Reply-To: <oi64e9$mji$1@dont-email.me>

I tried different optimization, but it did not affect the line number given by the error message. However, if I just comment out this part of the code, the same error message comes pointing on different line numbers.

But: on the "jessie" machine (without the problem), I can execute
"ulimit -n 65536", but trying the same on the "stretch machine" (with the problem), I get this response:
------------------------------------------------------------------------
ulimit -n 65536 
bash: ulimit: open files: cannot modify limit: Operation not permitted
-------------------------------------------------------------------------

"ulimit -n 100" function (gives no error message), but even "ulimit -n 200"
gives the same error message as above "bash: ulimit: open files: cannot modify limit: Operation not permitted".

Strange?


The actual code looks like this (but the details here seems not to be significant):

  procedure leap_to_cell1 (id : target_t; n : Positive) is
      cos : cell_observation_set.set := to_set ((id => id, others => <>));
   begin
      cos := csv (n).cell_observations1 and cos;
      if cos.is_empty then
         return;
      end if;
      cell_scene_cursor := csv.to_cursor (n);
      cell_scene_ptr    := csv (cell_scene_cursor);
      c0.co             := cos.first_element;
      r_cursor0         := c0.co.r;
      cursor0           := True;
      ds_prev0          := element (cell_scene_cursor).su;
      leap_time1        := Clock;
      df.center0 (r_cursor0 - csv (cell_scene_cursor).su);  -- <-- line 268
      df.center0 (True);
      return;
   end leap_to_cell1;

reinert


  reply	other threads:[~2017-06-18 15:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-18 10:34 Help needed - "Storage_Error stack overflow or erroneous memory access" reinert
2017-06-18 10:41 ` Simon Clubley
2017-06-18 12:00   ` reinert
2017-06-18 12:24     ` Egil H H
2017-06-18 14:58       ` Simon Clubley
2017-06-18 15:44         ` reinert [this message]
2017-06-18 18:04           ` reinert
2017-06-19  4:53             ` reinert
2017-06-19  7:03               ` Simon Wright
2017-06-19 13:01               ` Simon Clubley
2017-06-19 14:58                 ` reinert
2017-06-19 17:33                   ` Simon Clubley
2017-06-18 11:59 ` Dmitry A. Kazakov
replies disabled

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