From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by sourceware.org (Postfix) with ESMTPS id 26D023858D35 for ; Mon, 24 Jun 2024 18:04:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 26D023858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=SystematicSW.ab.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 26D023858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=216.40.44.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719252291; cv=none; b=bDCgFlflgoGO4YKwtLqh8hMOcSK3NtEmyHIE3h2sF36Co3+hAbFlBhcE/QUE5slixcU01zZLFcj7rInL9e5DXLEehPjj/u2oe8pdY0qIvXmAOf7glGE/aKXK2G47DsPZKtYBiXK0pyW17Qz56GdxCsnSF9oWeLNy8H8eLDt1wqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719252291; c=relaxed/simple; bh=dZea5ygWTnHExHOTYfVRif0fVn2FhyBTPxd0Ws6dr2U=; h=Message-ID:Date:MIME-Version:From:Subject:To; b=EV6DcwsCYTbzPgt+soM6H/kb6ugil7vgI35z/cvcTxKQ66CSlrTColSUFwc39nG7/yMn7HmiZuhKAjOerMb5Q3Mm5HO19DLMc5kKHmi7qOcBP8sDb8oSg6IUrGgdzYV5paT01TfC+Azp87IbxwXyyzhbpSkSFCqomK4SVSwPv5k= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from omf19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8D0318120F for ; Mon, 24 Jun 2024 18:04:48 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: Brian.Inglis@SystematicSW.ab.ca) by omf19.hostedemail.com (Postfix) with ESMTPA id 1D02F20025 for ; Mon, 24 Jun 2024 18:04:45 +0000 (UTC) Message-ID: <196aed04-2156-40e4-8ba1-4dea24f04d93@SystematicSW.ab.ca> Date: Mon, 24 Jun 2024 12:04:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Brian Inglis Reply-To: Brian.Inglis@SystematicSW.ab.ca Subject: Re: Attn: libgpg-error maintainer Content-Language: en-CA To: cygwin-apps@cygwin.com References: <70f39a2b-b609-43b0-a322-8913cde6ac25@SystematicSW.ab.ca> <8ebb34bc-936f-40f1-bdd9-2d9a63ab0661@gmail.com> <63dee359-25c8-4303-8728-62a8b5ca6bbe@SystematicSW.ab.ca> <630f42e5-991a-40cd-8bc6-31d9176c668f@SystematicSW.ab.ca> Organization: Systematic Software In-Reply-To: <630f42e5-991a-40cd-8bc6-31d9176c668f@SystematicSW.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1D02F20025 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Stat-Signature: s7rsiimp1o6q9gi935zk77ragij9hsep X-Rspamd-Server: rspamout08 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX1+l1Mg3f8xV2xWF0HekCltfVCCkxNrEKsk= X-HE-Tag: 1719252285-333863 X-HE-Meta: U2FsdGVkX19LX8JIRoEQb3wsPbiuWx0wzcldtkWDWYDWPGJV6Pp+M2Qmj5dN+KUYnvmet7vawwY+VdOgrm+JW6A45UxXQWhl1n23/yUD/dipgsDgmYxCgP/NBksrxufUk22fRB48NZpCc6boTS9O0au3feHHAfwVTAX1kKBH63qiUKgr1BP54btqXLvrQd0Tq0znj4Uy4J8HTOBV8tv4TCC+wIBdj7y4zBY6VnO0SCJIQ3IKok0vX8ltGeQicVUqBlZ/CCkNDTh48CESc/AhrsOgnbHgNPdSkwmgv0zw1fpCyhOiIw2ooISPqqq3YZ4yZahxCNnVryGTrTQXi9z+PKyYc9hrevBY X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-06-24 11:14, Brian Inglis via Cygwin-apps wrote: > On 2024-06-23 20:37, Ken Brown via Cygwin-apps wrote: >> On 6/23/2024 7:46 PM, Brian Inglis via Cygwin-apps wrote: >>> On 2024-06-23 15:46, Marco Atzeri via Cygwin-apps wrote: >>>> On 23/06/2024 22:13, Marco Atzeri wrote: >>>>> On 22/06/2024 19:57, Brian Inglis via Cygwin-apps wrote: >>>>>> Update to current needed to update libgcrypt if you could please oblige? >>>>>> >>>>> >>>>> unfortunately any recent version up to 1.50 are failing a lot of tests >>>>> >>>>> PASS: t-version.exe >>>>> PASS: t-strerror.exe >>>>> fopen failed with bad code: 20 >>>>> PASS: t-syserror.exe >>>>> FAIL: t-lock.exe >>>>> FAIL: t-printf.exe >>>>> FAIL: t-poll.exe >>>>> FAIL: t-b64.exe >>>>> FAIL: t-argparse.exe >>>>> FAIL: t-logging.exe >>>>> PASS: t-stringutils.exe >>>>> PASS: t-malloc.exe >>>>> ======================================= >>>>> 6 of 11 tests failed >>>>> >>>>> I was never able to find a solution, so if any one can look and give any >>>>> suggestion, I will appreciate >>>>> >>>>> regards >>>>> Marco >>>> >>>> >>>> I just rebuilt the old 1.37 and it is reporting the same errors, >>>> while in 2020 it was passing all the tests >>>> >>>> so it seems something else is playing a role here >>>> >>>> very puzzling >>> >>> Hi Marco, >>> >>> I noticed that the build is generating libtool wrapper sources, executables, >>> and shell scripts under .../build/tests/.libs/ for the test programs, so if >>> that also happens with 1.37, that raises my suspicions that what is failing >>> is something to do with those wrappers and Cygwin libtool mods. >> >> Another possibility is that the failures are caused by a Cygwin bug introduced >> since 2020.  There have been several bugs in Cygwin 3.5.3 that have been >> fixed. Since 3.5.4 hasn't been released yet, you could try the latest test >> release of 3.6, which has all the bug fixes. >> >> FWIW, I tried running t-lock.exe under strace and saw "SetThreadName: >> SetThreadDescription() failed", followed quickly by a SIGSEGV.  That again >> suggests a possible Cygwin bug. > > Thanks Ken, > > Great suggestion - also did strace on t-printf from 1.50 tests/.libs with > src/.libs in the path to pick up test dll and got a loop due to a SEGV on > 0000000500000000 - makes interesting reading, but does not mean much to me - > terminated it eventually. > Attached log has been reduced by ~156MB and 2.5MLOC and lightly sanitized. > > However, I see no changes since to SetThread related stuff since misc_funcs.cc > in 2022. > There may be some issues with Windows error or exception handling, so I will > retry under cygwin... 3.6.0-115... No changes after upgrading all cygwin... packages to test 3.6.0-139... including also taking the precaution of running: $ env -i PATH=build/src/.libs:/usr/bin:/bin:/sbin:/usr/sbin strace ./t-printf ... $ head /proc/version CYGWIN_NT-10.0-19045 version 3.6.0-0.139.g7e3c833592b2.x86_64 (runneradmin@fv-az534-931) (gcc version 11.4.0 (GCC) ) 2024-06-16 15:01 UTC So perhaps the SetThreadDescription stuff needs another look? Anyone familiar with that? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry