delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/03/14:46:28

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 503JkRhT1177545
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 503JkRhT1177545
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=apKNrN3w
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECA893858D28
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1735933587;
bh=pr8Wl72FSGZ/jXGR6aY0lv+IMHCE1z/iDQJOUbuVgdU=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=apKNrN3wbTDlaj/Gyxehp4kBcCRKIwiliNOppy9FSrLKgoLiJlxbNybu9mUU6ZIN0
CrqzwkDZ3al8hb8wRUwoNwbYWJ841/WeYEXkD1zGlceSGqLWJRF1+l+8TzXPwUPf+V
HqteS2JLeh0QYCvBAAVaFj4qIrJpElSiR8nlVlgs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E60E3858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E60E3858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735933524; cv=none;
b=h398VmeqVJqLBAXSb2c843GXrK3gDZpkYC3CCTs5DQ3TRwfE4SliX0JvFAaoPTvbk/GipPTBkFYX0dB4vcwz2vHFfUGrr2ttun/0JJ5cs8MrLj211hY8Fyylp7wOF4CaYPsMuY2y2q1fq6Hs1eUkHZKxTd56yNxal5H/8CTnJ8s=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1735933524; c=relaxed/simple;
bh=5EMU7VgZv+ow06ktuDHllDN6zY0ZunyPZkBXHl4wXi8=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=EdMzlZheCWf7D8+xin3WR4cnrw2CXFzG2ohWDTMupOtqVU8bJwU0oS7IRfPDIADdSmqIhmoaUXktzCf7Ovs7dBQwDGadOPQxC9LwLHpgykf1NrL3JSYNuw2B41hpVsDQGv7wqftykSNtWD5zHCvrFl864sP6fktrwvozn5/Kr0U=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E60E3858D20
Date: Fri, 3 Jan 2025 11:45:23 -0800 (PST)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Michael Cook <michael AT waxrat DOT com>
Subject: Re: random hangs
In-Reply-To: <CAAF84SXahGjhZUVRDxUWRYRAC=ZhkGZVzhA3GKYEB9DuD8sWmA@mail.gmail.com>
Message-ID: <933a5502-c0c4-f149-70ba-89421ae893a7@jdrake.com>
References: <6aa017e0-b333-4c0e-affa-78c8777372a5 AT gmail DOT com>
<1b894ce0-ee20-4408-95ec-54202d0721bc AT r-t DOT org>
<CAAF84SU_mL3OG-DzcntnjKj=Fqn8Y-6k6+xQWWym6CbmUKa38A AT mail DOT gmail DOT com>
<7cdf5283-5507-4d35-aec6-a4bbab33ad48 AT r-t DOT org>
<CAAF84SWwAwPTk6qsp-F6G8P+Lu_s=X-SjbMt66GM+gVScJaAWA AT mail DOT gmail DOT com>
<5b617762-38fd-4897-afff-219b92915b9f AT r-t DOT org>
<CAAF84SVUo4O2V8YHHDFMwEG_hNN1KsVETirf2p2mF-GLtam8DA AT mail DOT gmail DOT com>
<66233ccc-7074-4c95-bb19-6c6c5092f94f AT gmail DOT com>
<CAAF84SXahGjhZUVRDxUWRYRAC=ZhkGZVzhA3GKYEB9DuD8sWmA AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Cc: Robert Terzi <rct AT r-t DOT org>, cygwin AT cygwin DOT com
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 503JkRhT1177545

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 <marco DOT atzeri AT gmail DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019