From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id EBEEE3858C41 for ; Mon, 4 Mar 2024 12:26:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EBEEE3858C41 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=unified-streaming.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=unified-streaming.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EBEEE3858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::536 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 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-565a3910f86so6574081a12.3 for ; Mon, 04 Mar 2024 04:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unified-streaming.com; s=google; t=1709555189; x=1710159989; darn=cygwin.com; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JiOugOVAtx06BhLKx/ygfbUL5EF+cNjK3BSY7/ZVoWk=; b=KfOBBtd7N/j+YF9aHIQ/7SK3pJxtmBAyJ8wJWf6zBoC9+ZFsnBrASdRq3wGIhzrqzp Wc2ohjavrcT+Ku2toa0cj0Vvd84ixwgy3H5o9OnLOXSXw3xLQRJxwjWq7fJ5bDSLXX7r PTila9k0i18KQcLxyepR3ZNmo3QDnVkreAZuY5fAfg7knsoRb7zibRtaQVEbAeqw1e1b BaKBdbsfs+CFFVujktU7584lGiiQOId56yiea8QLG8IHJ2vtq6a7aIa9hVZnpOtlQWX+ ri+KySf99830mZgCr6bbsG7rTMBtyNzdE05+H/6MTh2xKK7I8LfxgPJ3iXlbdyhE32+J 1gqw== 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) Received: from smtpclient.apple (tensor.andric.com. [87.251.56.140]) by smtp.gmail.com with ESMTPSA id el8-20020a056402360800b00566d6e30f1fsm3459940edb.31.2024.03.04.04.26.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2024 04:26:16 -0800 (PST) Content-Type: text/plain; charset=us-ascii 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 From: Dimitry Andric In-Reply-To: <20240304210621.582549b27cdaf44e65cabc76@nifty.ne.jp> Date: Mon, 4 Mar 2024 13:26:11 +0100 Cc: cygwin@cygwin.com Content-Transfer-Encoding: quoted-printable Message-Id: <8D59B9EB-406B-49F4-89C6-6F9F570111FB@unified-streaming.com> References: <20240301092510.e56a1716b9fd71f53525006d@nifty.ne.jp> <20240301192112.2316a694eae54badff3f2a31@nifty.ne.jp> <20240301220222.cce913c7ac4e75d0ec26e58d@nifty.ne.jp> <20240302134104.1696af5869b62727e4fe8dee@nifty.ne.jp> <20240303130711.cb1b7f399e57e06ca07e6773@nifty.ne.jp> <20240304200013.bb95b4089e5d695d9ab19b6b@nifty.ne.jp> <20240304210621.582549b27cdaf44e65cabc76@nifty.ne.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 List-Id: 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=3D0x7ffffc7b0, frame=3D, = in=3D0x7ffffc2c0, dispatch=3D) 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=3D(unknown:= 0x2610d444), t=3D0x1, p=3D0x7ffffb9e8) 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=3D, fd=3D, = handle=3D0xffffffffffffffff) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/dtable.cc:425 #9 0x00007ffe19d099c2 in dtable::stdio_init (this=3D0x800004870) 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=3D0x7ffffce00, = func=3D0x7ffe19cf6fb8 , arg=3D0x0, = buf=3Dbuf@entry=3D0x7ffffcdf0) at /usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/cygtls.cc:41 #12 0x00007ffe19cf5e86 in _cygtls::call (func=3D, = arg=3D) 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: >=20 > 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. >>>=20 >>> Thanks for the information. I could reproduce the problem with >>> Core i5 M 540 + 8GB RAM machine. >>>=20 >>> Let consider how to debug. >>=20 >> I found the cause. I'll push the patch shortly. >> Thanks! >=20 > Please try: > cygwin 3.6.0-0.71.gb160b690b6ac (TEST) >=20 > --=20 > Takashi Yano >=20 > --=20 > 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