Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Samuel Thibault cc: cygwin AT cygwin DOT com Subject: Re: zsh: command not found => hangs In-Reply-To: <20050825220454.GR7662@bouh.ens-lyon.fr> Message-ID: References: <20050823205318 DOT GF6716 AT bouh DOT ens-lyon DOT fr> <20050825001137 DOT GI7338 AT bouh DOT ens-lyon DOT fr> <20050825220454 DOT GR7662 AT bouh DOT ens-lyon DOT fr> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811071-641527655-1125011433=:19032" Content-ID: X-IsSubscribed: yes ---1463811071-641527655-1125011433=:19032 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: 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 or "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--