From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id D32313858D35 for ; Mon, 22 May 2023 14:38:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D32313858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id 145LqU1SZLAoI16gEqtYfK; Mon, 22 May 2023 14:38:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1684766314; bh=Jaes/hH9qq6nUh708OaCtWcD67kzRjZwJfVRHWVXuHs=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=Cv0fiP3cOMTniv+5uCSW2Eg0TrKrvQHpnVAPouhwl3HbhbJEefDyoLrfY4xOFnPGf +UO1O0NW8UQLFBcnxPB0D8Hyr0kwa6oPgeI/1HwB3Ur3ZgIU9C8J+3aCYe0J81oGU2 gTBC88mMuTxY81m8sQlZ77wLxm9cc7l+0vdLAcr0vEOZ/5xlTiiQSPcaKwMlit+fwn brCEv8l2DOpB+j/SBsbHUelR8wtEpoNw/uriVur7WduSOh0yIpSOk92Y+yQ0F5g7Os FJO9gC9pLLJPLqRo37dcZ0PpGmVYUicoNOAXBwqAf3XDTsGOkMpy4Qu5nqRtvTlvYC BRZMaxbRXnC1Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id 16gDqcO0LyAOe16gDq1PLe; Mon, 22 May 2023 14:38:34 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=646b7e6a a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=CCpqsmhAAAAA:8 a=1hFk0nXRdKcVdBhI6rYA:9 a=QEXdDO2ut3YA:10 a=9c8rtzwoRDUA:10 a=3YGdmVAMM1IA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=ul9cdbp4aOFLsgKbc677:22 Message-ID: <79bdd450-31a3-10c8-7f24-75716030c6b6@Shaw.ca> Date: Mon, 22 May 2023 08:38:33 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: x86_64 ldd hangs running on a DLL Content-Language: en-CA To: cygwin-apps@cygwin.com References: <14b85c22-ce8f-457d-abf4-61efdc2b474f@dronecode.org.uk> Cc: Rodney Brown From: Brian Inglis Organization: Inglis In-Reply-To: <14b85c22-ce8f-457d-abf4-61efdc2b474f@dronecode.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfG5ZSb9WHfNFd8B33utpwJ8jHOUA29b8rcHycJA9amUyZ8ZjEVbKoJGJORIkaQDfTCMXNDZhGUnYDwM59AdFD44pOCW1/lgCvaEvt4qF2YjZufV3UV8v 1jZKSyB2YSLsH40ZzI9X3KVpeLLbY02tYW0QkhiNB/FopuynQBMtDHATGvgj5DcfLEAdG2nL+PsZhdofH2kh4/1CTjOtPp4VfSuVCz5ipaYALdCxXZTgKl6e X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: BLODA? https://cygwin.com/faq/faq.html#faq.using.bloda On 2023-05-21 14:32, Jon Turney via Cygwin-apps wrote: > On 18/05/2023 02:46, Rodney Brown via Cygwin wrote: >> $ uname -a >> CYGWIN_NT-10.0-19045 X 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64 Cygwin >> $ ldd --version >> ldd (cygwin) 3.4.6 >> >> As with "ldd freezes" >> https://sourceware.org/legacy-ml/cygwin/2015-07/msg00314.html , cygcheck works, >> not only for Cygwin DLLs and ldd hangs needing the xterm to be closed, though >> it can interrupted when run >> under strace, or did. Strace now is segfaulting. > > What changed to make it start segfaulting? > >> Did Corinna's fix for i686 not end up in the x86_64 code? > > The claim here seems to be: ldd is broken on x86_64 for all dlls, and has been > since 2015, and nobody has noticed. > > While possible, this seems unlikely. > > All I can tell you is that it appears to WFM.  Perhaps you can provide some more > details? > >> $ ldd /usr/bin/cygwin1.dll >>         ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffe56090000) >>         KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL >> (0x7ffe54a90000) >>         KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll >> (0x7ffe53c40000) >>         msvcrt.dll => /cygdrive/c/WINDOWS/System32/msvcrt.dll (0x7ffe55750000) >>         advapi32.dll => /cygdrive/c/WINDOWS/System32/advapi32.dll >> (0x7ffe54d90000) >>         sechost.dll => /cygdrive/c/WINDOWS/System32/sechost.dll (0x7ffe549b0000) >>         RPCRT4.dll => /cygdrive/c/WINDOWS/System32/RPCRT4.dll (0x7ffe55570000) >>         CRYPTBASE.DLL => /cygdrive/c/WINDOWS/SYSTEM32/CRYPTBASE.DLL >> (0x7ffe53060000) >>         bcryptPrimitives.dll => >> /cygdrive/c/WINDOWS/System32/bcryptPrimitives.dll (0x7ffe53770000) > -- 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