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,208e9ad3aa39640a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 04:58:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BCC1546.878D06D6@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: JGNAT and Tasking/Protected Types Problem References: <46afd8d4.0110151230.657986d9@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 16 Oct 2001 11:58:44 GMT NNTP-Posting-Host: 158.252.122.195 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1003233524 158.252.122.195 (Tue, 16 Oct 2001 04:58:44 PDT) NNTP-Posting-Date: Tue, 16 Oct 2001 04:58:44 PDT X-Received-Date: Tue, 16 Oct 2001 04:54:57 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:14656 Date: 2001-10-16T11:58:44+00:00 List-Id: Aaron Lerch wrote: > > I'm running across a very baffling run-time problem that hopefully > someone can help me with! > I'm using the JGNAT compiler, and when the code instantiates a new > protected type, the ada libraries that come with JGNAT raise an > assertion exception out of the "defer_abort" function. > It looks to me like it's initializing the new protected type and when > it gets to the "defer_abort" function the following is false: > Self_ID.Deferral_Level = 0 > > Has anybody had a problem like this (or this exact one) in the past > and can help me get past it? The code does create protected types > before, so I'm a little confused. Also, the protected type has 3 > inputs when it is created, but even if I moved them out of there and > put them into a "method", it still has the same error. > What platform and JDK version are you running? The tasking run-time of JGNAT 1.1p running on Linux does not work with JDK 1.3, I had to go back to 1.2.2 to get it to work. I know this isn't exactly what you're doing, but it might be related... Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com