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: 103376,88cb7446cf44556a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe1-win.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: Reliability and deadlock in Annex E/distributed code User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Fri, 22 Sep 2006 13:52:11 GMT NNTP-Posting-Host: 82.10.238.153 X-Trace: newsfe1-win.ntli.net 1158933131 82.10.238.153 (Fri, 22 Sep 2006 14:52:11 BST) NNTP-Posting-Date: Fri, 22 Sep 2006 14:52:11 BST Organization: NTL Xref: g2news2.google.com comp.lang.ada:6696 Date: 2006-09-22T13:52:11+00:00 List-Id: On Tue, 12 Sep 2006 20:31:55 +0000, Dr. Adrian Wrigley wrote: > On Sun, 10 Sep 2006 20:58:33 +0000, Dr. Adrian Wrigley wrote: > >> I've been having difficulty getting my Annex E/glade code to run reliably. >> >> Under gnat 3.15p for x86 Linux, things were tolerably OK, with failures >> of the code about weekly (running one instance continuously). >> Sometimes the program simply wouldn't allow new partitions to run, as if >> there was some boot server failure. Sometimes the server would suddenly >> start consuming all the CPU cycles it could get. ... Building GNAT GPL 2006 Glade, I find the examples don't build correctly, and a couple that build crash: The two source files I used are: MD5 Sum 6504bed94037ac5ccc9e80f1831104f8 gnat-gpl-2006-i686-gnu-linux-libc2.3-bin.tar.gz 8ed3151978111ce6c26a857d3d4642ed tools/glade/glade-gpl-2006-src.tgz The examples directory Examples/MultiPro fails to build. On line 636 of glade-2006-src/Examples/MultiPro/s-gaprxy.adb a call is made: Soft_Links.Set_Stamp (From_SEA (Data)); Which appears to call a function defined at line 271 glade-2006-src/Glade/s-gasoli.ads -- procedure Set_Stamp (S : Float); Which, as you can see, is commented out. The build therefore fails. Is there are more recent version of these files which will build? I have tested all the examples that build on three different machines. Examples/Eratho/dynamic and Examples/Eratho/cycle fail in deadlock on Fedora Core 5, Debian and Red Hat distributions. Has anyone here managed to run these examples? I have emailed gnat-gpl@adacore.com -- Adrian