From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by sourceware.org (Postfix) with ESMTPS id 2BE0B3858D28 for ; Wed, 18 Jan 2023 09:42:10 +0000 (GMT) Authentication-Results: sourceware.org; dmarc=permerror header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MMXYN-1oycOl2Tep-00JdYK for ; Wed, 18 Jan 2023 10:42:08 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 6250AA80851; Wed, 18 Jan 2023 10:42:07 +0100 (CET) Date: Wed, 18 Jan 2023 10:42:07 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cygwin 3.4.3 and 3.5.0... hangs in make, top, procps, ls /proc/PID/... Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20230102143803.53f89d07a545a1bdd596e1e8@nifty.ne.jp> <20230102172147.83789d400bb0400cb8c8ca74@nifty.ne.jp> <20230116180213.0e03a896f512d784933f54da@nifty.ne.jp> <20230116234532.f567e64fe7bf9a0a13704af9@nifty.ne.jp> <20230118181648.362c4665be80637108e4fd36@nifty.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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 List-Id: 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