DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44P2SdQg3566790 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=L18doyDd X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5BAF3858CD9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1716604117; bh=EeRp8Y4VgsKt0yUQYqR6dJEhtgrz1s9tmSrTbQV1IG8=; h=Date:To:cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=L18doyDdTxEmjLcwGGJVJhH/3vhCFbknizJCMFNZt1BNa48qui966RNP0zsAQGVhl odHzCgA2Z9As6IVzSDc9PSWa3luTHNi2IPcyHgJf+qwT+1JW2nzjsr7+N+a/+0ajCS hcdscW0FKnG5OfdgZOJcPEWKLBStqVYJbsJXs3sI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E6D023858CD9 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E6D023858CD9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716604099; cv=none; b=D8rl4ynLp27k3CrsmAzKKMcLM49OBdCsdQA+7mieGqeg7ks7JGmAzjHHYk2D9iu6Shb4SZK41mKqxfVdHLR0ewLEPV0cQVuIsKXH4E5rRWAGaluLLWibVrn1V4eIu1lRN40QF6hLe/nP4QVpla9CXI2UCzqd26pG0DL1XG6ESRs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716604099; c=relaxed/simple; bh=HLEX3NgfRjOU3tLClqCL4s/j3jMUrLbBQ+n+ls/i55Y=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=nbWlK21+QJmR6ZG2NV7bU+Ucua0iTqnRfv4ZyUuJzI4yQHT9P+42FfDk34/IJCU8XGXhSTzEi20slLS6s+sMeE8LfJf5cm11zj9VUMbgCIb6FO9MFQiKwgr0UpFCTqbXNKXqqOHTCLvxJpJtVV4KdltebuT6MaldQ/HYSzlLWzI= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Fri, 24 May 2024 19:28:13 -0700 (PDT) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: Takashi Yano cc: cygwin AT cygwin DOT com Subject: Re: frequent hangs running ldd In-Reply-To: <1048b7a2-34fc-616e-1f9e-ce46dbc6d704@jdrake.com> Message-ID: <8292a53a-15f6-da7c-c1d8-201418d1c589@jdrake.com> References: <20240525045424 DOT ac58c0ff5e325706b2a5f014 AT nifty DOT ne DOT jp> <0bd2f49b-93f6-7db4-32b6-7f3021db211e AT jdrake DOT com> <20240525071739 DOT 167d0f2b66b3dd8d2313be19 AT nifty DOT ne DOT jp> <199f58b5-be55-a490-b94c-8b1ec7ff10fe AT jdrake DOT com> <74e13efb-885a-3a90-f530-a6aa14bc5953 AT jdrake DOT com> <1048b7a2-34fc-616e-1f9e-ce46dbc6d704 AT jdrake DOT com> MIME-Version: 1.0 X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Fri, 24 May 2024, Jeremy Drake wrote: > Looking at !address, it seems Windows put the PEB, TEBs, and stacks in the > area where the cygheap should be. Way to go, ASLR :P I think the fix for this would be to add -Wl,--disable-high-entropy-va to ldh_LDFLAGS, as was done for strace and cygcheck at least. I used peflags -d0 /usr/bin/ldh.exe and I'm not seeing a hang after that. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple