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,208e9ad3aa39640a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 13:30:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: alerch@hotmail.com (Aaron Lerch) Newsgroups: comp.lang.ada Subject: JGNAT and Tasking/Protected Types Problem Date: 15 Oct 2001 13:30:45 -0700 Organization: http://groups.google.com/ Message-ID: <46afd8d4.0110151230.657986d9@posting.google.com> NNTP-Posting-Host: 199.46.200.230 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1003177845 21568 127.0.0.1 (15 Oct 2001 20:30:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 Oct 2001 20:30:46 GMT Xref: archiver1.google.com comp.lang.ada:14587 Date: 2001-10-15T20:30:46+00:00 List-Id: 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. Any help would be great!!! Thanks! Aaron Lerch