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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6bc8ce99e45144be X-Google-Attributes: gid103376,public From: Steven Deller Subject: Re: Task stack overflow problem with GNAT Date: 2000/10/09 Message-ID: <8rsq49$4ng$1@nnrp1.deja.com>#1/1 X-Deja-AN: 679350746 References: <8rkhnt$4ac$1@nnrp1.deja.com> <39DE061B.51F62B69@icdc.com> <8rrtmc$fcc$1@nnrp1.deja.com> <3A094BF4.C737809F@telepath.com> X-Http-Proxy: 1.0 x55.deja.com:80 (Squid/1.1.22) for client 130.213.201.219 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Oct 09 16:01:17 2000 GMT X-MyDeja-Info: XMYDJUIDdeller46 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.75 [en] (Windows NT 5.0; U) Date: 2000-10-09T00:00:00+00:00 List-Id: In article , "Pat Rogers" wrote: > "Ted Dennison" wrote in message > news:3A094BF4.C737809F@telepath.com... > > fabien_bousquet@my-deja.com wrote: > > > > > My code is supposed to be embedded and I do not use dynamic > allocation. Fabien, You say the overflow occurs when using a redefined "-" operator. This problem smells suspiciously like an unintended recursion. I have seen this before, where the definition of an operator either directly or indirectly ends up calling itself, with the result that no matter how long the stack is, you are going to run out of stack at that point. I'd suggest using a post-failure debugger to see what calls are on the stack (I know how to do that with Rational Apex -- not sure with GNAT). That should quickly tell you if there are lots of stacked calls to the "-" operator. If so, then you have your culprit. Regards, Steve Deller deller@rational.com (recently retired :-) :-) ) Sent via Deja.com http://www.deja.com/ Before you buy.