delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/28/07:41:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authenticated: #14308112
Date: Sun, 28 Aug 2005 14:41:45 +0300
From: Pavel Tsekov <ptsekov AT gmx DOT net>
X-X-Sender: ptsekov AT mordor
To: cygwin AT cygwin DOT com
Subject: Re: zsh: command not found => hangs
In-Reply-To: <Pine.CYG.4.58.0508281417030.624@mordor>
Message-ID: <Pine.CYG.4.58.0508281435100.1892@mordor>
References: <20050823205318 DOT GF6716 AT bouh DOT ens-lyon DOT fr> <Pine DOT LNX DOT 4 DOT 60 DOT 0508241620460 DOT 19032 AT gremlin DOT fruitbat DOT org> <20050825001137 DOT GI7338 AT bouh DOT ens-lyon DOT fr> <Pine DOT LNX DOT 4 DOT 60 DOT 0508251406580 DOT 19032 AT gremlin DOT fruitbat DOT org> <20050825220454 DOT GR7662 AT bouh DOT ens-lyon DOT fr> <Pine DOT LNX DOT 4 DOT 60 DOT 0508251537490 DOT 19032 AT gremlin DOT fruitbat DOT org> <20050826005349 DOT GA4087 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT LNX DOT 4 DOT 60 DOT 0508261033310 DOT 19032 AT gremlin DOT fruitbat DOT org> <20050826191429 DOT GA2034 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT LNX DOT 4 DOT 60 DOT 0508261329430 DOT 19032 AT gremlin DOT fruitbat DOT org> <Pine DOT CYG DOT 4 DOT 58 DOT 0508281417030 DOT 624 AT mordor>
MIME-Version: 1.0
X-Y-GMX-Trusted: 0
X-IsSubscribed: yes

Hello,

On Sun, 28 Aug 2005, Pavel Tsekov wrote:

> First I determined (by using strace) the place in zsh where the hang
> occurs to be in or after zhandler() when it processes SIGCLD. Then I
> built debugging zsh and after debugging for a while it turned out that
> the hang occures after leaving the signal handler.

Some things I forget to mention. zsh is supposed to be sigsuspend-ed at
the time the signal handler is executed - this maybe obvious from the
backtrace but in any case I mention it. The second thing is that I was
able to reproduce this when connected via ssh to the Cygwin machine or
when I run zsh in rxvt window but not when in Cygwin console. Maybe pty
slows things a bit and that's why the "race" surfaces in these cases.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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