delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/25/20:01:28

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
Date: Thu, 25 Aug 2005 16:57:46 -0700 (PDT)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: zsh: command not found => hangs
In-Reply-To: <20050825220454.GR7662@bouh.ens-lyon.fr>
Message-ID: <Pine.LNX.4.60.0508251537490.19032@gremlin.fruitbat.org>
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>
MIME-Version: 1.0
X-IsSubscribed: yes

---1463811071-641527655-1125011433=:19032
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine DOT LNX DOT 4 DOT 60 DOT 0508251651341 DOT 19032 AT gremlin DOT fruitbat DOT org>

On Fri, 26 Aug 2005, Samuel Thibault wrote:

> Hi,
>
> Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a =E9crit :
>> On Thu, 25 Aug 2005, Samuel Thibault wrote:
>>> Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24).
>>> The current release version (2005/07/03) does work fine. I tried with
>>> previous snapshots, even 2005/07/05 fails...
>>
>> Wait, so the released version works, but the snapshot doesn't?
>
> Precisely.

Hmm... Okaaaaay (I wonder what cgf has done to the code *this* time :)

>> Do you have any network drives in your $PATH?
>
> None.
>
>> Hmmm... Well, I guess the only thing to do is run strace, make it fail
>> and send us the trace.
>
> It is available on
> http://dept-info.labri.fr/~thibault/zsh_strace
>
> See line 4808 in particular. zsh lays remains hung with the last line.

From the trace, wait4() is returning an errno =3D 10 (ECHILD) stating that
there's no child to wait for...

Earlier in the trace it looks like a possible race between the main and
a signal handler.  I'll look into zsh code to see what it does for this
type of wait4() return, but I'm thinking it's a race condition within the
cygwin code.

>> I'll just add that you should make sure you stop and restart any
>> cygwin services too.
>
> There was none, so ok :)
>
> Regards,
> Samuel
>
> --
> 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/
>

--=20
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

---1463811071-641527655-1125011433=:19032
Content-Type: text/plain; charset=us-ascii

--
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/
---1463811071-641527655-1125011433=:19032--

- Raw text -


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