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-Thread: a07f3367d7,cae92f92d6a1d4b1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Message-ID: <4D093646.1000003@obry.net> Date: Wed, 15 Dec 2010 22:42:30 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada To: jpwoodruff Subject: Re: Ada.Execution_Time References: <4d05e737$0$6980$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 15 Dec 2010 22:42:30 CET NNTP-Posting-Host: 90.2.8.246 X-Trace: 1292449350 reader.news.orange.fr 5387 90.2.8.246:12773 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:16932 Date: 2010-12-15T22:42:30+01:00 List-Id: Le 15/12/2010 20:17, jpwoodruff a �crit : > Unfortunately introduction of Ada.Real_Time can cause an otherwise > successful program to raise STORAGE_ERROR :EXCEPTION_STACK_OVERFLOW. > This happens even if the program formerly ran only in an environment > task. > > > with Ada.Real_Time ; -- This context leads to failure > Procedure Stack_Splat is > Too_Big : array (1..1_000_000) of Float ; > begin > null ; > end Stack_Splat ; Probably because the stack size is smaller in the context of tasking runtime. Just increase the stack (see corresponding linker option) for the environment task. Nothing really blocking or I did I miss your point? Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B