public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bogus exit code 127 from a child process
@ 2024-03-17  8:14 Alexey Izbyshev
  2024-03-17  8:44 ` Takashi Yano
  0 siblings, 1 reply; 14+ messages in thread
From: Alexey Izbyshev @ 2024-03-17  8:14 UTC (permalink / raw)
  To: cygwin

Hello,

I've been getting occasional "Error 127" from make -jN on seemingly 
random jobs. After reducing the set of jobs and eventually eliminating 
make, I've arrived to this one-liner:

bash -c 'true & true & wait -n || echo 1: $? && wait -n || echo 2: $?'

When run repeatedly, the second "wait -n" often reports 127.

I've reproduced this in the following environments:

* Cygwin 3.5.1, Windows 10 22H2 x64
* Cygwin 3.4.6, Windows 10 22H2 x64 and Windows 7 x64

I couldn't reproduce it in Cygwin 3.3.6 (WOW64) on Windows 7 x64.

Thanks,
Alexey


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-03-18 11:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-17  8:14 Bogus exit code 127 from a child process Alexey Izbyshev
2024-03-17  8:44 ` Takashi Yano
2024-03-17  9:01   ` Alexey Izbyshev
2024-03-17  9:27     ` Takashi Yano
2024-03-17 10:03       ` Alexey Izbyshev
2024-03-17 10:21         ` Takashi Yano
2024-03-17 12:03           ` Takashi Yano
2024-03-17 12:15             ` Takashi Yano
2024-03-17 12:35               ` Takashi Yano
2024-03-17 12:50                 ` Dimitry Andric
2024-03-17 13:10                   ` Dimitry Andric
2024-03-18  3:09                     ` Takashi Yano
2024-03-18  4:58                       ` Takashi Yano
2024-03-18 11:08                         ` Alexey Izbyshev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).