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

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BLAgWXp1908691
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 4BLAgWXp1908691
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=Aw/2f4Ze
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE1213858401
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1734777750;
bh=Wc783bEXvVy0U4CkUpRxyUiZ5gwAg2g4GT+eA/WyymU=;
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=Aw/2f4Ze2WMxYcBGNtPsU6yhEbkqS0Hnb30rNt/SAtsr9lfe1d04oK6OH7flznisC
YmbwQpAjiDTaSWzIUorLhQmq01WQFycL9w+auca+hSItZj/Mqe7JguCSyoHcVqUgrG
n5WRpkprmgs3LXoVTbdHSEK8xRbaVNnr5WCRweyE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F0E563858D3C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F0E563858D3C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734777663; cv=none;
b=tCnJr366BYqzBnOu1qLjPokg2whpPHecWYoXTGlcrGrvQRK1/8WjgK9c4kA5gzxVWeWiu15N94Qd/HCFtTAlETDD9NaeeyoEG1WMaie1mClprjLye+nbXgBc1hj4q2Zjhs2Qav2sUK9/9RpIUvc9ug4h0TMQf0eOQ7SSqpamIow=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1734777663; c=relaxed/simple;
bh=4iO/YOLcg6y1YWOpLATk3IsijsIy0Hxqff27BhvhfBE=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=te/Z5Ba1XIYNlenX5I/EnIr/1Cu2tFhTKi5qAKCr+oWU+Q4zP8O6METeLVGLeaIWYNCQwT3ZokhFZia73YdAbbl9dqMGhNJaT1OBCtL+Zvu/3HgDTkZae/WwUosVeQ/wGMhPayJR/whglLt/Km9JGzOqsdEnGpabCJLAD488Lpc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0E563858D3C
Date: Sat, 21 Dec 2024 19:40:59 +0900
To: cygwin AT cygwin DOT com
Subject: Re: zsh (oh-my-zsh) hangs on cygwin-3.5.5-1
Message-Id: <20241221194059.ce84fac7b597eb86d3e87869@nifty.ne.jp>
In-Reply-To: <CAA3frXQRAPPXXfXd9P_W+crUsAARm-nWJasewPDVO7DNp5S9Zg@mail.gmail.com>
References: <CAA3frXQRAPPXXfXd9P_W+crUsAARm-nWJasewPDVO7DNp5S9Zg AT mail DOT gmail DOT com>
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 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>

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