delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/01/19/11:32:43

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81A1038582BC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1674145920;
bh=hZsMf2n4jMaSqhRGkiL31kcCah7fNIX4atRJcmRjmsk=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=y1Zp0OftjSipSbtDQ4Sjmr5I9Vxj/F2dqHQ0NX1w3uApeIfJBXcLiI1ixCdMbU7Se
fFEYSzwt/imG4DrGqOGW+4a0cRh6lu7kuAtL7jyCTssV/W4GFB1fp7/8+QQ+F40A2n
Z81Wut8DqLouKOdCfpJjY2Ey1FTaDtjsnfNJYYig=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 13AA33858D39
X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=63c9706d
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
a=IkcTkHD0fZMA:10 a=WfWGUscNpRDpeF24HJcA:9 a=QEXdDO2ut3YA:10
Message-ID: <f49aab6a-2cda-ba21-27d1-c4021a18f292@Shaw.ca>
Date: Thu, 19 Jan 2023 09:31:40 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: Re: Cygwin 3.4.3 and 3.5.0... hangs in make, top, procps, ls
/proc/PID/...
To: cygwin AT cygwin DOT com
References: <20230102143803 DOT 53f89d07a545a1bdd596e1e8 AT nifty DOT ne DOT jp>
<20230102172147 DOT 83789d400bb0400cb8c8ca74 AT nifty DOT ne DOT jp>
<Y7wUuNUbXBANLdIA AT calimero DOT vinschen DOT de>
<20230116180213 DOT 0e03a896f512d784933f54da AT nifty DOT ne DOT jp>
<Y8Ulug5IS7IGc15w AT calimero DOT vinschen DOT de>
<20230116234532 DOT f567e64fe7bf9a0a13704af9 AT nifty DOT ne DOT jp>
<Y8VqvgP8rA5SX/Or AT calimero DOT vinschen DOT de>
<Y8XE3gykn7dTPrmU AT calimero DOT vinschen DOT de>
<Y8cJHDaXbQ2ZQSzn AT calimero DOT vinschen DOT de>
<20230118181648 DOT 362c4665be80637108e4fd36 AT nifty DOT ne DOT jp>
<Y8e+73E/SqX+/pew AT calimero DOT vinschen DOT de>
Organization: Inglis
In-Reply-To: <Y8e+73E/SqX+/pew@calimero.vinschen.de>
X-CMAE-Envelope: MS4xfM/1Zx/slnKMfUNt3YdNX92G0tLQbEkKExdTD7gkGAJFgJ9cs0e2VtJ1cYs2ho1wlFRTbi4wkIp0p+MXk6ORLAwmOgCzITWCCSAyfwxTWp8vK8xlM4zz
U2FzRWP1WI3T6Jx5+8IZmIEsy9lV7R3nPFvBhpyVcVgEAps2IgVUgru7fXu9H2V0dYI94p2rlZOsoQ==
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE,
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.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 30JGWPmv010437

On 2023-01-18 02:42, Corinna Vinschen via Cygwin wrote:
> Hi Takashi,
> 
> On Jan 18 18:16, Takashi Yano via Cygwin wrote:
>>> On Jan 16 22:42, Corinna Vinschen via Cygwin wrote:
>>> I pushed some patches to fix this issue.  Excessive debugging indicated
>>> that the reason cygcheck fails in this way is:
>>>
>>> - It's a non-Cygwin process which
>>>
>>> - is built with high-entropy ASLR and
>>>
>>> - tries to load the Cygwin DLL dynamically and
>>>
>>> - therefore suffers from the fact that recent Cygwin code doesn't
>>>    expect that certain memory regions are used by Windows itself.
>>>    Which they are, due to the high-entropy stuff.
>>>
>>> The patches are supposed to make the code less rigid in terms of the
>>> addresses of certain memory regions, as well as dropping the
>>> high-entropy VA flag from builds of strace and cygcheck, both of which
>>> are loading the Cygwin DLL dynamically as part of their job.
>>>
>>> The test release 3.5.0-0.116.g8d318bf142f7 contains the patches, for
>>> everybody to try.
>>
>> Thank you very much for working on this problem. It seems that
>> it was unexpectedly large-scale modification.
>>
>> I confirmed that the problem has been fixed with these patches.
>> The test case has been running for 11 hours but the problem does
>> not happen so far.

> Great.
> 
> I tested this yesterday with 7 runs on two machines in parallel while
> building Cygwin continuously in another Window, and cygcheck still with
> high-entropy-VA enabled.  And one of the machines continued to run the
> cygcheck loops over night and were still in good shape this morning :)
> 
> I guess we should release 3.4.4 pretty soon now.

I installed and tested 3.5.0-0.122.g3c2ac163da88.x86_64 instead, as that was the 
autoselected test version.

When cygcheck -hrsv was run as usual in local postinstall script
zp_z2_l_cygcheck-hrsv.dash gave error msg box can't find zlib1.dll - but it's 
there:

$ ls -glo /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll
-rwxr-xr-x 1 117267 Oct 15 12:14 
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll

Under X/mintty/bash cygcheck will not even start - says so in error msg box with 
code 0xc000007b!

-- 
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

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019