X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EA433858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1673270496; bh=rHq66D04EXsyLspbUTxZo8ySoQJJ+TbLlPOJ7KdxtgY=; 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=XqLvHu+prtMnVzMMDrU6dgM3J12oRbCvRXkV96zRISedWl56zCXdUi+XEDp1GVKSQ 4hBCcR4PxAB8OPueNikovW+bNiuZhmeGps5thHvspWs/lXK1l/iL31e8D/iQsMUMxn vM/zCgo4cbppSUAFXxBzOSYHH4vB9E2tnbv0IcaA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Mon, 9 Jan 2023 14:20:56 +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: Mail-Followup-To: cygwin AT cygwin DOT com References: <4a4427cc-422b-1d14-015e-26523e620d9b AT Shaw DOT ca> <20230102113201 DOT 476c10bef7a5643bddc00762 AT nifty DOT ne DOT jp> <20230102143803 DOT 53f89d07a545a1bdd596e1e8 AT nifty DOT ne DOT jp> <20230102172147 DOT 83789d400bb0400cb8c8ca74 AT nifty DOT ne DOT jp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230102172147.83789d400bb0400cb8c8ca74@nifty.ne.jp> X-Provags-ID: V03:K1:VFQTt5yA2rbDzIfKUatxaCyxbc+gFSAB7ygqoG9+PvEhGWoyP4R anRtsVYEK3ZxXLVeSSNuZPf10qEdpQshe+1ITwusv3lIDfQ041LQTSNQndXL0o8w6kAd4zE H2ib4Mi/Z2NBRccdvNhwIkmMfU9T4upjnzM71CDHX6KZPqa3LhoDtjJNbvNm9+bzws64GGS 20uPBtFR6H0CjUIjISUWg== UI-OutboundReport: notjunk:1;M01:P0:SXMw3ZOaTQg=;Pyir6+v94HGTE7+4pgBB2n9Pck3 RhrckpxYTLyYoSfG2rZL2VvDghoZ9RoR5wBCxp/HYgoDzlSZq5WI+FSXDhPWQEwv9oAmShpAw 3xb7quatiZF9oj9CCuoctZwppEE8Dh3hrV0JqvqpeGGzkgGytjJonkS9J/yhROmvAAka6GO8Q cdC4aBCWEgPGmFfB5605oywIex0WQpvztx3ZLBh/wei78rj7JlYTORoZGdndI6OjAB9kb+SpE lmjPTY1vmCp7tRcLhuerdshpiH9pXqdKFIdM1Bef4bCVbXmNqcfdWejcZgc8ELgiZph45RFn2 Esv6Bn09QVGAvF91HTPrk3iOeg853DmQgF1vfcO64VtB43BTphQ5dq3fQu21weyOL6/IapAJW WtxDcJkQRg/UNTwORaXV6VM4IFqjyHS8UGfRwMo2ZfqG/Znr1krfobcmSi3+LcHxAKWQ2i4dK GpqX3YL/FMzMIGpWKiCh7jn77KHBiB4ZI4GHqOWo8lYYRtmpmv+Qv9P3lJ0aWyJtxGRtOAZ0s NCQSrrR1phUCPkfI70K5OjoveMJyPexFBPWxQX7Xwi1F5vm/PGFJmYSbQTIQSeN47gEG/xi1h 9loqFmG55aYkA5Hx96Cq/k6HdcTI8aqy1T2V6YJYe079BG+O8ino8K3QFNq/4uXXbDnff4acc DhCgPFVkLP28YQHwonr99Jm+03/JLmQBwL4hy1DHxA== X-Spam-Status: No, score=-96.7 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen 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 Jan 2 17:21, Takashi Yano via Cygwin wrote: > On Mon, 2 Jan 2023 14:38:03 +0900 > Takashi Yano wrote: > > On Mon, 2 Jan 2023 11:32:01 +0900 > > Takashi Yano wrote: > > > On Sat, 31 Dec 2022 13:01:29 -0700 > > > Brian Inglis wrote: > > > > was also getting the messages below locally and still on GitHub scallywag: > > > > > > > > cygcheck (6936) child_copy: cygheap read copy failed, > > > > > > > > ../curl/scallywag/1_x86_64 build.log:2022-12-26T00:39:35.6163236Z 0 > > > > [main] cygcheck (6936) child_copy: cygheap read copy failed, 0x0..0x80003B5F0, > > > > done 0, windows pid 6936, Win32 error 299 > > > > [...] > > I found this issue occurs after the commit 30add3e6b3e3: > > "Cygwin: exec: don't access cygheap before it's initialized" > > . > > > > Reverting this commit solves the issue. That would break strace again, but... > I'm not sure if this is the right thing, but the following > patch seems to fix the issue. This looks pretty good to me and it keeps strace working per the description in 30add3e6b3e3. Please push this to master and the 3.4 branch. 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