DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 503K3GpY1210730 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 503K3GpY1210730 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=DlumM2Nx X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35CD83858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735934595; bh=s+UY6AlJiZiYyRuzTxHiZ+DeN3oWDftsMWIC0YY/oe0=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=DlumM2NxE3qg+fc1H2qTF7NqelH9QkJpXDQM4AaNvzSoUUe3XG0YLkSioZoUKMANN ao+AWomD7/Ni+tyk7WuWEZDCVZYFp/UqN9oODsNUbZau6paIA9uk8swbvdHohx7F2v TAo1eEs/mmvgyKzOyTx8KLajCN7ODDqjDCeDtZts= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B3A03858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9B3A03858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735934531; cv=none; b=C7ucqTf3cFWjhOg1mS+J9nIO2dfwfVekkkhcavoWPPE5WgvOMRTBSaGvvS0+fXY4bFRsZ8ev5cHsaXdjuE65xXQkcJSDhW6EnseT7Z2i12Ca++qfDwVPTwghJYZ1NNrY9OzB/uYvy/USWh6NouAw6G3VNy1ess3mbCkUEHiowuY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735934531; c=relaxed/simple; bh=f1fOLftViLsyav+E7uO6g6/5tLsaH5TQ8ELo1Tshqp0=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=FzvjkjflqEJKQpdakHqIpGzLeUgO/HJXNMf2iASJ6m3+QVQngGwvO8rQnF/xBbIDjwZrNAetHQ/AnFuG4K2TKULdKWXvDxv7qKYqXLWlUAhfQwf2yAAjrQ7zWptiBcJvJfoX7NNTC5P+cB18BCl26yibQ7PXuwJ8MxKUichGGcg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B3A03858D20 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735934531; x=1736539331; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+h5bHBNN2/l8hOa/BGXiJTf4J+SlFgtYBsiDD545TRs=; b=kkbm6z5QTfg1YIdVcIXirgg565uon8dOWKsi37umVLOLsgBhLkzgFEg7T9uxSFZaw+ +kGxooLZpmWfjoqmlvlCyy9xRHYPnFtdOe1IBG15PofMOF1DCRFUvDH+/o5ghXyVEhX4 LTf2Fv+yTB4ev8BVQ/TNUAAJZyeTuvIrUg6L90t22l56X4UKfBqehvFOp4WgY9FKKYx0 GBobwGMfVzZHjMsxo/LMHdjRcOn7sQR3iWPCmCCwreA24q5hYD6NX+zMh7dlm7+xqMdU NHVwx433Rd3WPsCPZofvg5YETIGLQC89dedKQo+stcMPN4qU8RA/HLysN1tx8j8M1HWK LUPw== X-Forwarded-Encrypted: i=1; AJvYcCWaBdYhsSgUj8yAujD1igTYVQOSSIs64q2pUjvTdKm3Wkf0/7VPAt9+FJVHNDdeHM7jN2sZ0yI=@cygwin.com X-Gm-Message-State: AOJu0YxkJFZ8t5vRlRWb+qs84+5LzH5SF+05PWNFdqoIEt7pjJQR0ORj KDurpJO2kgL0VRcKJKg7xTL2yOMHB3O+vOaGRqvn/GmJXj9EtsSkYTj4zxuSXKkcV8qEBbnRILe tGI13xhMOsx3EZPPDwHNK+GoAJcs= X-Gm-Gg: ASbGncsWcwUSuR864Me8Tjc+VJpLb0+l/MxU3F+QI9d4j4+Ep6znsukUVmqW8GxuEju +5ZKkdr22qIgqHSKwVuWXBHq7+Np06NWf8bg= X-Google-Smtp-Source: AGHT+IEfPzCuKrH2tUw4vDe7mBtDkWcaJx3LGeTlMZRpMruRavUkVhEwtLEam1eEAhsHBNxa2cars2u3c0rYXTMjoVg= X-Received: by 2002:a05:6a20:7f8a:b0:1e3:e6f3:6372 with SMTP id adf61e73a8af0-1e5e07bc390mr72447321637.27.1735934530538; Fri, 03 Jan 2025 12:02:10 -0800 (PST) MIME-Version: 1.0 References: <6aa017e0-b333-4c0e-affa-78c8777372a5 AT gmail DOT com> <1b894ce0-ee20-4408-95ec-54202d0721bc AT r-t DOT org> <7cdf5283-5507-4d35-aec6-a4bbab33ad48 AT r-t DOT org> <5b617762-38fd-4897-afff-219b92915b9f AT r-t DOT org> <66233ccc-7074-4c95-bb19-6c6c5092f94f AT gmail DOT com> <933a5502-c0c4-f149-70ba-89421ae893a7 AT jdrake DOT com> In-Reply-To: <933a5502-c0c4-f149-70ba-89421ae893a7@jdrake.com> Date: Fri, 3 Jan 2025 15:01:59 -0500 Message-ID: Subject: Re: random hangs To: Jeremy Drake X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Cook via Cygwin Reply-To: Michael Cook Cc: Robert Terzi , cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 503K3GpY1210730 ok, super. I've just now downgraded to 3.5.4. The scripts that were previously hanging have not yet reproduced the hanging problem. On Fri, Jan 3, 2025 at 2:45 PM Jeremy Drake wrote: > There are known (and as yet unknown) hang issues with cygwin 3.5.5, the > known being in signal handling. You might try with cygwin 3.5.4 to see if > your hang issues go away. That might help elimiate python as the culprit. > > On Fri, 3 Jan 2025, Michael Cook via Cygwin wrote: > > > The hangs I've looked at were when a Python script was using the > > `subprocess` module to run external commands like `stty size` and > `conan`. > > May very well not be a Python issue at all but instead some kind of > deeper > > Cygwin thing. > > > > One path forward might be to change this "couldn't interrupt. trying > again" > > loop to give up eventually, say after 100 tries. That might lead to a > > greater understanding of what's happening? > > > > On Fri, Jan 3, 2025 at 2:21 PM Marco Atzeri > wrote: > > > > > On 03/01/2025 18:31, Michael Cook via Cygwin wrote: > > > > I'm seeing hangs at the moment in a reproducible way. > > > > > > > > One of the hung processes is stty.exe. > > > > I attached with strace and saw the following three messages being > rapidly > > > > repeated: > > > > > > > > 64 115520392 [sig] stty 20375 sigpacket::setup_handler: > suspending > > > > thread, tls 0x7FFFFCE00, _main_tls 0x7FFFFCE00 > > > > 77 115520469 [sig] stty 20375 _cygtls::inside_kernel: pc > > > 0x7FF91290D574, > > > > h 0x7FF912870000, inside_kernel 1 > > > > 66 115520535 [sig] stty 20375 sigpacket::setup_handler: couldn't > > > > interrupt. trying again. > > > > > > > > Is this interesting? > > > > > > > > The command was simply `stty size`. > > > > > > > > Michael > > > > > > > > > > how to reproduce as `stty size` as it is not a python command ? > > > Or are you saying that you see general cygwin hang issue ? > > > > > > Regards > > > Marco > > > > > > > > > > > > > > > > > > > > > > > > > -- > > 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 > > > > -- > Paul's Law: > In America, it's not how much an item costs, it's how much you > save. -- 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