delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/01/18/04:43:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E015385842A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1674034948;
bh=p57sEdY0b11jvncgQ0zH7uu7GOl4PA53nUrCetZUn4E=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=YRVw0+2/05BQZPG6g6BTwTZH+5yBvSr8mBgl8ZeHqEV+sqgQXwa7PClAGGwsfYQIO
X84exLzPuuiUXl2YFK0mPSnk1V7E4zbmkPjgMLtAm3Y6wNqn6YZBdUkZUOZmoFtwbM
pTBbxnx4NlUaI947+wpkp5Z8QYEATLktm0x9dtJw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
Date: Wed, 18 Jan 2023 10:42:07 +0100
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 3.4.3 and 3.5.0... hangs in make, top, procps, ls
/proc/PID/...
Message-ID: <Y8e+73E/SqX+/pew@calimero.vinschen.de>
Mail-Followup-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>
MIME-Version: 1.0
In-Reply-To: <20230118181648.362c4665be80637108e4fd36@nifty.ne.jp>
X-Provags-ID: V03:K1:iJvavbZ8FNekmtBYoA6qysytpbEAUbuJ/CheoKBinPuWyAzdBzG
HdNkNZ49XXrL61NGlbwQRe0zUcnosSNBjLEZI5rHjQi7XHTWqpjKdkHDCSPE/0xSb7NgMMC
tUiduv9Ik8NkhAUKt890eaanhCKBOfzBvmX25a3QsxXGJK3uoWoOAPTkacI1mie35AtU5hp
p1uxK1R1RzCBWOY37ONpg==
UI-OutboundReport: notjunk:1;M01:P0:0KMcTcqyn6A=;qf4uhtgBQsZVS7OtUiinfI3e9I9
/nNd4wcJwL5T5mlL4/bF2DxQvUh/xyaut1+I9r1FMaNJ5eBZYpphL/jQoMiJAEkQMuM0FU0E2
2QB+U/itdH/Z759GMgPpNP4nwSwzxEWz0gJ0/vYrdwz3cTWBeK3znCuKsMdKt98IiF/jzIFRG
7bW+n/CoprevG5gqtIqd0jt0jlOHE39Ptvl3x520iXhTrn7IUWbmYDImOf9yGsBCUi3aPcIvh
tVz6e/vnaYL/ShTJ06OSE/8vx4LLYZ1Tor4QVFTupk3sc0R/+mfblX4M4L8li4TooNDwyQhCq
dY1YGERbKerqsRvMiO/9XOfFrBxq6gNCWQj2VdGpFeUPJfi/hPdbhUjYwC4PkghhPcoOezfhY
H7bx0F4KTe4NiuJ7dVFIphLHmxm8O//cyeEQBj32RynRcOO8c67p+56+7uSj46c4uogfqgr5I
NgbqWCH+GZV3IRGnMG04VtNGBYf2uDYK0/IXDVfiOG3Da05TM7E56J3UQVpcwq1XrRfRidjfT
+g6e68cqFNakQbyy+oJTAZIfrcJurOg3BnfNjTnTmPODFR9S+M5Dhdle6eJNOzDwftqzlunyJ
3wCbk4670IPFucsCID+Vda26lkN3igw8JvO1/vGS+0W5nMRuQ+rmecahetSxsbWzCnmYiGrxE
1Ti+ZXx5atfLO7eJlEuaVp1Dc1x+Q4FmhgcaCC5kdQ==
X-Spam-Status: No, score=-97.0 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_FAIL, SPF_HELO_NONE,
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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>

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.


Thanks,
Corinna

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