delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/12/21/05:47:29

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BLAlTh11910442
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 4BLAlTh11910442
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=EWAZthBi
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2E453858432
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1734778048;
bh=0oawHySeeUFUaBctAmAj6A1E5U1Rk2DNRWbHVpKMbwA=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=EWAZthBiI9CEjZFbXcUzy2VpyxoQAi8MBaSn6hP2QVo7U4icYAyAV6k2SM7J2u4aO
Ipp80Ju2vuCYzW2ul5pLUav4RXjx9iPpHk3c7lZQR2Pu6ga8++4wLfs1EBElJNCem/
lrPSoNkRM7LqgMfSzJSOr51NZB807SGhVOzzeXiE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 27C483858C35
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 27C483858C35
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734778024; cv=none;
b=Fl9nB6m6hYR54yMtcfwVE7pb3xxL9tf8zQVldBORcvMRPh3P7SgEJMWMu/tJEAsoyeDeE94fmFdwX03TgRXj+00Vkkfje2hBRxf29Uxk1gvRHMA0yb8RvcqjRHUubPvgmvObwEVIT02EjQidiU9F5Uuk1cBEaGt/djMCBdSHVxo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1734778024; c=relaxed/simple;
bh=7aT41z6LHzOsPozy9HWUKZ+GOtKDNTSmkRBp/2uNFII=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=SSq3dHlsIxM19AQjOtx1lY6v6ZVgTRDL13rLC8LquVcQDZAMbUFtyyuWNkT5TsUb1sK+3bPWkMPURGsPExEQsUKGI7ubM2QvRDrhHmmDwJX0L+Abd1lsx03dLFU/5q+zY3qPB3Ma915EuGbPzJqatVRGp74daNWxBJf4YRmgQag=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27C483858C35
Date: Sat, 21 Dec 2024 19:47:01 +0900
To: cygwin AT cygwin DOT com
Subject: Re: zsh (oh-my-zsh) hangs on cygwin-3.5.5-1
Message-Id: <20241221194701.cd7bf8d69fe99301acbf07a8@nifty.ne.jp>
In-Reply-To: <20241221194059.ce84fac7b597eb86d3e87869@nifty.ne.jp>
References: <CAA3frXQRAPPXXfXd9P_W+crUsAARm-nWJasewPDVO7DNp5S9Zg AT mail DOT gmail DOT com>
<20241221194059 DOT ce84fac7b597eb86d3e87869 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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>

On Sat, 21 Dec 2024 19:40:59 +0900
Takashi Yano wrote:
> On Sat, 21 Dec 2024 12:30:02 +0900
> Daisuke Fujimura wrote:
> > Sometimes the prompt does not return.
> > 
> > $ ps
> > PID PPID PGID WINPID TTY UID STIME COMMAND
> > 378 294 378 5544 pty0 197609 11:26:16 /usr/bin/ps
> > 351 1 294 6552 pty0 197609 10:13:07 /usr/bin/zsh
> > 293 1 293 4984 ? 197609 10:13:03 /usr/bin/mintty
> > 294 293 294 2840 pty0 197609 10:13:04 /usr/bin/zsh
> > $
> > # Pressing enter only without typing anything may not return a prompt.
> > (Send SIGINT by Ctrl-C)
> > $ ps
> > PID PPID PGID WINPID TTY UID STIME COMMAND
> > 351 1 294 6552 pty0 197609 10:13:07 /usr/bin/zsh
> > 407 294 407 1976 pty0 197609 11:26:24 /usr/bin/ps
> > 293 1 293 4984 ? 197609 10:13:03 /usr/bin/mintty
> > 404 1 294 9660 pty0 197609 11:26:19 /usr/bin/zsh
> > 294 293 294 2840 pty0 197609 10:13:04 /usr/bin/zsh
> > 
> > 
> > $ zsh --version
> > zsh 5.8 (x86_64-pc-cygwin)
> > 
> > $ uname -srvmpio
> > CYGWIN_NT-10.0-22000 3.5.5-1.x86_64 2024-12-20 16:19 UTC x86_64
> > unknown unknown Cygwin
> > 
> > $ cd /path/to/oh-my-zsh
> > $ git log --oneline -1
> > b9e73b4 (HEAD -> master, origin/master) docs(per-directory-history):
> > add variable docs (#12844)
> > 
> > Removing `source /path/to/oh-my-zsh/oh-my-zsh.sh` from `~/.zshrc` will
> > not cause such problems.
> > 
> > Cygwin-3.5.4-1 does not have this problem.
> 
> Could you please test if additional SIGCHLD can release hanging?
> kill -SIGCHLD <pid_of_hanging_zsh>

Oops!
s/SIGCHLD/CHLD/

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
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