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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,914be3dbe7922d54 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-05 11:21:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Elaboration in Detached Process Date: 05 Jun 2003 14:18:33 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <6449213e.0306050805.3d143731@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1054837111 22923 128.183.235.92 (5 Jun 2003 18:18:31 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 5 Jun 2003 18:18:31 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:38724 Date: 2003-06-05T18:18:31+00:00 List-Id: fmattison@ssd5.nrl.navy.mil (Frank Mattison) writes: > Has anyone experienced this problem, when running Ada 83 (OpenVMS) > detached? > > In the following example Data_Ptr initializes correctly when running > as an interactive process. But when running as a detached process, > this initialization raises an exception when the procedure is called: > > procedure XYZ(Data_Format : in Data_Formats) is > Data_Ptr : Data_Ptrs := new Data_Types(Data_Format); > begin > ... > > There are other cases where the elaboration seems to fail when the > process is switched to detached. Does anyone have a suggestion as to > how to handle this? I don't have any experience, but perhaps the default stack and heap sizes are smaller for detached processes, so you are getting Storage_Error? -- -- Stephe