public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kate Deplaix <kit-ty-kate@outlook.com>
To: Takashi Yano <takashi.yano@nifty.ne.jp>,
	David Allsopp <david@tarides.com>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Regression: Cygwin 3.5.1 freezes when launching several mingw processes in parallel
Date: Fri, 1 Mar 2024 17:48:52 +0000	[thread overview]
Message-ID: <CWXP265MB13686F1A651D9D99F6F03276BC5E2@CWXP265MB1368.GBRP265.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAJQQdJiXsUUSx3vs2WjQYS0eNtX-7Vs99=NSygwCYC7Pkhvtyg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1934 bytes --]

Hi,

Using cygwin 3.6.0-0.66.gc77a5689f7bd I was indeed unable to reproduce the issue.
However I'm getting a related but slightly different issue now, where a subprocess randomly (but quite reliably over the whole compilation process) fails with make -j (works fine with -j1 once again)

Luckily i was able to make a really small test-case this time:
Using MinGW 11.4.0 with the following test.c file:

#define UNICODE
#define _UNICODE

#include <process.h>
#include <stdio.h>

int main() {
  int ret = _wsystem(L"x86_64-w64-mingw32-gcc -dumpversion");
  if(ret != 0) printf("FOUND %d\n", ret);
}

compile using: x86_64_w64-mingw32-gcc ./test.c
and run using: for i in $(seq 1 100) ; do ./a & done

You should now be able to see at least one FOUND line among the output.

This exact behaviour happens to me everytime I try to compile the OCaml compiler, where a gcc subprocess fails inexplicably.

We've been getting this kind of error once in a while over the years (locally and in CI) but it was never reproducible to this point and it was usually fine if we restarted the compilation.

Kind regards,
________________________________
From: Cygwin <cygwin-bounces+kit-ty-kate=outlook.com@cygwin.com> on behalf of David Allsopp via Cygwin <cygwin@cygwin.com>
Sent: 01 March 2024 15:26
To: Takashi Yano <takashi.yano@nifty.ne.jp>
Cc: cygwin@cygwin.com <cygwin@cygwin.com>
Subject: Re: Regression: Cygwin 3.5.1 freezes when launching several mingw processes in parallel

On Fri, 1 Mar 2024 at 08:03, Takashi Yano via Cygwin <cygwin@cygwin.com> wrote:
> Please try: cygwin 3.6.0-0.66.gc77a5689f7bd (TEST)

I can confirm this fixes the issue for me, thank you!


David

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

  reply	other threads:[~2024-03-01 17:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29 18:19 Kate Deplaix
2024-02-29 21:34 ` Kevin Schnitzius
2024-02-29 23:55   ` jojelino
2024-02-29 23:57   ` jojelino
2024-03-01  4:31     ` jojelino
2024-03-01  0:25 ` Takashi Yano
2024-03-01 10:21   ` Takashi Yano
2024-03-01 13:02     ` Takashi Yano
2024-03-01 15:26       ` David Allsopp
2024-03-01 17:48         ` Kate Deplaix [this message]
2024-03-02  4:41           ` Takashi Yano
2024-03-02 11:49             ` Kate Deplaix
2024-03-03  4:07               ` Takashi Yano
2024-03-04 11:00                 ` Takashi Yano
2024-03-04 12:06                   ` Takashi Yano
2024-03-04 12:26                     ` Dimitry Andric
2024-03-04 15:58                     ` Kate Deplaix
2024-03-04 19:38                       ` Dimitry Andric
2024-03-04 19:54                         ` Cedric Blancher
2024-03-04 22:23                           ` Dimitry Andric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CWXP265MB13686F1A651D9D99F6F03276BC5E2@CWXP265MB1368.GBRP265.PROD.OUTLOOK.COM \
    --to=kit-ty-kate@outlook.com \
    --cc=cygwin@cygwin.com \
    --cc=david@tarides.com \
    --cc=takashi.yano@nifty.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).