X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54CB43858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1709555214; bh=MpqY+cwtJKhkWak2qA7RKXcbpnUiohI/ywoZ41s6lH8=; h=Subject:In-Reply-To:Date:Cc:References:To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=jSEpXmGnq4ImByUhcq7f50Dsgy6U2up9fodjStR13dpZT0AK4Pf4D6tqHHlpGHeF/ LVF5xTmQAFYEPUsFrW62pbZC0I46zJlvt7SqN3PbQb6TQqL2N4pSiOGVclx04dFtLr yDFr1JQfk1kJEaLuOVMz61mYBMFCRSV5KBTdOlGY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EBEEE3858C41 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EBEEE3858C41 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709555192; cv=none; b=BqmpWBdv8Fo9ZeUO9hnbVslVvIRZgnZsMIBfNbg9yIWc0UL9rhlqodha5Z8S+G4SWOre8/mVUA1ggNq1/riYuTTRYp4xsNcDBH2Uz4HdrV51+VdCyMSKefxQ/BJZ9c6KoxUABgK4wgInLQbyiOZqkWik+5pF9ArLgjaGSrXKkJs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709555192; c=relaxed/simple; bh=PMeg6OqDoGizz1UEa8LP2bdPSIQHG8eWbypie11VTGI=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=cELLj1WTE/WV2eLT7InJ7NXfmr3EGLK1zXem2oTzO4IH9qn7K6H1TVt2FkrlF/TgLPIMH7Xg8KxX+AAyS+HnkVZEVKbHArV2TNC9wP95k127L2FWBPoWuZQ0+/RHvpIiC1w8V7TWWLmxOtyBLR0/Axc36Aq7kNZMvVkJ3HDZ/I0= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709555189; x=1710159989; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JiOugOVAtx06BhLKx/ygfbUL5EF+cNjK3BSY7/ZVoWk=; b=u5zSzIlJ7Z426S2t7f3DbsrcN70v4S2UO8tkQoZ5i75ds8UPlVNq4oZ8fN3/Yy0wSE QjWrMkF9EL+O3PF6y1ArEcXRWArWbBSs2Hj1koQfTOctuolB0pKlcjou2s7hu2ihDDwi C5RfVlqf2mGxoP+uev7KVktsmgfm+rT1KcKUYabp/4rIA3gJKadK2Tgi5tp/fHpsSMTi FzyLgAQ93l530E87yv9xef/He2lTJLv0F7fRM4L18Dki4wCQ3qX83ZTSyKDJ+b77aw4q Ry5zowi3SffpiqWKTp9/y/tY/mRhAZzdAPTMrVd4v0FJ79teavTw+AmuTMn56aNXZWM/ mzVw== X-Gm-Message-State: AOJu0YxElm+5QbgWx2QPzR7h7ie40kR3LNTFW22dvu+SEJihZVkHhdGD wL57gHtme4GMHAEf9iZtsEp0gbzvIYLqsdDWOylW8+ckzL31XWwDfTzYXS1k/jI= X-Google-Smtp-Source: AGHT+IFmOMWjFqfX8tK0uo1ZokCyoW4/hKV30kdQ4xsHgqJ5n05lv1P2K+UBah8Id7nQX2zF7PFAog== X-Received: by 2002:a50:d7ca:0:b0:567:6bf:e92d with SMTP id m10-20020a50d7ca000000b0056706bfe92dmr4127789edj.29.1709555188661; Mon, 04 Mar 2024 04:26:28 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Regression: Cygwin 3.5.1 freezes when launching several mingw processes in parallel In-Reply-To: <20240304210621.582549b27cdaf44e65cabc76@nifty.ne.jp> Date: Mon, 4 Mar 2024 13:26:11 +0100 Cc: cygwin AT cygwin DOT com Message-Id: <8D59B9EB-406B-49F4-89C6-6F9F570111FB@unified-streaming.com> References: <20240301092510 DOT e56a1716b9fd71f53525006d AT nifty DOT ne DOT jp> <20240301192112 DOT 2316a694eae54badff3f2a31 AT nifty DOT ne DOT jp> <20240301220222 DOT cce913c7ac4e75d0ec26e58d AT nifty DOT ne DOT jp> <20240302134104 DOT 1696af5869b62727e4fe8dee AT nifty DOT ne DOT jp> <20240303130711 DOT cb1b7f399e57e06ca07e6773 AT nifty DOT ne DOT jp> <20240304200013 DOT bb95b4089e5d695d9ab19b6b AT nifty DOT ne DOT jp> <20240304210621 DOT 582549b27cdaf44e65cabc76 AT nifty DOT ne DOT jp> To: Takashi Yano X-Mailer: Apple Mail (2.3731.700.6.1.1) X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_PORT autolearn=no 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.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dimitry Andric via Cygwin Reply-To: Dimitry Andric 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" I think I've been experiencing something similar with 3.5.1, where date.exe randomly hangs with a full core pegged. Loading it in gdb shows: Thread 1 received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffe23b0b503 in KERNELBASE!DebugBreak () from /cygdrive/c/Windows/System32/KERNELBASE.dll (gdb) bt #0 0x00007ffe23b0b503 in KERNELBASE!DebugBreak () from /cygdrive/c/Windows/System32/KERNELBASE.dll #1 0x00007ffe19cf6367 in break_here () at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/dcrt0.cc:472 #2 0x00007ffe19d10339 in try_to_debug () at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/exceptions.cc:597 #3 exception::handle (e=0x7ffffc7b0, frame=, in=0x7ffffc2c0, dispatch=) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/exceptions.cc:810 #4 0x00007ffe261123af in ntdll!.chkstk () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #5 0x00007ffe260c14b4 in ntdll!RtlRaiseException () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #6 0x00007ffe26110ebe in ntdll!KiUserExceptionDispatcher () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #7 0x00007ffe19da92d7 in fhandler_console::set_output_mode (m=(unknown: 0x2610d444), t=0x1, p=0x7ffffb9e8) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/fhandler/console.cc:843 #8 0x00007ffe19d095ca in dtable::init_std_file_from_handle (this=, fd=, handle=0xffffffffffffffff) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/dtable.cc:425 #9 0x00007ffe19d099c2 in dtable::stdio_init (this=0x800004870) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/dtable.cc:186 #10 0x00007ffe19cf7187 in dll_crt0_1 () at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/dcrt0.cc:925 #11 0x00007ffe19cf5e08 in _cygtls::call2 (this=0x7ffffce00, func=0x7ffe19cf6fb8 , arg=0x0, buf=buf AT entry=0x7ffffcdf0) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/cygtls.cc:41 #12 0x00007ffe19cf5e86 in _cygtls::call (func=, arg=) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/cygtls.cc:28 #13 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) I will check out 3.6.0-0.71.gb160b690b6ac to see if it fixes this hang. -Dimitry > On 4 Mar 2024, at 13:06, Takashi Yano via Cygwin wrote: > > On Mon, 4 Mar 2024 20:00:13 +0900 > Takashi Yano via Cygwin wrote: >> On Sun, 3 Mar 2024 13:07:11 +0900 >> Takashi Yano wrote: >>> On Sat, 2 Mar 2024 11:49:36 +0000 >>> Kate Deplaix wrote: >>>> I'm running cygwin on baremetal on an Intel i5-750 (4 cores), with 7GB of RAM and with an up-to-date Windows 10. >>> >>> Thanks for the information. I could reproduce the problem with >>> Core i5 M 540 + 8GB RAM machine. >>> >>> Let consider how to debug. >> >> I found the cause. I'll push the patch shortly. >> Thanks! > > Please try: > cygwin 3.6.0-0.71.gb160b690b6ac (TEST) > > -- > Takashi Yano > > -- > 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 -- 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