Cygwin 3.4.3 and 3.5.0... hangs in make, top, procps, ls /proc/PID/...

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jan 9 13:20:56 GMT 2023


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


More information about the Cygwin mailing list