delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/01/19/12:13:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9F123858C36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1674148370;
bh=vhJ3M8z+nDf5NwBEpcR0oe+bkP9Y8ddRVgGQE20kAac=;
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=cMEqti3HqnyBu5lC//6tqeznjKLi2EDo75I9mFaK1Bu/SzVQeNVwXkGBgOccx3WdP
QwwZglJlHJXYBILAOvwCMowIMiTIW9+BpPKGHxWlyAyYaujL8mBXkHy6D/rPwD96Bj
7PnG1Vj3ZP2BftR8P4SOoHjtFw5loDAgS9qnjxTQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 26BFD3858C52
X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=63c979fe
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
a=IkcTkHD0fZMA:10 a=c1qpQxUt2aTmCn3I2nYA:9 a=QEXdDO2ut3YA:10
Message-ID: <a8b195c6-df2b-5cf0-c3f4-f6a9e5d35c5f@Shaw.ca>
Date: Thu, 19 Jan 2023 10:12:29 -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>
<f49aab6a-2cda-ba21-27d1-c4021a18f292 AT Shaw DOT ca>
Organization: Inglis
In-Reply-To: <f49aab6a-2cda-ba21-27d1-c4021a18f292@Shaw.ca>
X-CMAE-Envelope: MS4xfE1ALzXmiDm3XSWpXIu3ahjsNQtmraGkwLTfn8Wxhy0b4REpK6JHExQbwdRhTNcmBE/9tG8qycabkIi8c2/yC95+wu5kopfD3S3y/ISmus7YOYW68zHC
qTEIMMgfi0cDNx8Xch2O7ZllxNOBG/djfm3NYit9zCUO5LuBIBciioKr+HgfFaqhQ6c2RdCugf8y/g==
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 30JHDHKO015862

On 2023-01-19 09:31, Brian Inglis via Cygwin wrote:
> On 2023-01-18 02:42, Corinna Vinschen via Cygwin wrote:
>> 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!

Downgraded to 3.5.0-0.116.g8d318bf142f7.x86_64 and getting exactly the same 
postinstall and X/mintty/bash msg box errors:

	can't find zlib1.dll
	The application was unable to start correctly (0xc000007b)

Is cygcheck missing DLL search path
$CYGWIN_ROOT/usr/x86_64-w64-mingw32/sys-root/mingw/bin/?

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