From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.1 required=3.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!dGELjPO44lRgUjmZYA5/xw.user.46.165.242.75.POSTED!not-for-mail From: Fernando Oleo Blanco Newsgroups: comp.lang.ada Subject: Re: Help: Ada in NetBSD Date: Sat, 18 Sep 2021 18:39:33 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <646f270d-0e65-46a5-b40a-02afab608f1en@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="17643"; posting-host="dGELjPO44lRgUjmZYA5/xw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62777 List-Id: Welp, I have another "major" update... I talked to #netbsd and asked if there was anything I should be aware when dealing with pthreads in NetBSD. I did not get any much advice, but I was told that there were some issues with lwps that were fixed. Lwp stands for Lightweight processes. I went ahead and started debugging a failing test. After running the program a few times in gdb, I got a message related to a potential issue with the lwp (this test was using tasking). Interesting I told myself, but I did not dig any further. Here was the issue. I was using an installation of NetBSD that is modified, it is the OS108 "distro". It is created by a fellow Ada lover Jay Patelani. The thing is that OS108 as it stood when I installed, was based on a development version of NetBSD 9.1. I decided that if there were potential issues because of the development version, I did not want to find out; specially after being warned about lwps. So I updated to NetBSD 9.2, the latest stable release. And I ran the tests once again............ And guess what. I am getting the exact same failing tests, but, for the time being (the tests are still running), all have failed with the same raised exception. And this exception is "new", it was not part of the ones I named in the previous email. It is "raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : s-taprop.adb:659" s-taprop was already raising an exception before, but in line 463 and just in some cases. Let me repeat it once again, all tests that I have seen so far, that fail with an exception that is not related to Storage, are failing only with this "new" one. That is a great thing in terms of narrowing down where the potential issue may lie. It also means that much of my work is not really that helpful... And maybe even that it has always been working, and I just need to recompile GCC... Oh no... That idea just came up in my head while typing... I will be back in about 6 hours. Regards, -- Fernando Oleo Blanco https://irvise.xyz