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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,405c9fed403b342b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 06:37:52 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!wn11feed!worldnet.att.net!attbi_feed3!attbi.com!attbi_s04.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: <1b585154.0312211634.6c414d2e@posting.google.com> Subject: Re: Program Terminates ... X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <3lDFb.627904$Fm2.565052@attbi_s04> NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s04 1072103871 12.211.58.135 (Mon, 22 Dec 2003 14:37:51 GMT) NNTP-Posting-Date: Mon, 22 Dec 2003 14:37:51 GMT Organization: Comcast Online Date: Mon, 22 Dec 2003 14:37:51 GMT Xref: archiver1.google.com comp.lang.ada:3694 Date: 2003-12-22T14:37:51+00:00 List-Id: You might try adding a delay after each of the Put_Line statements in the exception handlers. Maybe the program is getting killed before the message makes its way out. I have seen this type of termination before, usually not with Ada. I have been known resort to saving state information about each task in shared memory so I could see where things were when the program died. Steve (The Duck) "Peter Richtmyer" wrote in message news:1b585154.0312211634.6c414d2e@posting.google.com... > I hope someone can help. > > I am running a couple programs using > Gnat 3.15p on Win2000. One program has a number of tasks that > all have exception handlers. Virtually all my routines have > exception handlers too. > > After running awhile (the two programs exchange > messages) the one program terminates gracefully - for no > apparent reason. Eventually all the tasks seem to terminate, > though I have not coded any normal way out of some of them > (endless loops). And I have "Put_Line" statements in all > exception handlers and at the end of the main program. > But no error messages are printed. (Other "normal" messages > are printed during the run.) > > Is there some resource that could be used up and yet not cause > an exception? Or what would cause this behavior? I have never > seen anything like this before, and I've been at it some years. > Any ideas very welcome. It is deadline time! > > Thanks, > Peter