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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!BGUVM.BITNET!GDAU100 From: GDAU100@BGUVM.BITNET ("Jonathan B. Owen") Newsgroups: comp.lang.ada Subject: Note on STORAGE_ERROR to Domain/Ada programmers Message-ID: <9008291239.AA23576@ajpo.sei.cmu.edu> Date: 30 Aug 90 07:02:31 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet X-Unparsable-Date: Wed, 29 Aug 90 11:18:37 IST List-Id: A while back I posted a query about getting a STORAGE_ERROR exception by attempting to invoke a procedure. My hunch was that I was running out of stack space. I was a bit surprised, since I defined a stack of 1.5Meg! Turns out that the stack size was not increased to my specifications, but rather remained at the default stack size of 256K. To increase stack size **properly** in Domain/Ada (Ver. 3.0) one must compile a copy of config.a (supplied by the Ada product) AND make sure it participates in the link of the exec. This can be done by either including a "WITH CONFIG" clause in the main procedure of the link, or by including link directives in the Ada library. The latter must include a link directive to each one of the two object files produced by the compilation of config.a (config01 and config02). If only config02 is specified, the stack size will not be increased. Take it from me, I mistakenly did so, and it didn't work... Jonathan ______________________________________________________________________________ (--) /--) /-(\ Email: gdau100@bguvm (bitnet) \ / /--K | \|/\ /\/) /|-\ Snail: 55 Hovevei Zion _/_/o /L__)_/o \/\__/ \X/ \_/ | |_/ Tel-Aviv, 63346 ISRAEL (/ Jonathan B. Owen Voice: (03) 281-422 Point of view: A chicken is the means by which an egg reproduces an egg. ______________________________________________________________________________