DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 503Je08J1165965 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 503Je08J1165965 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=gEgQcj7R X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDF143858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735933199; bh=8oIA0wuOb3nS+Mt99Y1vYILOykrosbdr5ap54eWziBE=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=gEgQcj7RaiWG0Su4d3exCEZotXKeI45jxY7PHBJwH1AxzmsngLXX1hez/S13CUOk0 8Plida/reyBfGEuVltf7sR2OZz51z2Rz5dfqsEcqYaB0p+G/+FyyRk9Ixl4nDDXZ5L 9isTo/oJIuQZ/Iu8hnkBSLoPjFr66eo9unW9poRU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E6183858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E6183858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735933127; cv=none; b=lBxhYJopGTt47arj4qSXa/Pb/RhqzCqm4kDOKzerJtld6zPCNHYXJSU9HmWwM5apmWrkdPfebnvCOBosrO/GrnXWDpSrm189kItEng3R1KCZraGYHJUxSqPnFSkiRzuTuaQVM2fknxFbj7TwbooIpZ/NgVcrWH76Ibd8nD2qZPA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735933127; c=relaxed/simple; bh=GtCoZpBEFTMlo8Myw4Gnd3hkdLvxBatvxdhegZdCoOk=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=GLeFu4NIUNuCM2QGYXFdbeFKg1Uvj5IUKAhz7lYHhGFJqJukIcH4uzfW3HcgQySrEygZX5Ut7VoL5cekFVjiig1nXhQac/m80zb301ntEZ/pU1qvnWmzvOljRvUirf3ygvMT170bP7GUBNiYbfLPUm2lXJFsLnF5nsnfpyjv0pk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E6183858D20 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735933126; x=1736537926; 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=XM2HSgEnnAGM9ngn1QxGDn74c4mvcZJ868pzzoZNLBA=; b=WKWuR9yjdiffMYVqE8GFJ3lfycLisnru+e0bwhXMtOMZ9O5/OTnUdo6s5FHk/9jCcK jNSw5oqYIRZ5lgZXKMvG9xYgBFbK+vsEQ8aHUKLJIkZLq1zuBSMSqE9ybqRbe79I/Spk X3e+HC2hLD1/b63Qay6Pigt7CvuZWpP3Lu9d1SZqEjaQEyu1447Gvn8O8xpvlDMv8OH7 5594ITdbrW9+jqRi+nqHz+v2NnGS7TS2PnWTKFGsGXfJFjR429fbb/QLCZ+bcSqHGydt Hc6SomJ2bh7Jk7kWHV1Yo1NN50tR64PkoP6Xnq6214Xm2MPBZvcS6HtOlalTlietXySa i8uQ== X-Forwarded-Encrypted: i=1; AJvYcCXAu+WoaFvhl5PTnbYgl7qLbNfZr64ggPgzu42gFvL6LIztecq4z9CAmSubiO4EU0dd58HExv0=@cygwin.com X-Gm-Message-State: AOJu0YyJAStOuPqtMCDjxus3/wfHX67fHBoYaiEWzVP/Xzg8+qIXw4Qc pJ9rYtitrnwYx6ani7BPSlcJ9l/GoGNalFpQcZOaqckZ8tXeIQEO83Gn5j+RmChHDJX+02k+M9N gCm/BtmOeD3vfH813ZuEMtX3PLT+WyTDC X-Gm-Gg: ASbGncv+3XgJjpVkAkQKCUhx2u7G74MpbJOeQFu3kIKJDitBBRksBQ7MWwglX/i4pqD olG/M4TyJjLWsZntbzIR9wHs6SNbbe1xh6vg= X-Google-Smtp-Source: AGHT+IEXbvDi+Ia/Ahd4xcFmmFZ+6zQQuS8Tyv3C2/qZpuhAxDvLK9q5G10FO5acfSW+V0+PGVzmSYPY8tQmbwBqQpY= X-Received: by 2002:a05:6a21:e96:b0:1e1:a5be:299f with SMTP id adf61e73a8af0-1e5e082f930mr81519543637.43.1735933126357; Fri, 03 Jan 2025 11:38:46 -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> In-Reply-To: <66233ccc-7074-4c95-bb19-6c6c5092f94f@gmail.com> Date: Fri, 3 Jan 2025 14:38:35 -0500 Message-ID: Subject: Re: random hangs To: Marco Atzeri Cc: Robert Terzi , cygwin AT cygwin DOT com 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 Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 503Je08J1165965 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